Tcl Source Code

View Ticket
Login
Ticket UUID: 3587339
Title: TIP 416 breaks OSX build
Type: Bug Created on: 2012-11-15 01:41:42
Submitter: dgp Assigned to: dkf
Subsystem: 40. Dynamic Loading Severity:
Priority: 9 Immediate Last modified: 2012-11-15 08:46:09
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2012-11-15 01:46:09
Version: current: 8.6.0
Description:
Compiler errors from tclLoadDyld.c on the current trunk.

/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:214:8: warning: "/*" within comment
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘TclpDlopen’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:332: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:332: error: invalid storage class for function ‘FindSymbol’
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘FindSymbol’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:360: warning: ‘NSLookupSymbolInImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:182)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:391: warning: ‘NSLinkEditError’ is deprecated (declared at /usr/include/mach-o/dyld.h:217)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:394: warning: ‘NSLookupSymbolInModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:181)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:398: warning: ‘NSAddressOfSymbol’ is deprecated (declared at /usr/include/mach-o/dyld.h:188)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘TclpDlopen’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:438: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:438: error: invalid storage class for function ‘UnloadFile’
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘UnloadFile’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:452: warning: ‘NSUnLinkModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:169)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘TclpDlopen’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:489: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:514: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:514: error: nested function ‘TclpLoadMemoryGetBuffer’ declared ‘extern’
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:572: error: nested functions are disabled, use -fnested-functions to re-enable
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:572: error: nested function ‘TclpLoadMemory’ declared ‘extern’
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘TclpLoadMemory’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:645: warning: ‘NSCreateObjectFileImageFromMemory’ is deprecated (declared at /usr/include/mach-o/dyld.h:146)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:665: warning: too many arguments for format
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:676: warning: ‘NSLinkModule’ is deprecated (declared at /usr/include/mach-o/dyld.h:161)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:677: warning: ‘NSDestroyObjectFileImage’ is deprecated (declared at /usr/include/mach-o/dyld.h:147)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:683: warning: ‘NSLinkEditError’ is deprecated (declared at /usr/include/mach-o/dyld.h:217)
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:187:1: error: unterminated #if
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c: In function ‘TclpDlopen’:
/Users/dgp/fossil/tcl-only/unix/tclLoadDyld.c:706: error: expected declaration or statement at end of input
User Comments:
dgp added on 2012-11-15 08:44:16:
Ah good; another easy one.

dgp added on 2012-11-15 08:46:09:

allow_comments - 1

so easy, dkf already fixed it.