This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

[PATCH] 'not' in include/time.h


Good day,

File include/time.h defines enum ptime_locale_status with one
of the enumerators named 'not'. Unfortunately 'not' is a c++
keyword so time.h is not valid c++. I realize that this file
is internal to glibc and strictly speaking has nothing to do
with c++ but some of us (notably me) do strange things and
would like to be able to compile some internals of glibc with 
c++ compiler. 

If it is not too much to ask, I attached a patch that changes 
'not' to 'neither' in all related files (just three of them).
I realize that 'no' would perhaps be a better substitution but
unfortunately it would conflict with sysdeps/pthread/aio_misc.h. 

thanks,
-boris

Attachment: not.patch
Description: Text document

Attachment: signature.asc
Description: Digital signature


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