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
This commit is contained in:
parent
392f673a0c
commit
c85faf41af
2 changed files with 16 additions and 1 deletions
|
@ -49,6 +49,18 @@ Wlong-long
|
|||
Ada
|
||||
; Documented for C
|
||||
|
||||
Wvariadic-macros
|
||||
Ada
|
||||
; Documented for C
|
||||
|
||||
Wold-style-definition
|
||||
Ada
|
||||
; Documented for C
|
||||
|
||||
Wmissing-format-attribute
|
||||
Ada
|
||||
; Documented for C
|
||||
|
||||
nostdinc
|
||||
Ada RejectNegative
|
||||
; Don't look for source files
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue