C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] C and C++ Compatibility Nov Agenda

From: Hubert Tong <hubert.reinterpretcast_at_[hidden]>
Date: Fri, 5 Nov 2021 13:51:55 -0400
Just to be concrete about the "alignas observation":

extern long _Alignas(32) unsigned x; // okay in C (or C++ extension)
extern long alignas(32) unsigned x; // error in C++

If users compiling as C can get the C++ restrictions applied when using the
"alignas" spelling, then it might help them by giving them faster feedback.

-- HT

On Fri, Nov 5, 2021 at 8:31 AM Aaron Ballman via Liaison <
liaison_at_[hidden]> wrote:

> Reminder: there will be an SG22 telecon today in about 4.5 hours (at
> 17:00 UTC
> https://www.timeanddate.com/worldclock/converter.html?iso=20211105T170000&p1=tz_pt&p2=tz_mt&p3=tz_ct&p4=tz_et&p5=1440&p6=tz_cet
> ).
> Please see the agenda below for details.
>
> Hope to see you there!
>
> ~Aaron
>
> On Mon, Oct 25, 2021 at 9:44 AM Aaron Ballman
> <compatibility.sg.chair_at_[hidden]> wrote:
> >
> > Our next meeting will be on Fri Nov 5, 2021 at 17:00 UTC
> > (
> https://www.timeanddate.com/worldclock/converter.html?iso=20211105T170000&p1=tz_pt&p2=tz_mt&p3=tz_ct&p4=tz_et&p5=1440&p6=tz_cet
> ).
> >
> > You can join the meeting at https://iso.zoom.us/j/5513145100 with the
> > same password used as last time; please email me if you need the
> > password.
> >
> > We will be discussing the following papers:
> >
> > P2310R0 Revise spelling of keywords (https://wg21.link/p2310r0)
> > Suggests unifying the spelling of some keywords in C to match the same
> > spelling used in C++. The keywords involved are: _Alignas, _Alignof,
> > _Bool, _Static_assert, and _Thread_local. The author is especially
> > interested in hearing about existing semantic differences between C
> > and C++ with these keywords that may cause problems for users using
> > the proposed new keywords in a file compiled separately as C and C++.
> > The author would like people to have read WG14 N2850 _Thread_local for
> > better C++ interoperability with C
> > (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2850.pdf) as it
> > relates to P2310R0.
> >
> > P2338R1 (https://wg21.link/p2338r1) Freestanding Library: Character
> > primitives and the C library
> > Proposes requiring much of the C library (and C portions of the C++
> > library) to be available in freestanding implementations in C++. This
> > includes many of the character/string based functions (strcpy, memcpy,
> > etc). This paper was previously discussed at the June 2021 SG22
> > meeting. The author is especially interested in feedback around the
> > wchar_t functions.
> >
> > Thanks!
> >
> > ~Aaron
> _______________________________________________
> Liaison mailing list
> Liaison_at_[hidden]
> Subscription: https://lists.isocpp.org/mailman/listinfo.cgi/liaison
> Link to this post: http://lists.isocpp.org/liaison/2021/11/0899.php
>

Received on 2021-11-05 12:52:25