aboutsummaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 567c2a2..f1b06497 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -1692,6 +1692,12 @@ A @code{switch} statement has an operand of type @code{long}.
@item
A non-@code{static} function declaration follows a @code{static} one.
This construct is not accepted by some traditional C compilers.
+
+@item
+The ANSI type of an integer constant has a different width or
+signedness from its traditional type. This warning is only issued if
+the base of the constant is ten. I.e. hexadecimal or octal values, which
+typically represent bit patterns, are not warned about.
@end itemize
@item -Wundef