This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog c-opts.c c.opt cppinit.c cpp ...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 19 Feb 2004 22:47:26 -0000
- Subject: gcc/gcc ChangeLog c-opts.c c.opt cppinit.c cpp ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-02-19 22:47:26
Modified files:
gcc : ChangeLog c-opts.c c.opt cppinit.c cpplib.h
cppmacro.c
Log message:
* c-opts.c (warn_variadic_macros): New.
(c_common_handle_option): Set it.
(sanitize_cpp_opts): Copy it to cpp_opts.
* c.opt (Wvariadic-macros): New.
* cpplib.h (struct cpp_options): Add warn_variadic_macros.
* cppinit.c (cpp_create_reader): Initialize it.
* cppmacro.c (parse_params): Check it.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.14646.2.132&r2=1.14646.2.133
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.7.2.27&r2=1.7.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c.opt.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.11.2.6&r2=1.11.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.242.2.28&r2=1.242.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.224.2.23&r2=1.224.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.115.2.18&r2=1.115.2.19