Tcl Source Code

View Ticket
Login
Ticket UUID: 2032862
Title: headers broken for Mac OS X framework
Type: Bug Created on: 2008-07-30 15:43:32
Submitter: kyngchaos Assigned to: das
Subsystem: 50. Embedding Support Severity:
Priority: 5 Medium Last modified: 2008-07-31 22:34:58
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.5.3
Description:
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.
User Comments:
kyngchaos added on 2008-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.