This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog c-common.c c-common.h c-opts ...
- From: austern at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 19 May 2003 19:19:46 -0000
- Subject: gcc/gcc ChangeLog c-common.c c-common.h c-opts ...
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: austern@gcc.gnu.org 2003-05-19 19:19:46
Modified files:
gcc : ChangeLog c-common.c c-common.h c-opts.c
gcc/cp : ChangeLog lang-options.h typeck.c
gcc/doc : invoke.texi
Added files:
gcc/testsuite/g++.dg/other: offsetof3.C offsetof4.C
Log message:
Add a new flag, -W(no-)invalid-offsetof, to control whether or
not the compiler warns about incorrect use of the offsetof macro
in C++. By default the warning is on.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.17882&r2=1.17883
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&r1=1.416&r2=1.417
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&r1=1.179&r2=1.180
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3386&r2=1.3387
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/lang-options.h.diff?cvsroot=gcc&r1=1.46&r2=1.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.462&r2=1.463
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.279&r2=1.280
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/offsetof3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/offsetof4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1