diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-07-16 18:56:18 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:20:19 -0300 |
commit | f331392eddf9ffdba1aa479f82702808d506ec15 (patch) | |
tree | 31949b66d83fa7d0d46f7ce4989df98ac4ca43ea /gcc/cp/constexpr.c | |
parent | 098f422f5bfdab13092de8a04ccfcc6d02f57cc4 (diff) | |
download | gcc-f331392eddf9ffdba1aa479f82702808d506ec15.zip gcc-f331392eddf9ffdba1aa479f82702808d506ec15.tar.gz gcc-f331392eddf9ffdba1aa479f82702808d506ec15.tar.bz2 |
d: Add -Wvarargs warning flag to the D front-end
The D front-end has C-style variadic functions and va_start/va_arg, so
it is right to also have warnings for inproper use.
gcc/d/ChangeLog:
PR d/96154
* gdc.texi (Warnings): Document -Wvarargs.
* lang.opt: Add -Wvarargs
gcc/testsuite/ChangeLog:
PR d/96154
* gdc.dg/pr96154a.d: New test.
* gdc.dg/pr96154b.d: New test.
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions