public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Why is the -undef option removed from cpp.
@ 2000-06-29 13:52 H . J . Lu
  2000-06-29 14:27 ` Zack Weinberg
  0 siblings, 1 reply; 2+ messages in thread
From: H . J . Lu @ 2000-06-29 13:52 UTC (permalink / raw)
  To: gcc, gcc-bugs

The -undef option:

	-undef Do not predefine any nonstandard macros.

is removed from cpp in gcc 2.96. But XFree86 4.0 uses

#define RawCppCmd CppCmd -undef

As the result, many files generated by RawCppCmd are empty. Why is
it removed?

Thanks.


H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Why is the -undef option removed from cpp.
  2000-06-29 13:52 Why is the -undef option removed from cpp H . J . Lu
@ 2000-06-29 14:27 ` Zack Weinberg
  0 siblings, 0 replies; 2+ messages in thread
From: Zack Weinberg @ 2000-06-29 14:27 UTC (permalink / raw)
  To: H . J . Lu; +Cc: gcc, gcc-bugs

On Thu, Jun 29, 2000 at 01:52:29PM -0700, H . J . Lu wrote:
> The -undef option:
> 
> 	-undef Do not predefine any nonstandard macros.
> 
> is removed from cpp in gcc 2.96. But XFree86 4.0 uses
> 
> #define RawCppCmd CppCmd -undef
> 
> As the result, many files generated by RawCppCmd are empty. Why is
> it removed?

It is not removed.  Your installation is broken; you have CppCmd
pointing at an internal executable instead of the preprocessor.

zw

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-29 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-29 13:52 Why is the -undef option removed from cpp H . J . Lu
2000-06-29 14:27 ` Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).