#4599 Will not compile with --disable-corefoundation

obsolete: 8.6b1
closed-fixed
8
2010-04-04
2010-04-03
No

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

Discussion

  • Daniel A. Steffen

    • priority: 5 --> 8
    • assigned_to: das --> dkf
     
  • Daniel A. Steffen

    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 <dkf@users.sf.net>

    * 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.

     
  • Donal K. Fellows

    • status: open --> closed-fixed
     
  • Donal K. Fellows

    Made OpenResourceMap only defined for HAVE_COREFOUNDATION builds. (Oops!)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks