Re: iOS v OSX Compile
Re: iOS v OSX Compile
- Subject: Re: iOS v OSX Compile
- From: Alexander von Below <email@hidden>
- Date: Tue, 21 Aug 2012 07:50:22 +0000 (GMT)
Am 21. August 2012 um 02:32 schrieb Dan Korn <email@hidden>:
Why would use use the system include notation (angle brackets) for a
stdafx.h file on Windows? It's just as wrong there as on Mac. It's
not a system header on any platform, AFAIK.
Beats me, but obviously, Windows people think it is cool or reasonable to use angle brackets on stdafx.h. They all do it.
It is not unreasonable, considering Microsofts interpretation of the angle brackets:
Quoted form | This form instructs the preprocessor to look for include files in the same directory of the file that contains the #include statement, and then in the directories of any files that include (#include) that file. The preprocessor then searches along the path specified by the /I compiler option, then along paths specified by the INCLUDE environment variable. |
Angle-bracket form | This form instructs the preprocessor to search for include files first along the path specified by the /I compiler option, then, when compiling from the command line, along the path specified by the INCLUDE environment variable. |
Alex
_______________________________________________
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