• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to output preprocessor listing for a precompiled header?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: (no subject)
  • Next by Date: <incomplete type> for variables
  • Previous by thread: Re: Code change not updating code completion
  • Next by thread: <incomplete type> for variables
  • Index(es):
    • Date
    • Thread