summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/sql/SQLInput.java
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-30 11:43:57 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-30 11:43:57 +0000
commit7edb10625104be0ca3dcce2ff1a29bf1e11bf047 (patch)
treee79bab429f035c8a49182501433c80c03c767993 /libjava/classpath/java/sql/SQLInput.java
parent611f1003dbf4ebb341c2eda0fcc0e058c421eb6b (diff)
downloadppe42-gcc-7edb10625104be0ca3dcce2ff1a29bf1e11bf047.tar.gz
ppe42-gcc-7edb10625104be0ca3dcce2ff1a29bf1e11bf047.zip
Add -Wvarargs option
Several warnings related to questionable usage cases of variadic function related macros (like va_start) could not be controlled by any warning-related macro. Fixed thus, by introducing the -Wvarargs option. Tested on x86_64-unknown-linux-gnu against trunk. gcc/c-family/ * c.opt (Wvarargs): Define new option. gcc/ * builtins.c (fold_builtin_next_arg): Use OPT_Wvarargs as an argument for the various warning_at calls. gcc/doc/ * invoke.texi: Update the documentation. gcc/testsuite/ * c-c++-common/Wvarargs.c: New test case. * c-c++-common/Wvarargs-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/sql/SQLInput.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud