From: Sandra Loosemore Date: Tue, 6 Jan 2015 02:29:02 +0000 (-0500) Subject: Revert parts of r219199. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0964f8458a88c8ce7ba37f6be05017933ac04fd0;p=gcc.git Revert parts of r219199. 2015-01-05 Sandra Loosemore Revert parts of r219199. gcc/ * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on . ([-Wtraditional]): Restore markup on . From-SVN: r219215 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87d60b3dc22..1b6c3be7f60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-01-05 Sandra Loosemore + + Revert parts of r219199. + * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on + . + ([-Wtraditional]): Restore markup on . + 2015-01-05 Trevor Saunders PR c++/31397 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c7a61b8fd53..c42898cd601 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2628,8 +2628,7 @@ by @option{-Wall}. Warn when a string or character literal is followed by a ud-suffix which does not begin with an underscore. As a conforming extension, GCC treats such suffixes as separate preprocessing tokens in order to maintain backwards -compatibility with code that uses formatting macros from -the standard header file @file{inttypes.h}. +compatibility with code that uses formatting macros from @code{}. For example: @smallexample @@ -4421,8 +4420,7 @@ The unary plus operator. The @samp{U} integer constant suffix, or the @samp{F} or @samp{L} floating-point constant suffixes. (Traditional C does support the @samp{L} suffix on integer constants.) Note, these suffixes appear in macros defined in the system -headers of most modern systems, e.g.@: the @samp{_MIN}/@samp{_MAX} macros in -@file{limits.h}. +headers of most modern systems, e.g.@: the @samp{_MIN}/@samp{_MAX} macros in @code{}. Use of these macros in user code might normally lead to spurious warnings, however GCC's integrated preprocessor has enough context to avoid warning in these cases.