On Oct 28, 2012, at 11:03 AM, Quincey Morris wrote:
> On Oct 28, 2012, at 10:37 , Kyle Sluder wrote:
>
>> No matter what you do, file a bug with the 3rd-party framework. Their macros
>> should not leak.
>
> The thing that bothers me is why macros should be substituting into method
> paramete
Quincey Morris wrote
No matter what you do, file a bug with the 3rd-party framework. Their macros
should not leak.
The thing that bothers me is why macros should be substituting into method
parameter names at all. It potentially brings *pieces* of method names into the
global symbol namespa
On Oct 28, 2012, at 11:03 AM, Quincey Morris
wrote:
> The thing that bothers me is why macros should be substituting into method
> parameter names at all.
The preprocessor barely knows anything about C syntax, let alone Obj-C.
Remember, it’s running before the parser — all it gets is a strea
On Oct 28, 2012, at 10:37 , Kyle Sluder wrote:
> No matter what you do, file a bug with the 3rd-party framework. Their macros
> should not leak.
The thing that bothers me is why macros should be substituting into method
parameter names at all. It potentially brings *pieces* of method names int
On Oct 28, 2012, at 10:23 AM, Paul Johnson wrote:
> Thanks, Nick and Gary. You are absolutely right. I found 'error' is being
> defined in a 3rd-party framework I'm using.
>
> Then there is the question of how to work around this, so I can use the
> NSString class method. If you can suggest a so
Thanks, Nick and Gary. You are absolutely right. I found 'error' is being
defined in a 3rd-party framework I'm using.
Then there is the question of how to work around this, so I can use the
NSString class method. If you can suggest a solution I would be grateful.
On Sat, Oct 27, 2012 at 7:41 PM,
(Sorry again if the list gets this twice. I am going to strangle whoever
thought it was a good idea to give me a me.com address as an alias for my
mac.com address -- AND have Mail.app use one when I meant the other.)
On Oct 28, 2012, at 12:04 PM, Andy Lee wrote:
> I Googled "Rf_error" and ther
(Sorry if the list gets this twice. I am going to strangle whoever thought it
was a good idea to give me a me.com address as an alias for my mac.com address.)
On Oct 27, 2012, at 6:04 PM, Paul Johnson wrote:
> I get a compiler warning message at the following line of code:
>
> NSString *text =
What you think you're calling is the NSString class method
+stringWithContentsOfFile:encoding:error: but due to an unexpected definition,
you're actually calling the NSString class method
+stringWithContentsOfFile:encoding:Rf_error: Apple does not have a publicly
defined selector of that name,
Nick, I can't find any headers that #define 'Rf_error'.
The warning message seems to be complaining about assigning to the type
'NString *' when type 'id' is expected, though.
I'm not sure where Rf_error is defined, but it must be in the Cocoa headers.
Thanks for your reply.
On Sat, Oct 27, 201
On Oct 27, 2012, at 4:04 PM, Paul Johnson wrote:
> I get a compiler warning message at the following line of code:
>
> NSString *text = [NSString stringWithContentsOfFile:fullPath encoding:
> NSUTF8StringEncoding error:&error];
>
> The warning message is:
>
> Class method '+stringWithContents
11 matches
Mail list logo