Skip to content
Tcl Source Code View Ticket
Login

View Ticket

headers broken for Mac OS X framework

Open2032862fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-07-30 15:43:32
When compiling other software to use Tcl & Tk as OSX frameworks, -I flags are needed because the public and private headers include each other and they are in separate dirs.

Used in a true framework context, a header in a framework should only need to be included like:

#include <Tk/tk.h>

And the OSX preprocessor will try to look in the named framework for the header.  No -I flags are needed.

But if any of the private headers are included, they fail because they include the public headers with quoted notation.

Either:

- private headers must use framework include notation internally,

- or install private headers in the framework's Headers dir, along with the public headers.
kyngchaosplain2008-07-30 23:04:50
Logged In: YES 
user_id=883245
Originator: YES

I forgot there are separate Tcl and Tk trackers.  This bug applies to both Tcl and Tk.
dgp Ticket [2032862fff]: 2 changes [History diff]2008-07-31 22:34:58
Log in (anonymous is fine) to add a comment.