Commit b0c231bb by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent e646d87b
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> 2003-06-17 Jason Merrill <jason@redhat.com>
PR c++/10929 PR c++/10929
......
...@@ -627,6 +627,17 @@ typedef char _Bool; ...@@ -627,6 +627,17 @@ typedef char _Bool;
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
LANG_HOOKS_MARK_TREE 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 */ #endif /* IN_GCC */
/* Note: not all uses of the `index' token (e.g. variable names and /* Note: not all uses of the `index' token (e.g. variable names and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment