-pch option always causes compiler to crash, or other strange errors

jdictos
Total Points:
200
Status Points:
150
Green Belt
June 1, 2009 2:12 PM PDT
Rate
 
#2 Reply to #1

I'm a little confused, when you say "the microsoft compiler works fine", do you mean gcc?  MS doesn't have a compiler for Mac that I'm aware of.  Also, if you can post some sort of reproducible test case that would help immensely.  Also, are you using XCode or the command line for your build?

Thanks!

Dale


Guess I should've clarified, this same code base compiles fine on our windows (same code base basically). We use the intel compiler for our linux, and mac osx compilation of this same code base. Both linux and mac basically blow up whenever we try to use the -pch option. We've tried using all sorts of combinations of command line options, including manually creating pch headers using the -pch-create option, and the -pch-use options. No amount of fiddling makes it work. Oh and we've read the docs you guys have about pch headers as well, using #pragma hdrstop to prevent pre-compiled headers from being created, etc, all to no avail.

I'm not using xcode, all from the command line with our own build process.

I'll try to reproduce this with a simple test case, but even if I can't duplicate it with a simple test case, its gotta be pretty obvious to you guys that there's something wrong with pre-compiled header support in this compiler, given all the postings on this subject.

Are there any beta builds I can try out that address pch issues? Do you have any fixes in the pipeline for pch issues?

-Jason


Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100769 posts to date.
In the past 24 hours, we have 28 new thread(s) 129 new posts(s), and 184 new user(s).

In the past 3 days, the most popular thread for everyone has been Implicite multithreading ??? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99