Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* cxx -E [blah].h generates no output
@ 2001-11-23  4:47 Albert Chin-A-Young
  2001-11-24  0:08 ` Holger Rasch
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Chin-A-Young @ 2001-11-23  4:47 UTC (permalink / raw)


Installed the latest C++ compiler:
  $ cxx -V
  Compaq C++ V6.3-018 for Compaq Tru64 UNIX V5.0A (Rev. 1094)

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

-- 
albert chin (china at thewrittenword dot com)


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

* Re: cxx -E [blah].h generates no output
  2001-11-23  4:47 cxx -E [blah].h generates no output Albert Chin-A-Young
@ 2001-11-24  0:08 ` Holger Rasch
  0 siblings, 0 replies; 2+ messages in thread
From: Holger Rasch @ 2001-11-24  0:08 UTC (permalink / raw)


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


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

end of thread, other threads:[~2001-11-24  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-23  4:47 cxx -E [blah].h generates no output Albert Chin-A-Young
2001-11-24  0:08 ` Holger Rasch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox