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.