On Jan 5, 2011, at 3:01 PM, Jason S-M wrote:
> OK, Any idea how I might go about debugging to figure it out? I suppose I can
> start with a small sample of a carbon app and add cocoa and see what
> happens..take my large project out of the mix to see if it sheds light on the
> answer.
Might be
>> The answer was choosing File-Type of Objective-C++ since I had a mixture of
>> CPP and MM files.
>
> You shouldn't *need* to do that. Something was (and still is) wrong with your
> setup beyond what you described, or your description was mistaken somewhere
> along the line.
OK, Any idea ho
On Jan 5, 2011, at 11:59 AM, Jason S-M wrote:
> The answer was choosing File-Type of Objective-C++ since I had a mixture of
> CPP and MM files.
You shouldn't *need* to do that. Something was (and still is) wrong with your
setup beyond what you described, or your description was mistaken somewhe
For the archives: The answer was choosing File-Type of Objective-C++ since I
had a mixture of CPP and MM files. I did this in the build target settings.
Thanks Jean-Daniel from the Carbon mailing list for shedding some light to the
problem.
On Jan 4, 2011, at 6:53 AM, Scott Ribe wrote:
> On J
>>
>> If I try and just compile the .mm that is where the errors come from
>> referencing NSObjCRuntime.h and they are like:
>
> Sure looks like it's including Cocoa headers in a non Objective-C file. But
> that doesn't fit with your description of what you're doing, so I don't know.
>
> You s
On Jan 3, 2011, at 2:51 PM, Jason T. Slack-Moehrle wrote:
> If I try and just compile the .mm that is where the errors come from
> referencing NSObjCRuntime.h and they are like:
Sure looks like it's including Cocoa headers in a non Objective-C file. But
that doesn't fit with your description of
>
>> I do have the Cocoa framework added and in my pch I am using
>>
>> #ifdef __OBJC__
>> #import
>> #endif
>
> Well, that would have been my first guess. Second guess, does your
> Objective-C source file name end with the .m extension? (Or .mm if you are
> using C++ code from within
>> I do have the Cocoa framework added and in my pch I am using
>>
>> #ifdef __OBJC__
>> #import
>> #endif
>
> Well, that would have been my first guess. Second guess, does your
> Objective-C source file name end with the .m extension? (Or .mm if you are
> using C++ code from within it
On Jan 3, 2011, at 2:05 PM, Jason T. Slack-Moehrle wrote:
> I do have the Cocoa framework added and in my pch I am using
>
> #ifdef __OBJC__
> #import
> #endif
Well, that would have been my first guess. Second guess, does your Objective-C
source file name end with the .m extension? (Or
Hello,
Is there special changes to my project that I need to make settings wise to
integrate Cocoa and Carbon?
When I add a Cocoa class to my target I immediately get 9300 compiler errors
and there is nothing in the class. Simple File - New File and then create a
simple class.
I do have the
I tried (valueUser.value)->GetAmount()) and I still get the same errors.
Date: Sun, 27 Dec 2009 11:47:35 +1100
From: Brian Bruinewoud
Subject: Re: Compile errors with Objective-C++ properties as STL/TR1
smart pointers
To: undisclosed-recipients: ;
Cc: cocoa-dev@lists.apple.com
Mess
It's probably just a parsing thing, have you tried:
> ::NSLog(@"The value's amount is %d", (valueUser.value)->GetAmount());
?
On 27/12/2009, at 11:20 , Tron Thomas wrote:
> I'm running into a issue using STL/TR1 smart pointers with Objective-C++
> properties that I think is a bug, and I wanted
I'm running into a issue using STL/TR1 smart pointers with Objective-C++
properties that I think is a bug, and I wanted to get some feedback before I
submitted any bug report.
The following code:
#import
#import
class Value
{
public:
explicit Value(int amount) : m_amount(amount){}
On 26 Feb 2009, at 10:19 PM, Barry Fawthrop wrote:
To Greg Thank for the input
I have asn1_encode.mm
and AppController.m
I changed this to AppController.mm and all worked fine ???
This is a result of the C++ name mangling Greg mentioned. C++ will
take a simple-looking function name and t
Greg Parker wrote:
>
> On Feb 26, 2009, at 10:21 AM, Barry Fawthrop wrote:
>
>> To All, Greetings
>>
>> I'm trying to build my first iPhone app which has some Kerberos
>> functionality
>>
>> So I have the files asn1_encode.h and asn1_encode.mm, etc...
>>
>> Inside my App control AppControll
On Feb 26, 2009, at 10:21 AM, Barry Fawthrop wrote:
To All, Greetings
I'm trying to build my first iPhone app which has some Kerberos
functionality
So I have the files asn1_encode.h and asn1_encode.mm, etc...
Inside my App control AppController.mm
I call the relevant procedures/fu
To All, Greetings
I'm trying to build my first iPhone app which has some Kerberos functionality
So I have the files asn1_encode.h and asn1_encode.mm, etc...
Inside my App control AppController.mm
I call the relevant procedures/functions as I need them
When I compile I get the following
(
17 matches
Mail list logo