diff options
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; |