libcpp PR preprocessor/22168: * include/cpplib.h (struct cpp_options) <objc>: Update documentation. * expr.c (eval_token): Warn for use of assertions. * directives.c (directive_diagnostics): Warn about extensions. (DEPRECATED): New define. (DIRECTIVE_TABLE): Use it. gcc PR preprocessor/22168: * doc/cpp.texi (Top): Update menu. (Alternatives to Wrapper #ifndef): New node. (Other Directives): Document deprecation. (Obsolete Features): Remove menu. (Assertions): Merge node into Obsolete Features. (Obsolete once-only headers): Move earlier; rename to Alternatives to Wrapper #ifndef. * doc/cppopts.texi: Update. * c.opt (Wdeprecated): Enable for C and ObjC. * doc/invoke.texi (Option Summary): Move -Wno-deprecated. (C++ Dialect Options): Move -Wno-deprecated from here to... (Warning Options): ... here. gcc/testsuite PR preprocessor/22168: * gcc.dg/pch/import-2.hs: Add -Wno-deprecated. * gcc.dg/pch/import-1.hs: Add -Wno-deprecated. * gcc.dg/pch/import-2.c: Add -Wno-deprecated. * gcc.dg/pch/import-1.c: Add -Wno-deprecated. * gcc.dg/cpp/import2.c: Add -Wno-deprecated. * gcc.dg/cpp/import1.c: Add -Wno-deprecated. * gcc.dg/cpp/trad/assert3.c: Add -Wno-deprecated. * gcc.dg/cpp/trad/assert2.c: Add -Wno-deprecated. * gcc.dg/cpp/trad/assert1.c: Add -Wno-deprecated. * gcc.dg/cpp/ident.c: Add -Wno-deprecated. * gcc.dg/cpp/ident-1.c: Add -Wno-deprecated. * gcc.dg/cpp/extratokens.c: Add -Wno-deprecated. * gcc.dg/cpp/assert3.c: Add -Wno-deprecated. * gcc.dg/cpp/assert2.c: Add -Wno-deprecated. * gcc.dg/cpp/assert1.c: Add -Wno-deprecated. * gcc.dg/cpp/assert4.c: Compile with -ansi and not -pedantic. Add -Wno-deprecated. * gcc.dg/cpp/pr22168.c: New file. * gcc.dg/cpp/pr22168-2.c: New file. From-SVN: r135264
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Wunused.c | Loading commit data... | |
| Wunused.h | Loading commit data... | |
| __STDC__.c | Loading commit data... | |
| argcount.c | Loading commit data... | |
| assembler.S | Loading commit data... | |
| assert1.c | Loading commit data... | |
| assert2.c | Loading commit data... | |
| assert3.c | Loading commit data... | |
| builtins.c | Loading commit data... | |
| builtins.h | Loading commit data... | |
| cmdlne-C.c | Loading commit data... | |
| cmdlne-C2.c | Loading commit data... | |
| cmdlne-dD.c | Loading commit data... | |
| cmdlne-dM.c | Loading commit data... | |
| comment-2.c | Loading commit data... | |
| comment-3.c | Loading commit data... | |
| comment.c | Loading commit data... | |
| define.c | Loading commit data... | |
| defined.c | Loading commit data... | |
| directive.c | Loading commit data... | |
| escaped-eof.c | Loading commit data... | |
| escaped-nl.c | Loading commit data... | |
| funlike-2.c | Loading commit data... | |
| funlike-3.c | Loading commit data... | |
| funlike-4.c | Loading commit data... | |
| funlike-5.c | Loading commit data... | |
| funlike.c | Loading commit data... | |
| hash.c | Loading commit data... | |
| include.c | Loading commit data... | |
| literals-1.c | Loading commit data... | |
| literals-2.c | Loading commit data... | |
| maccom1.c | Loading commit data... | |
| maccom2.c | Loading commit data... | |
| maccom3.c | Loading commit data... | |
| maccom4.c | Loading commit data... | |
| maccom6.c | Loading commit data... | |
| macro.c | Loading commit data... | |
| macroargs.c | Loading commit data... | |
| mi1.c | Loading commit data... | |
| mi1c.h | Loading commit data... | |
| mi1nd.h | Loading commit data... | |
| mi1ndp.h | Loading commit data... | |
| mi1x.h | Loading commit data... | |
| mi2.c | Loading commit data... | |
| mi2a.h | Loading commit data... | |
| mi2b.h | Loading commit data... | |
| mi2c.h | Loading commit data... | |
| mi3.c | Loading commit data... | |
| mi3.def | Loading commit data... | |
| mi3.h | Loading commit data... | |
| mi4.c | Loading commit data... | |
| mi5.c | Loading commit data... | |
| mi6.c | Loading commit data... | |
| mi6a.h | Loading commit data... | |
| mi6b.h | Loading commit data... | |
| mi6c.h | Loading commit data... | |
| mi6d.h | Loading commit data... | |
| mi6e.h | Loading commit data... | |
| mi7.c | Loading commit data... | |
| mi7a.h | Loading commit data... | |
| mi7b.h | Loading commit data... | |
| null-drctv.c | Loading commit data... | |
| num-sign.c | Loading commit data... | |
| paste.c | Loading commit data... | |
| quote.c | Loading commit data... | |
| recurse-1.c | Loading commit data... | |
| recurse-2.c | Loading commit data... | |
| recurse-3.c | Loading commit data... | |
| redef1.c | Loading commit data... | |
| redef2.c | Loading commit data... | |
| strify.c | Loading commit data... | |
| trad.exp | Loading commit data... | |
| uchar.c | Loading commit data... | |
| xwin1.c | Loading commit data... |