aboutsummaryrefslogtreecommitdiff
path: root/libcc1
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-07-16 18:56:18 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-07-30 23:44:31 +0200
commit873b45d39c14fee6b68032b83ea6bfbc023e3379 (patch)
tree289a1fe87fe637c99fb0211dc554638663754220 /libcc1
parentdfc420f8d4492dbf5f45df4fecf93cb9645c0d7b (diff)
downloadgcc-873b45d39c14fee6b68032b83ea6bfbc023e3379.zip
gcc-873b45d39c14fee6b68032b83ea6bfbc023e3379.tar.gz
gcc-873b45d39c14fee6b68032b83ea6bfbc023e3379.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 'libcc1')
0 files changed, 0 insertions, 0 deletions