« Return to Thread: Tcl 8.5 and Xcode 3.0

Tcl 8.5 and Xcode 3.0

by Peter Kämpf :: Rate this Message:

Reply to Author | View in Thread

Hi,

I recently replaced my G4 Powerbook with an Intel-based MacBook and  
switched to Tcl 8.5, OSX 10.5 and Xcode 3.0. On the G4 Mac I had  
successfully compiled a mixed Fortran-C application as a dynamic  
library to load into Wish 8.4 using Xcode 2.4. Trying to compile the  
same stack of files on Xcode 3.0 (gfortran 4.3, gcc 4.0.1) produces a  
lot of errors from the Tcl 8.5 header files linked to my C application.

Background: I need the C file to link into Tcl, but all the rest is in  
F90, which I am much more familiar with. Maybe it is something obvious  
to someone more into C.

The errors occur in /Developer/SDKs/MacOSX10.5.sdk/usr/include/
tclPlatDecls.h and look like this. The corresponding line looks quite  
innocent to me:
        /Developer/SDKs/MacOSX10.5.sdk/usr/include/tclPlatDecls.h:102: error:  
syntax error before 'procPtr'
        /Developer/SDKs/MacOSX10.5.sdk/usr/include/tclPlatDecls.h:103: error:  
syntax error before 'resource'
        /Developer/SDKs/MacOSX10.5.sdk/usr/include/tclPlatDecls.h:105: error:  
syntax error before 'Handle'
        /Developer/SDKs/MacOSX10.5.sdk/usr/include/tclPlatDecls.h:106: error:  
syntax error before 'OSType'
and so on, for a total of 32 errors.

Could please someone give me a hint what is happening here?

Thanks,

Peter


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

 « Return to Thread: Tcl 8.5 and Xcode 3.0

LightInTheBox - Buy quality products at wholesale price!