Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2012-11-15
08:46 • Closed ticket [3587339fff]: TIP 416 breaks OSX build plus 8 other changes artifact: c2b097487b user: dgp
08:44 • Ticket [3587339fff]: 5 changes artifact: 21f79a4d4d user: dgp
01:41 • New ticket [3587339fff]. artifact: 7221a78a55 user: dgp

TIP 416 breaks OSX build

Closed / Fixed3587339fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-11-15 01:41:42
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
dgpplain2012-11-15 08:44:16
Ah good; another easy one.
dgpplain2012-11-15 08:46:09
allow_comments - 1

so easy, dkf already fixed it.
Log in (anonymous is fine) to add a comment.