2002-07-26 Neil Booth <neil@daikokuya.co.uk>
+ * doc/cppopts.texi: Update.
+
+2002-07-26 Neil Booth <neil@daikokuya.co.uk>
+
* cppmacro.c (_cpp_create_definition): Don't attempt redefinition
warnings on assertions.
Built-in macros, macros defined on the command line, and macros
defined in include files are not warned about.
+@strong{Note:} If a macro is actually used, but only used in skipped
+conditional blocks, then CPP will report it as unused. To avoid the
+warning in such a case, you might improve the scope of the macro's
+definition by, for example, moving it into the first skipped block.
+Alternatively, you could provide a dummy use with something like:
+
+@smallexample
+#if defined the_macro_causing_the_warning
+#endif
+@end smallexample
+
@item -Wendif-labels
@opindex Wendif-labels
Warn whenever an @samp{#else} or an @samp{#endif} are followed by text.
+2002-07-26 Neil Booth <neil@daikokuya.co.uk>
+
+ * gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/Wunused.c: Add test
+ for documented behaviour.
+
2002-07-25 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: Skip this test on