Preprocessing within @"SOMEDEFINEDSTRING"
Preprocessing within @"SOMEDEFINEDSTRING"
- Subject: Preprocessing within @"SOMEDEFINEDSTRING"
- From: Daniel Luis dos Santos <email@hidden>
- Date: Fri, 20 Mar 2009 17:55:38 +0000
Hello,
I am trying to do the thing in the subject. I define a constant with
#define SOMECONST aStringWithoutWhiteSpace
, later in the code I have a call to a C function defined in a .m that
is called like :
aFunctionCall(@"SOMECONST")
The method ends up creating a directory in which the last path
component is the function argument. The #define is not preprocessed
and instead of having a directory named after the constant I get the
constant name in the path.
Shouldn't the preprocessor see this constant before compiling and
replace it ?
Help!
_______________________________________________
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