Posted to tcl by dgp at Tue Oct 21 16:03:31 GMT 2014view raw

  1. gcc -c -g -pipe -Wall -fno-common -I/Users/dgp/fossil/tk8.5/unix/../unix -I/Users/dgp/fossil/tk8.5/unix/../generic -I/Users/dgp/fossil/tk8.5/unix/../bitmaps -I/Users/dgp/fossil/tcl8.5/generic -I/Users/dgp/fossil/tcl8.5/unix -I/Users/dgp/fossil/tk8.5/unix/../macosx -I/Users/dgp/fossil/tk8.5/unix/../xlib -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DMAC_OSX_TK=1 -DTK_MAC_DEBUG=1 -DTK_FRAMEWORK=1 -std=gnu99 -x objective-c -DTK_FRAMEWORK_VERSION=\"8.5\" -DUSE_TCL_STUBS /Users/dgp/fossil/tk8.5/unix/../generic/tkStubLib.c
  2. In file included from /Users/dgp/fossil/tk8.5/unix/../generic/tkStubLib.c:21:
  3. In file included from /Users/dgp/fossil/tk8.5/unix/../macosx/tkMacOSXInt.h:27:
  4. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
  5. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:151:
  6. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7:
  7. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  8. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  9. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  10. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  11. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  12. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/xpc/xpc.h:330:
  13. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/launch.h:29:
  14. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach/mach.h:86:15: error:
  15. expected ')'
  16. extern void panic(const char *, ...);
  17. ^
  18. /Users/dgp/fossil/tcl8.5/generic/tcl.h:2421:19: note: expanded from macro 'panic'
  19. # define panic Tcl_Panic
  20. ^
  21. /Users/dgp/fossil/tcl8.5/generic/tclDecls.h:4160:14: note: expanded from macro 'Tcl_Panic'
  22. (tclStubsPtr->tcl_Panic) /* 2 */
  23. ^
  24. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach/mach.h:86:15: note:
  25. to match this '('
  26. /Users/dgp/fossil/tcl8.5/generic/tcl.h:2421:19: note: expanded from macro 'panic'
  27. # define panic Tcl_Panic
  28. ^
  29. /Users/dgp/fossil/tcl8.5/generic/tclDecls.h:4160:2: note: expanded from macro 'Tcl_Panic'
  30. (tclStubsPtr->tcl_Panic) /* 2 */
  31. ^
  32. In file included from /Users/dgp/fossil/tk8.5/unix/../generic/tkStubLib.c:21:
  33. In file included from /Users/dgp/fossil/tk8.5/unix/../macosx/tkMacOSXInt.h:27:
  34. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
  35. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:151:
  36. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:7:
  37. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  38. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  39. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  40. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  41. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  42. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/xpc/xpc.h:330:
  43. In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/launch.h:29:
  44. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/mach/mach.h:86:15: error:
  45. redefinition of 'tclStubsPtr' as different kind of symbol
  46. extern void panic(const char *, ...);
  47. ^
  48. /Users/dgp/fossil/tcl8.5/generic/tcl.h:2421:19: note: expanded from macro 'panic'
  49. # define panic Tcl_Panic
  50. ^
  51. /Users/dgp/fossil/tcl8.5/generic/tclDecls.h:4160:3: note: expanded from macro 'Tcl_Panic'
  52. (tclStubsPtr->tcl_Panic) /* 2 */
  53. ^
  54. /Users/dgp/fossil/tcl8.5/generic/tclDecls.h:4138:18: note: previous definition is here
  55. extern TclStubs *tclStubsPtr;
  56. ^
  57. 2 errors generated.
  58.