This is the mail archive of the libc-alpha@sourceware.org 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]

Re: [PATCH] stdint: Use __extension__ on long long constants



Quoting Florian Weimer <fweimer@redhat.com>:

I think users who use <stdint.h> in C89 mode expect such warnings
because such usages cannot be made compatible with C89 compilers
without long long support.

Existing practice suggests differently. Every usage of 'long long' in the headers under stdlib/ is preceded by an __extention__ keyword to suppress those warnings. This was the only instance I could find of a stdlib header not suppressing that warning.


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