-
- Downloads
Add a new flag...
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. From-SVN: r66972
Showing
- gcc/ChangeLog 9 additions, 0 deletionsgcc/ChangeLog
- gcc/c-common.c 4 additions, 0 deletionsgcc/c-common.c
- gcc/c-common.h 4 additions, 0 deletionsgcc/c-common.h
- gcc/c-opts.c 5 additions, 0 deletionsgcc/c-opts.c
- gcc/cp/ChangeLog 6 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/lang-options.h 3 additions, 0 deletionsgcc/cp/lang-options.h
- gcc/cp/typeck.c 2 additions, 1 deletiongcc/cp/typeck.c
- gcc/doc/invoke.texi 16 additions, 0 deletionsgcc/doc/invoke.texi
- gcc/testsuite/g++.dg/other/offsetof3.C 15 additions, 0 deletionsgcc/testsuite/g++.dg/other/offsetof3.C
- gcc/testsuite/g++.dg/other/offsetof4.C 15 additions, 0 deletionsgcc/testsuite/g++.dg/other/offsetof4.C
Loading
Please register or sign in to comment