This is the mail archive of the gcc@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]

Behavior of -Wtraditional WRT numeric suffixes and docs


Neil,

IIRC, one of your recent patches made the following paragraph in the
docs obsolete when describing items warned about in -Wtraditional, (at
least when using the integrated preprocessor.)  True?

 > @item
 > The `U' integer constant suffix, or the `F' or `L' floating point
 > constant suffixes.  (Traditonal C does support the `L' suffix on
 > integer constants.)  Note, these suffixes appear in macros defined
 > in the system headers of most modern systems, e.g. the _MIN/_MAX
 > macros in limits.h.  Use of these macros can lead to spurious
 > warnings as they do not necessarily reflect whether the code in
 > question is any less portable to traditional C given that suitable
 > backup definitions are provided.

I think everything after the work "Note," no longer applies if you use
the integrated cpp.

Should we just remove it or add the caveat about when it applies?

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


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