Re: How to define a preprocessor macro. (SOLVED)
Re: How to define a preprocessor macro. (SOLVED)
- Subject: Re: How to define a preprocessor macro. (SOLVED)
- From: Luca Ciciriello <email@hidden>
- Date: Wed, 4 Feb 2009 13:59:21 +0100
Ok I'm a big stupid.
I've set the preprocessing macro in release configuration and build in
debug configuration.
Please forgive my distraction.
Luca.
On Feb 4, 2009, at 1:26 PM, Luca Ciciriello wrote:
Hi all.
I've a little problem. In Xcode 3.1.2, in the section "Preprocessor
macros" I've typed _CASEINSENSITIVE. Then in my C++ code I use the
following discriminator:
#ifdef _CASEINSENSITIVE
do something
#else
do something else
#endif
Well, my compiler (GCC 4.2) seems to ignore the first branch and
then it execute the second branch.
I've made the setting of the macro in the project options and in the
target option.
That's all.
Thanks in advance for any help.
Luca.
_______________________________________________
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
_______________________________________________
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