Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Smart Preprocessing

Smart Preprocessing
Thread Tools
Mac Elite
Join Date: Jan 2001
Location: New York
Status: Offline
Reply With Quote
May 20, 2002, 08:07 PM
 
What are the differences between smart preprocessing and basic preprocessing, and how do I specify in a makefile that I want to use one or the other?

Thanks,
David
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Virginia, US
Status: Offline
Reply With Quote
May 21, 2002, 04:33 PM
 
You don't. Basic preprocessing is a fallback for when the "smart" preprocessing can't parse esoteric (though quite valid) constructs that the regular GNU preprocessor can. The basic mode usually succeeds in these cases.

You can specify -no-cpp-precomp, which will use the GNU precompiler, which is pretty much like basic mode. You won't get the benefits of precompiled headers (speed mainly), but that's rarely a big problem.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:02 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2