This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] updated atomic configury


On Tue, 22 Nov 2011, Andrew MacLeod wrote:

> On 11/22/2011 10:32 AM, Joseph S. Myers wrote:
> > On Tue, 22 Nov 2011, Andrew MacLeod wrote:
> > 
> > > C currently doesn't have a char16_t and char32_t, so they aren't defined
> > It certainly does have those types, as typedefs defined in<uchar.h>  for
> > the same types as uint_least16_t and uint_least32_t.  And<stdatomic.h>  is
> > also required to define ATOMIC_CHAR16_T_LOCK_FREE and
> > ATOMIC_CHAR32_T_LOCK_FREE.
> but there isn't a stdatomic.h until we support C1x right? didnt we bail on

It still seems better to predefine the macros for those types, using 
char16_type_node and char32_type_node, using them initially for C++ and 
then later for C as well.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]