diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 22:17:54 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 22:17:54 +0000 |
commit | 7ff8db3160d75a769c2a811f799e957788c6151e (patch) | |
tree | 41ca6a27e407c630dc4967e1c13f17fe6e01bf14 /gcc/doc | |
parent | bcc1f37e9992f610b88da36d92b0f56919865172 (diff) | |
download | gcc-7ff8db3160d75a769c2a811f799e957788c6151e.tar.gz |
gcc/ChangeLog:
2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
* opth-gen.awk: Generate mapping from cpp message reasons to the
options that enable them.
* doc/options.texi (CppReason): Document.
gcc/c-family/ChangeLog:
2014-09-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c.opt: Add CppReason to various flags.
(Wdate-time): Re-sort.
* c-common.c: Include c-common.h earlier.
(struct reason_option_codes_t): Delete.
(c_option_controlling_cpp_error): Prefix global type and struct
with cpp_.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/options.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index df52cdbfab3..bcffdf86aaa 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -488,4 +488,9 @@ The state of this option should be kept in sync with the preprocessor option @var{var}. If this property is set, then properties @code{Var} and @code{Init} must be set as well. +@item CppReason(@var{CPP_W_Enum}) +This warning option corresponds to @code{cpplib.h} warning reason code +@var{CPP_W_Enum}. This should only be used for warning options of the +C-family front-ends. + @end table |