From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d3b1257b8d617715 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-11-23 16:12:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed01.sul.t-online.de!t-online.de!dns.phoenix-ag.de!news.uni-stuttgart.de!uniol!news From: "Holger Rasch" Newsgroups: comp.unix.tru64 Subject: Re: cxx -E [blah].h generates no output Date: 24 Nov 2001 00:08:54 GMT Organization: C. v. Ossietzky Universitaet Oldenburg - Fachbereich Informatik Message-ID: <9tmoem$b1u@news.Informatik.Uni-Oldenburg.DE> References: NNTP-Posting-Host: fastbsd.informatik.uni-oldenburg.de X-Newsreader: NN version 6.5.5 (NOV) Xref: archiver1.google.com comp.unix.tru64:5888 Hi, Albert Chin-A-Young 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