diff options
author | Mike Stump <mrs@apple.com> | 2006-05-21 21:18:38 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-05-21 21:18:38 +0000 |
commit | 76ad5c100abf2fc733d5bc2f364f9ae58985e4cd (patch) | |
tree | e2e44acc067cb5e42134a270695d8b37c9155f98 /gcc | |
parent | 5d384034f71e99c29422e761942cb365365b9e43 (diff) | |
download | gcc-76ad5c100abf2fc733d5bc2f364f9ae58985e4cd.zip gcc-76ad5c100abf2fc733d5bc2f364f9ae58985e4cd.tar.gz gcc-76ad5c100abf2fc733d5bc2f364f9ae58985e4cd.tar.bz2 |
darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
* config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
(BAD2): Add.
From-SVN: r113961
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin-c.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4dc97fd..3bdeefb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-05-21 Mike Stump <mrs@apple.com> + + * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas. + (BAD2): Add. + 2006-05-21 David Edelsohn <edelsohn@gnu.org> * config/rs6000/rs6000.md (floatsitf2): Remove constraints. diff --git a/gcc/config/darwin-c.c b/gcc/config/darwin-c.c index 5317153..cecf2b0 100644 --- a/gcc/config/darwin-c.c +++ b/gcc/config/darwin-c.c @@ -37,7 +37,8 @@ Boston, MA 02110-1301, USA. */ /* Pragmas. */ -#define BAD(gmsgid) do { warning (0, gmsgid); return; } while (0) +#define BAD(gmsgid) do { warning (OPT_Wpragmas, gmsgid); return; } while (0) +#define BAD2(msgid, arg) do { warning (OPT_Wpragmas, msgid, arg); return; } while (0) static bool using_frameworks = false; |