diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-06-18 00:45:03 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-06-18 00:45:03 +0000 |
commit | b0c231bb70dc05847c7ea375ae4ffd78219e19aa (patch) | |
tree | b54872bcbdf0139669475e42b8846ed417b91167 /gcc | |
parent | e646d87b0acd19de1754691d0723584dacb73f97 (diff) | |
download | gcc-b0c231bb70dc05847c7ea375ae4ffd78219e19aa.zip gcc-b0c231bb70dc05847c7ea375ae4ffd78219e19aa.tar.gz gcc-b0c231bb70dc05847c7ea375ae4ffd78219e19aa.tar.bz2 |
system.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros.
* system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
libiberty macros.
From-SVN: r68131
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/system.h | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48c7c7c..98ee56c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS, + VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these + libiberty macros. + 2003-06-17 Jason Merrill <jason@redhat.com> PR c++/10929 diff --git a/gcc/system.h b/gcc/system.h index c8f38fb..3214f7a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -627,6 +627,17 @@ typedef char _Bool; #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ LANG_HOOKS_MARK_TREE +/* Libiberty macros that are no longer used in GCC. */ +#undef ANSI_PROTOTYPES +#undef PTR_CONST +#undef LONG_DOUBLE +#undef VPARAMS +#undef VA_OPEN +#undef VA_FIXEDARG +#undef VA_CLOSE +#undef VA_START + #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE VPARAMS VA_OPEN \ + VA_FIXEDARG VA_CLOSE VA_START #endif /* IN_GCC */ /* Note: not all uses of the `index' token (e.g. variable names and |