From: "Holger Rasch" <Holger.Rasch@Informatik.Uni-Oldenburg.DE>
Subject: Re: cxx -E [blah].h generates no output
Date: 24 Nov 2001 00:08:54 GMT [thread overview]
Message-ID: <9tmoem$b1u@news.Informatik.Uni-Oldenburg.DE> (raw)
In-Reply-To: tvrl6teqmfn2e6@corp.supernews.com
Hi,
Albert Chin-A-Young <china@foo.com> writes:
[...]
>Does the following command generate no output because stdio.h is a C
>header file? If so, any way to get cxx -E to generate output even for
>C header files?
> $ cxx -E /usr/include/stdio.h
use 'cxx -E -x cxx /usr/include/stdio.h' to have the compiler treat
all input files as C++, regardless of their suffix. Without this
flag only '.hxx' is recognized as a C++ header.
Holger
prev parent reply other threads:[~2001-11-24 0:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-23 4:47 cxx -E [blah].h generates no output Albert Chin-A-Young
2001-11-24 0:08 ` Holger Rasch [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox