How to output preprocessor listing for a precompiled header?
How to output preprocessor listing for a precompiled header?
- Subject: How to output preprocessor listing for a precompiled header?
- From: "Yves Poissant" <email@hidden>
- Date: Fri, 19 Aug 2005 14:23:48 -0400
- Organization: Hash Enterprises Inc.
Hi there,
I'm having a problem with an 'extern "C"' somewhere in a long tree of
included files which seems to leave the C linkage mode ON for a whole lot of
some of the included files. So the compiler reports multiple definition of
functions where it shouldn't.
I'm trying to trace where that faulty 'extern "C"' is located. So I would
like to output the preprocessor listing. So I right-click on the file,
selects "Preprocess", it compiles, I can see all the errors in the Build
window. But there is no .i file generated.
The last error in the build log is a "Parse error at end of input". That is
indicative of an open scope somewhere. And this may explain why I don't get
my .i file.
Is there any other way to get that preprocessing output?
BTW, I also tried the -E switch and although I don't get as many errors
(which is puzzling by itself) I still don't get a preprocessed file.
Yves
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden