Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-04-04
18:59 • Closed ticket [2981528fff]: Will not compile with --disable-corefoundation p... artifact: 8997588a10 user: dkf
02:36 • Ticket [2981528fff]: 6 changes artifact: c0d4a4566a user: das
2010-04-03
14:02 • New ticket [2981528fff]. artifact: 73f9f0ce4e user: vasiljevic

Will not compile with --disable-corefoundation

Closed / Fixed2981528fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-04-03 14:02:53
Curent HEAD does not compile with --disable-corefoundation.
It barks like this:
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:81: error: syntax error before 'bundleRef'
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:98: error: syntax error before 'bundleRef'
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c: In function 'OpenResourceMap':
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:100: error: 'FALSE' undeclared (first use in this function)
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:100: error: (Each undeclared identifier is reported only once
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:100: error: for each function it appears in.)
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:101: warning: parameter names (without types) in function declaration
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:134: error: 'TRUE' undeclared (first use in this function)
/Users/zoran/sf/tcl/macosx/tclMacOSXBundle.c:138: error: 'bundleRef' undeclared (first use in this function)
make: *** [tclMacOSXBundle.o] Error 1

Chers
Zoran
dasplain2010-04-04 02:36:27
this looks like code that should be ifdef'd out with when CF is disabled is being built (but without necessary headers). This used to work, at a first guess, it was dkf's recent ifdef changes in this area that broke it:

2010-03-25  Donal K. Fellows  <[email protected]>

        * macosx/tclMacOSXBundle.c, macosx/tclMacOSXFCmd.c: 
        * macosx/tclMacOSXNotify.c: Reduce the level of ifdeffery in the
        functions of these files to improve readability. They need to be
        audited for whether complexity can be removed based on the minimum
        supported version of OSX, but that requires a real expert.
dkfplain2010-04-04 18:59:57
allow_comments - 1

Made OpenResourceMap only defined for HAVE_COREFOUNDATION builds. (Oops!)
Log in (anonymous is fine) to add a comment.