This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Behavior of -Wtraditional WRT numeric suffixes and docs
- To: neil at daikokuya dot demon dot co dot uk
- Subject: Behavior of -Wtraditional WRT numeric suffixes and docs
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 12 Mar 2001 23:19:59 -0500 (EST)
- Cc: gcc at gcc dot gnu dot org
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