Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Undefined identifier 'task_name_t'?

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  unix executable file  
Author Message
Bint1

External


Since: Sep 16, 2003
Posts: 46



(Msg. 1) Posted: Sun Jul 09, 2006 5:36 pm
Post subject: Undefined identifier 'task_name_t'?
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

Hello,

I updated Xcode over the weekend, and now my Codewarrior 9 project
doesn't compile!? I think maybe Xcode changed gcc or something that
Codewarrior uses? I am getting these errors--do they look familiar?

Error : undefined identifier 'task_name_t'
(included from:
mach/task.h:26
mach/mach_interface.h:45
main.cpp:1280)
task.h line 118 task_name_t target_task,

Error : illegal name overloading
(included from:
mach/task.h:26
mach/mach_interface.h:45
main.cpp:1280)
task.h line 119 task_flavor_t flavor,

Thanks for any help
Bob

 >> Stay informed about: Undefined identifier 'task_name_t'? 
Back to top
Login to vote
David Phillip Oste

External


Since: Apr 25, 2004
Posts: 974



(Msg. 2) Posted: Sun Jul 09, 2006 7:55 pm
Post subject: Re: Undefined identifier 'task_name_t'? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , Bint
wrote:

> Hello,
>
> I updated Xcode over the weekend, and now my Codewarrior 9 project
> doesn't compile!? I think maybe Xcode changed gcc or something that
> Codewarrior uses? I am getting these errors--do they look familiar?
>
> Error : undefined identifier 'task_name_t'
> (included from:
> mach/task.h:26
> mach/mach_interface.h:45
> main.cpp:1280)
> task.h line 118 task_name_t target_task,
>
> Error : illegal name overloading
> (included from:
> mach/task.h:26
> mach/mach_interface.h:45
> main.cpp:1280)
> task.h line 119 task_flavor_t flavor,
>
> Thanks for any help
> Bob

Currently, if you look in Codewarrior IDE's preferences (under the
Codewarrior menu, not the Edit menu), you'll see in the Source Trees
pane that "/" is mapped to "OS X Volume". You probably want to change
that to map /Developer/SDKs/MacOSX10.3.9.sdk to OS X Volume. that is
less likely to change in way that will cause you compatibility problems
with Codewarrior 9.

 >> Stay informed about: Undefined identifier 'task_name_t'? 
Back to top
Login to vote
Bint1

External


Since: Sep 16, 2003
Posts: 46



(Msg. 3) Posted: Mon Jul 10, 2006 10:01 am
Post subject: Re: Undefined identifier 'task_name_t'? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Wouldn't that prevent me from using Tiger API's, which I already use?
B

On 7/9/06 5:54 PM, in article
oster-FD1320.15542709072006.TakeThisOut@newsclstr02.news.prodigy.com, "David Phillip
Oster" wrote:

> In article , Bint
> wrote:
>
>> Hello,
>>
>> I updated Xcode over the weekend, and now my Codewarrior 9 project
>> doesn't compile!? I think maybe Xcode changed gcc or something that
>> Codewarrior uses? I am getting these errors--do they look familiar?
>>
>> Error : undefined identifier 'task_name_t'
>> (included from:
>> mach/task.h:26
>> mach/mach_interface.h:45
>> main.cpp:1280)
>> task.h line 118 task_name_t target_task,
>>
>> Error : illegal name overloading
>> (included from:
>> mach/task.h:26
>> mach/mach_interface.h:45
>> main.cpp:1280)
>> task.h line 119 task_flavor_t flavor,
>>
>> Thanks for any help
>> Bob
>
> Currently, if you look in Codewarrior IDE's preferences (under the
> Codewarrior menu, not the Edit menu), you'll see in the Source Trees
> pane that "/" is mapped to "OS X Volume". You probably want to change
> that to map /Developer/SDKs/MacOSX10.3.9.sdk to OS X Volume. that is
> less likely to change in way that will cause you compatibility problems
> with Codewarrior 9.
 >> Stay informed about: Undefined identifier 'task_name_t'? 
Back to top
Login to vote
Sean McBride

External


Since: Jan 05, 2004
Posts: 474



(Msg. 4) Posted: Tue Jul 11, 2006 11:51 pm
Post subject: Re: Undefined identifier 'task_name_t'? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , Bint
wrote:

> Wouldn't that prevent me from using Tiger API's, which I already use?

Yes it would. But try anyway... does it solve the weird compiler errors?
Do you get the errors if you use the 10.4 SDK?
 >> Stay informed about: Undefined identifier 'task_name_t'? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
undefined identifiers - Im compiling a windows dll that contains .c and .cpp files. I have C99 extensions on and im forcing C++ compiling. Im getting undefined functions for most of the math functions im using such as sqrt, atan, acos, etc, ... How can i use these function....

Ridiculous Error: undefined identifier 'std' - Hello. I get the following ridiculous error when compiling with a third-party C++ library in CW 8 to a Mach-O target: Error : undefined identifier 'std' (included from: localeimp:18 istream:147 niostream:17 iostream:33 ..

iSight and unique Firewire Identifiers - Hello All, I just scored a pair of iSight cameras, and looking via Dam Busters at their configurations, I notice that they do NOT seem to have unique FireWire identifiers with them. ALL their parameters were identical except current bus device info. Do...

How to avoid function names and identifiers in my executab.. - I'm using CW8 and having a weird problem: I noticed that even in the Release version of the execuables I build, names of my functions and other identifiers show up (watching with a Hex editor). I really wonder why, because once compiled & linked, the...

undefined label - Under 8.3, I'm compiling an older C program, converting it to Carbon. I've run across an odd error: "undefined label: 'gXXX'" "Windows.c line 999 }" The "}" is the end of a function. The "undefined label" is de...
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]