|
From: Kevin W. <sw...@wo...> - 2005-09-28 02:46:24
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joe, Daniel Steffen also mentioned on the Tcl-Mac list that he is preparing some additional updates to Tcl-Mac to address things like byte swapping in preparation for the transition to MacTel. After posting my earlier message, I also noticed some similar errors when I tried to compile tktreectrl as a universal binary. Perhaps once Daniel's new revisions are committed, that might address the issue. Cheers, Kevin Walzer, PhD WordTech Software http://www.wordtech-software.com sw at wordtech-software.com Joe English wrote: | Kevin Walzer wrote: | | |>I'm trying to build a "universal binary" of Tile on Mac OS X, 10.4, with |>gcc 4. I've successfully compiled Tk, but during make, Tile returns |>these errors: |> |>In file included from ./macosx/aquaTheme.c:35: |>/Users/kevin/tk/macosx/tkMacOSXInt.h:154: error: syntax error before |>'int'In file included from ./macosx/aquaTheme.c:35: |>/Users/kevin/tk/macosx/tkMacOSXInt.h:154: error: syntax error before 'int' |> |>[ ... gobs of errors elided ... ] | | | | macosx/aquaTheme.c currently includes the following headers: | | | #include <Carbon/Carbon.h> | | #include <tk.h> | | #include <tkInt.h> | | #include <tkMacOSX.h> | | #include <tkMacOSXInt.h> | | #include "tkTheme.h" | | | Now I'm pretty sure that's the Wrong Thing -- it was arrived at | by trial and error, by adding, deleting, and reordering the #includes | until the file finally compiled on the machine I was using at the time -- | but I don't know what the Right Thing is. | | Any advice from AquaTk gurus? aquaTheme.c needs the Carbon API(s), | plus a couple routines from the platform-specific public Tk API | (TkMacOSXGetDrawablePort and TkMacOSXWinBounds). What headers | should be included, and in which order? | | | | --Joe English | | jen...@fl... | | | ------------------------------------------------------- | This SF.Net email is sponsored by: | Power Architecture Resource Center: Free content, downloads, discussions, | and more. http://solutions.newsforge.com/ibmarch.tmpl | _______________________________________________ | Tktable-tile-dev mailing list | Tkt...@li... | https://lists.sourceforge.net/lists/listinfo/tktable-tile-dev | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDOgPOJmdQs+6YVcoRAnj0AJwN5SKApCdp0ZMz/V6nEHl/KtnFpACeMpr0 KttMqWY8lW/FXdJ31lacIoE= =E6eX -----END PGP SIGNATURE----- |