Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

MachineExceptions.h -- Error: ';' expected

 
   Mac (Home) -> Programmer Code RSS
Next:  Type management on my Imac  
Author Message
Anonymous

External


Since: Jan 12, 2006
Posts: 2



(Msg. 1) Posted: Wed Jan 18, 2006 1:49 pm
Post subject: MachineExceptions.h -- Error: ';' expected
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

I am trying to convert my PP Carbon project into a Mach-O project.

When I compile, I get the following error:
Error : ';' expected
(included from:
CarbonCore/DriverServices.h:32
CarbonCore/CarbonCore.h:125
CoreServices/CoreServices.h:21
Carbon/Carbon.h:20
PP_MacHeadersMach-O.c:23
PP_ClassHeaders.cp:11
FinalCarbonPrefix.pch++:20)
MachineExceptions.h line 272 typedef CALLBACK_API_C( OSStatus ,
ExceptionHandlerProcPtr )(ExceptionInformation * theException);

The header MachineException.h (line 272) reads:
typedef CALLBACK_API_C( OSStatus , ExceptionHandlerProcPtr
)(ExceptionInformation * theException);

The code looks fine to me. What am I missing?

Thanks.
Back to top
Login to vote
David Phillip Oster

External


Since: Jul 21, 2005
Posts: 150



(Msg. 2) Posted: Thu Jan 19, 2006 5:59 am
Post subject: Re: MachineExceptions.h -- Error: ';' expected [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <0vCdnZhYGfI4EFPeRVn-jA.TakeThisOut@comcast.com>,
Anonymous <anonymous7989.TakeThisOut@yahoo.com> wrote:

> I am trying to convert my PP Carbon project into a Mach-O project.
>
> When I compile, I get the following error:
> Error : ';' expected
> (included from:
> CarbonCore/DriverServices.h:32
> CarbonCore/CarbonCore.h:125
> CoreServices/CoreServices.h:21
> Carbon/Carbon.h:20
> PP_MacHeadersMach-O.c:23
> PP_ClassHeaders.cp:11
> FinalCarbonPrefix.pch++:20)
> MachineExceptions.h line 272 typedef CALLBACK_API_C( OSStatus ,
> ExceptionHandlerProcPtr )(ExceptionInformation * theException);
>
> The header MachineException.h (line 272) reads:
> typedef CALLBACK_API_C( OSStatus , ExceptionHandlerProcPtr
> )(ExceptionInformation * theException);
>
> The code looks fine to me. What am I missing?

Mach-O and Carbon have very different include directory search paths,
and other options. The easiest solution is make a new Mach-O PowerPlant
project from the New Project menu command, verify that it compiles and
runs, then move your source so the correct folder in the Finder, add
them to the new project.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Codecvt linker error - Hello, Can someone help me out to resolve the following error in Codewarrior. Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in lfile.obj Actually my code does ...

Bug in alloc.c? - I'm getting an infinite loop in alloc.c, which is located in MSL/MSL_C/MSL_Common/Src. This is with CW 9.5. The function is allocate_from_var_pools. There is a do/while loop that searches for a block with the required size to allocate a block of..

Multiply defined symbol: .bss - Hi, when trying to build a dll for Windows using CW9 on MacOS, I get an error message like: Link Error : Multiply defined symbol: .bss in files file1.cpp, file2.cpp The same message with the same filenames is repeated several times, but....

Where next? - Hi folks, All of my recent Mac coding has been Carbon C++, mostly using PowerPlant as a framework. As most of my clients are moving to X and CW's future is, shall we say, uncertain I'm wondering where to look for my future coding setup. I've dabbled....

Does mwcc work on Tiger? - Anybody using the comand line compilers on 10.4? When saving the following simple program as /tmp/x.cpp: int main() { double x = 0.5; return 0; } and trying to compile it with $ mwcc -c /tmp/x.cpp , I get the error message Error :....
       Mac (Home) -> Programmer Code All times are: Pacific Time (US & Canada) (change)
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
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact