diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2006-02-15 10:33:16 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-02-15 10:33:16 +0100 |
commit | c85faf41afd31a3a9ef01ec71ca9b44b44c5f02f (patch) | |
tree | ba2a1434c6a95fbffc1f70b108fae52f958cf298 /gcc/ada/misc.c | |
parent | 392f673a0cbbc5f0d31836ad7f90df7d9eb9dd17 (diff) | |
download | gcc-c85faf41afd31a3a9ef01ec71ca9b44b44c5f02f.zip gcc-c85faf41afd31a3a9ef01ec71ca9b44b44c5f02f.tar.gz gcc-c85faf41afd31a3a9ef01ec71ca9b44b44c5f02f.tar.bz2 |
lang.opt: Wvariadic-macros: New option.
2006-02-13 Eric Botcazou <ebotcazou@adacore.com>
* lang.opt: Wvariadic-macros: New option.
Wold-style-definition: Likewise.
Wmissing-format-attribute: Likewise.
* misc.c (gnat_handle_option): New cases for -Wvariadic-macros,
-Wold-style-definition and -Wmissing-format-attribute.
From-SVN: r111037
Diffstat (limited to 'gcc/ada/misc.c')
-rw-r--r-- | gcc/ada/misc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index 0971808..d1ff2c5 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * Copyright (C) 1992-2005, Free Software Foundation, Inc. * + * Copyright (C) 1992-2006, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -283,6 +283,9 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED) case OPT_Wstrict_prototypes: case OPT_Wwrite_strings: case OPT_Wlong_long: + case OPT_Wvariadic_macros: + case OPT_Wold_style_definition: + case OPT_Wmissing_format_attribute: break; /* This is handled by the front-end. */ |