Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2006



Tip: Looking for answers? Try searching our database.

MachineExceptions.h -- Error: ';' expected

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anonymous - 18 Jan 2006 18:49 GMT
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.
David Phillip Oster - 19 Jan 2006 05:59 GMT
> I am trying to convert my PP Carbon project into a Mach-O project.
>
[quoted text clipped - 16 lines]
>
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.