aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-01-05 21:29:02 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2015-01-05 21:29:02 -0500
commit0964f8458a88c8ce7ba37f6be05017933ac04fd0 (patch)
treec96e54711848413303081f064b56b097e88e7de9
parent5e731d2d164d8d31646d44d61a10e9150e090809 (diff)
downloadgcc-0964f8458a88c8ce7ba37f6be05017933ac04fd0.zip
gcc-0964f8458a88c8ce7ba37f6be05017933ac04fd0.tar.gz
gcc-0964f8458a88c8ce7ba37f6be05017933ac04fd0.tar.bz2
Revert parts of r219199.
2015-01-05 Sandra Loosemore <sandra@codesourcery.com> Revert parts of r219199. gcc/ * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on <inttypes.h>. ([-Wtraditional]): Restore markup on <limits.h>. From-SVN: r219215
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/doc/invoke.texi6
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87d60b3..1b6c3be 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
+
+ Revert parts of r219199.
+ * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
+ <inttypes.h>.
+ ([-Wtraditional]): Restore markup on <limits.h>.
+
2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
PR c++/31397
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index c7a61b8..c42898c 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{<inttypes.h>}.
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{<limits.h>}.
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.