Hey All,
I could not test this under linux as my gem is currently broken.
Under OSX I'm getting a crash when trying to render with a "model" object in a chain. See attached patch.
Here is what gdb says about it:
GEM: Start rendering src/Geos/model_loader.cpp:1164: failed assertion `model'
Program received signal SIGABRT, Aborted. 0x90042aac in kill () (gdb) where #0 0x90042aac in kill () #1 0x9009ec5c in abort () #2 0x020f4e60 in __eprintf () at src/Pixes/pix_filmYUV.h:45 #3 0x02040ce0 in glmLinearTexture (model=0x0, h=0, w=0) at src/Geos/model_loader.cpp:1164 #4 0x0203c0dc in model::render(GemState*) (this=0x427130, state=0xbffff250) at src/Geos/model.cpp:212 #5 0x0200a110 in GemBase::gem_renderMess(GemCache*, GemState*) (this=0x427130, cache=0x44b480, state=0xbffff250) at src/Base/GemBase.cpp:78 #6 0x0200a3b8 in GemBase::gem_MessCallback(void*, _symbol*, int, _atom*) (data=0x427110, s=0x40b7e0, argc=2, argv=0xbffff160) at src/Base/GemBase.cpp:130 #7 0x000327dc in pd_typedmess (x=0x427110, s=0x90037848, argc=57, argv=0x696c6564) at m_class.c:740 #8 0x000336d8 in outlet_anything (x=0x0, s=0xbffff070, argc=0, argv=0x427110) at m_obj.c:385 #9 0x0202aaac in gemhead::renderGL(GemState*) (this=0x4ea0fe0, state=0x25) at src/Controls/gemhead.cpp:89 #10 0x02019a80 in GemMan::renderChain(gemheadLink*, GemState*) (head=0x4270d0, state=0xbffff250) at src/Base/GemMan.cpp:652 #11 0x0201a924 in GemMan::render(void*) () at src/Base/GemMan.cpp:876 #12 0x0201abdc in GemMan::startRendering() () at src/Base/GemMan.cpp:966 #13 0x0202de40 in gemwin::intMess(int) (this=0x426f30, state=1) at src/Controls/gemwin.cpp:99 #14 0x0202f9a8 in gemwin::floatMessCallback(void*, float) (data=0x426f10, state=1) at src/Controls/gemwin.cpp:645 #15 0x00033564 in outlet_float (x=0x0, f=1) at m_obj.c:355 #16 0x00035768 in binbuf_eval (x=0x0, target=0xbffff070, argc=1, argv=0xbffff510) at m_binbuf.c:581 #17 0x00009340 in message_float (x=0x0, f=0) at g_text.c:301 #18 0x000094a0 in message_click (x=0x427100, xpos=0, ypos=0, shift=1, ctrl=1, alt=-0) at g_text.c:340 #19 0x0000b0a4 in text_click (z=0x427110, glist=0x0, xpix=0, ypix=-1073745808, shift=480120, alt=1, dbl=0, doit=4354304) at g_text.c:1011 #20 0x0001b2f8 in canvas_doclick (x=0x4249c0, xpos=47, ypos=28, which=9994, mod=1768711524, doit=1) at g_editor.c:1016 #21 0x0001b830 in canvas_mousedown (x=0x0, xpos=0, ypos=0, which=1, mod=1) at g_editor.c:1172 #22 0x0003269c in pd_typedmess (x=0x4249c0, s=0x90037848, argc=57, argv=0x696c6564) at m_class.c:719 #23 0x000327dc in pd_typedmess (x=0x4249c0, s=0x90037848, argc=57, argv=0x696c6564) at m_class.c:740 #24 0x00035750 in binbuf_eval (x=0x0, target=0xbffff810, argc=0, argv=0x0) at m_binbuf.c:578 #25 0x0003a774 in socketreceiver_read (x=0xbffff7e4, fd=4344256) at s_inter.c:379 #26 0x0003a28c in sys_domicrosleep (microsec=0, pollem=0) at s_inter.c:216 #27 0x00038b58 in m_scheduler () at m_sched.c:472 #28 0x00002504 in _start (argc=462556, argv=0x0, envp=0x0) at /SourceCache/Csu/Csu-47/crt.c:267 #29 0x8fe1a700 in __dyld__dyld_start ()
I tried recompiling form the latest CVS today, and powerbuilder fails with:
Building target gem_darwin with build style Deployment (optimization:level 3, debug-symbols:off) (79 errors, 26 warnings) /bin/mkdir -p /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -I/Users/admin/bbogart/GemLibs/darwinStuff -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" /Users/admin/bbogart/GemLibs/darwinStuff/macosx_math.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/macosx_math.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/CPPExtern.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/CPPExtern.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemBase.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemBase.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemCache.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemCache.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemDag.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemDag.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemEvent.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemEvent.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemFuncUtil.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemFuncUtil.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemGluObj.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemGluObj.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemGLUtil.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemGLUtil.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemGlutObj.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemGlutObj.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemLoadObj.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemLoadObj.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemMan.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemMan.o src/Base/GemMan.cpp: In function `OSStatus dispatchGemWindowMessages()': src/Base/GemMan.cpp:220: warning: no return statement in function returning non-void src/Base/GemMan.cpp:220: warning: control reaches end of non-void function src/Base/GemMan.cpp:220: warning: no return statement in function returning non-void src/Base/GemMan.cpp:220: warning: control reaches end of non-void function /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemModelData.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemModelData.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemPathBase.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemPathBase.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemPixDualObj.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemPixDualObj.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemPixImageLoad.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemPixImageLoad.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemPixImageSave.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemPixImageSave.o src/Base/GemPixImageSave.cpp: In function `char* CStringToPString(char*)': src/Base/GemPixImageSave.cpp:88: warning: invalid conversion from `void*' to `char*' src/Base/GemPixImageSave.cpp:91: warning: comparison between signed and unsigned integer expressions src/Base/GemPixImageSave.cpp: In function `int mem2image(imageStruct*, const char*, int)': src/Base/GemPixImageSave.cpp:127: warning: invalid conversion from `const char*' to `char*' src/Base/GemPixImageSave.cpp:127: warning: invalid conversion from `char*' to `unsigned char*' src/Base/GemPixImageSave.cpp:88: warning: invalid conversion from `void*' to `char*' src/Base/GemPixImageSave.cpp:91: warning: comparison between signed and unsigned integer expressions src/Base/GemPixImageSave.cpp:127: warning: invalid conversion from `const char*' to `char*' src/Base/GemPixImageSave.cpp:127: warning: invalid conversion from `char*' to `unsigned char*' /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemPixObj.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemPixObj.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemPixUtil.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemPixUtil.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemSetup.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemSetup.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemShape.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemShape.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemState.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemState.o /usr/bin/g++-3.3 -c -F/Users/admin/work/Gem/build -I/Users/admin/work/Gem/build/include -Isrc -Isrc/Base -arch ppc -fno-common -fpascal-strings -O3 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -pipe "-fmessage-length=0" -Wp,-header-mapfile,/Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Gem.pd_darwin.hmap "-DMACOSX" "-DNOTEXT" "-DYUV" src/Base/GemWinCreateMac.cpp -o /Users/admin/work/Gem/build/GEM_darwin.build/gem_darwin.build/Objects-normal/ppc/GemWinCreateMac.o src/Base/GemWinCreateMac.cpp: In function `int createGemWindow(WindowInfo&, WindowHints&)': src/Base/GemWinCreateMac.cpp:230: warning: comparison between signed and unsigned integer expressions src/Base/GemWinCreateMac.cpp:236: warning: comparison between signed and unsigned integer expressions src/Base/GemWinCreateMac.cpp:318: error: parse error before `<<' token src/Base/GemWinCreateMac.cpp:330: error: parse error before `>>' token src/Base/GemWinCreateMac.cpp:174: warning: unused variable `EventTypeSpec list[9]' src/Base/GemWinCreateMac.cpp: At global scope: src/Base/GemWinCreateMac.cpp:352: warning: ISO C++ forbids declaration of `gEvtHandler' with no type src/Base/GemWinCreateMac.cpp:352: error: conflicting types for `int gEvtHandler' src/Base/GemWinCreateMac.cpp:80: error: previous declaration as `OSStatus (*gEvtHandler)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)' src/Base/GemWinCreateMac.cpp:354: error: `list' was not declared in this scope src/Base/GemWinCreateMac.cpp:354: error: `list' was not declared in this scope src/Base/GemWinCreateMac.cpp:355: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:355: warning: ISO C++ forbids declaration of `InstallEventHandler' with no type src/Base/GemWinCreateMac.cpp:355: error: `int InstallEventHandler' redeclared as different kind of symbol /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:2127: error: previous declaration of `OSStatus InstallEventHandler(OpaqueEventTargetRef*, OSStatus (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*), long unsigned int, const EventTypeSpec*, void*, OpaqueEventHandlerRef**)' src/Base/GemWinCreateMac.cpp:355: warning: initializer list being treated as compound expression src/Base/GemWinCreateMac.cpp:359: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:360: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:361: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:362: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:363: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:365: warning: ISO C++ forbids declaration of `i' with no type src/Base/GemWinCreateMac.cpp:366: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:367: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:368: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:369: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:370: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:377: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:378: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:379: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:382: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:383: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:385: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:390: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:390: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:390: error: `hints' was not declared in this scope src/Base/GemWinCreateMac.cpp:390: warning: ISO C++ forbids declaration of `BuildGLFromWindow' with no type src/Base/GemWinCreateMac.cpp:390: error: `int BuildGLFromWindow' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:132: error: previous declaration of `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)' src/Base/GemWinCreateMac.cpp:390: warning: initializer list being treated as compound expression src/Base/GemWinCreateMac.cpp:393: error: parse error before `if' src/Base/GemWinCreateMac.cpp:397: warning: ISO C++ forbids declaration of `SetContextValid' with no type src/Base/GemWinCreateMac.cpp:397: error: `int SetContextValid' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:85: error: previous declaration of `void SetContextValid(bool)' src/Base/GemWinCreateMac.cpp:398: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:399: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:400: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:402: warning: ISO C++ forbids declaration of `SetFrontProcess' with no type src/Base/GemWinCreateMac.cpp:402: error: `int SetFrontProcess' redeclared as different kind of symbol /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:485: error: previous declaration of `OSErr SetFrontProcess(const ProcessSerialNumber*)' src/Base/GemWinCreateMac.cpp:402: warning: invalid conversion from `ProcessSerialNumber*' to `int' src/Base/GemWinCreateMac.cpp:404: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:404: warning: ISO C++ forbids declaration of `ShowWindow' with no type src/Base/GemWinCreateMac.cpp:404: error: `int ShowWindow' redeclared as different kind of symbol /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:6715: error: previous declaration of `void ShowWindow(OpaqueWindowPtr*)' src/Base/GemWinCreateMac.cpp:406: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:406: warning: ISO C++ forbids declaration of `SelectWindow' with no type src/Base/GemWinCreateMac.cpp:406: error: `int SelectWindow' redeclared as different kind of symbol /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:3822: error: previous declaration of `void SelectWindow(OpaqueWindowPtr*)' src/Base/GemWinCreateMac.cpp:407: warning: ISO C++ forbids declaration of `err' with no type src/Base/GemWinCreateMac.cpp:407: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:408: warning: ISO C++ forbids declaration of `post' with no type src/Base/GemWinCreateMac.cpp:408: error: `int post' redeclared as different kind of symbol /Users/admin/bbogart/pd-0.37-hack/src/m_pd.h:441: error: previous declaration of `void post(char*, ...)' src/Base/GemWinCreateMac.cpp:408: warning: initializer list being treated as compound expression src/Base/GemWinCreateMac.cpp:427: warning: ISO C++ forbids declaration of `hGD' with no type src/Base/GemWinCreateMac.cpp:428: error: parse error before `return' src/Base/GemWinCreateMac.cpp: In function `void destroyGemWindow(WindowInfo&)': src/Base/GemWinCreateMac.cpp:466: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:471: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `__AGLContextRec* SetupAGLFullScreen(GDevice**, short int*, short int*)': src/Base/GemWinCreateMac.cpp:504: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:511: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:520: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:526: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)': src/Base/GemWinCreateMac.cpp:552: error: `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:390: error: previous declaration of `int BuildGLFromWindow' src/Base/GemWinCreateMac.cpp:390: error: previous non-function declaration `int BuildGLFromWindow' src/Base/GemWinCreateMac.cpp:552: error: conflicts with function declaration `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)' src/Base/GemWinCreateMac.cpp: In function `OSStatus BuildGLonWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)': src/Base/GemWinCreateMac.cpp:687: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:692: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `OSStatus BuildGL(OpaqueGrafPtr**, __AGLContextRec**, short int*, structGLInfo*, __AGLContextRec*)': src/Base/GemWinCreateMac.cpp:750: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `OSStatus BuildGLonDevice(OpaqueGrafPtr**, __AGLContextRec**, GDevice**, structGLInfo*, __AGLContextRec*)': src/Base/GemWinCreateMac.cpp:871: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:879: warning: comparison between signed and unsigned integer expressions src/Base/GemWinCreateMac.cpp:881: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:888: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:897: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `Boolean CheckRenderer(GDevice**, long int*, long int*, GLint*, unsigned char)': src/Base/GemWinCreateMac.cpp:964: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `Boolean CheckAllDeviceRenderers(long int*, long int*, GLint*, unsigned char)': src/Base/GemWinCreateMac.cpp:1049: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `OSStatus BuildGLContext(OpaqueGrafPtr**, __AGLContextRec**, GDevice**, structGLInfo*, __AGLContextRec*)': src/Base/GemWinCreateMac.cpp:1167: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1187: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1199: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1212: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `OSStatus BuildDrawable(OpaqueGrafPtr**, GDevice**, structGLInfo*)': src/Base/GemWinCreateMac.cpp:1336: error: `ShowWindow' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `OSStatus aglReportError()': src/Base/GemWinCreateMac.cpp:1358: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp: In function `void SetContextValid(bool)': src/Base/GemWinCreateMac.cpp:1367: error: `void SetContextValid(bool)' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:397: error: previous declaration of `int SetContextValid' src/Base/GemWinCreateMac.cpp:397: error: previous non-function declaration `int SetContextValid' src/Base/GemWinCreateMac.cpp:1367: error: conflicts with function declaration `void SetContextValid(bool)' src/Base/GemWinCreateMac.cpp: In function `OSStatus evtHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)': src/Base/GemWinCreateMac.cpp:1398: error: `SelectWindow' cannot be used as a function src/Base/GemWinCreateMac.cpp:1408: error: `SelectWindow' cannot be used as a function src/Base/GemWinCreateMac.cpp:1382: warning: unused variable `OSStatus err' src/Base/GemWinCreateMac.cpp:230: warning: comparison between signed and unsigned integer expressions src/Base/GemWinCreateMac.cpp:236: warning: comparison between signed and unsigned integer expressions src/Base/GemWinCreateMac.cpp:318: error: parse error before `<<' token src/Base/GemWinCreateMac.cpp:330: error: parse error before `>>' token src/Base/GemWinCreateMac.cpp:174: warning: unused variable `EventTypeSpec list[9]' src/Base/GemWinCreateMac.cpp:352: warning: ISO C++ forbids declaration of `gEvtHandler' with no type src/Base/GemWinCreateMac.cpp:352: error: conflicting types for `int gEvtHandler' src/Base/GemWinCreateMac.cpp:80: error: previous declaration as `OSStatus (*gEvtHandler)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)' src/Base/GemWinCreateMac.cpp:354: error: `list' was not declared in this scope src/Base/GemWinCreateMac.cpp:354: error: `list' was not declared in this scope src/Base/GemWinCreateMac.cpp:355: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:355: warning: ISO C++ forbids declaration of `InstallEventHandler' with no type src/Base/GemWinCreateMac.cpp:355: error: `int InstallEventHandler' redeclared as different kind of symbol /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:2127: error: previous declaration of `OSStatus InstallEventHandler(OpaqueEventTargetRef*, OSStatus (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*), long unsigned int, const EventTypeSpec*, void*, OpaqueEventHandlerRef**)' src/Base/GemWinCreateMac.cpp:355: warning: initializer list being treated as compound expression src/Base/GemWinCreateMac.cpp:359: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:360: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:361: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:362: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:363: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:365: warning: ISO C++ forbids declaration of `i' with no type src/Base/GemWinCreateMac.cpp:366: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:367: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:368: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:369: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:370: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:377: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:378: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:379: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:382: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:383: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:385: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:390: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:390: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:390: error: `hints' was not declared in this scope src/Base/GemWinCreateMac.cpp:390: warning: ISO C++ forbids declaration of `BuildGLFromWindow' with no type src/Base/GemWinCreateMac.cpp:390: error: `int BuildGLFromWindow' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:132: error: previous declaration of `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)' src/Base/GemWinCreateMac.cpp:390: warning: initializer list being treated as compound expression src/Base/GemWinCreateMac.cpp:393: error: parse error before `if' src/Base/GemWinCreateMac.cpp:397: warning: ISO C++ forbids declaration of `SetContextValid' with no type src/Base/GemWinCreateMac.cpp:397: error: `int SetContextValid' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:85: error: previous declaration of `void SetContextValid(bool)' src/Base/GemWinCreateMac.cpp:398: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:399: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:400: error: syntax error before `.' token src/Base/GemWinCreateMac.cpp:402: warning: ISO C++ forbids declaration of `SetFrontProcess' with no type src/Base/GemWinCreateMac.cpp:402: error: `int SetFrontProcess' redeclared as different kind of symbol /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:485: error: previous declaration of `OSErr SetFrontProcess(const ProcessSerialNumber*)' src/Base/GemWinCreateMac.cpp:402: warning: invalid conversion from `ProcessSerialNumber*' to `int' src/Base/GemWinCreateMac.cpp:404: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:404: warning: ISO C++ forbids declaration of `ShowWindow' with no type src/Base/GemWinCreateMac.cpp:404: error: `int ShowWindow' redeclared as different kind of symbol /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:6715: error: previous declaration of `void ShowWindow(OpaqueWindowPtr*)' src/Base/GemWinCreateMac.cpp:406: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:406: warning: ISO C++ forbids declaration of `SelectWindow' with no type src/Base/GemWinCreateMac.cpp:406: error: `int SelectWindow' redeclared as different kind of symbol /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:3822: error: previous declaration of `void SelectWindow(OpaqueWindowPtr*)' src/Base/GemWinCreateMac.cpp:407: warning: ISO C++ forbids declaration of `err' with no type src/Base/GemWinCreateMac.cpp:407: error: `info' was not declared in this scope src/Base/GemWinCreateMac.cpp:408: warning: ISO C++ forbids declaration of `post' with no type src/Base/GemWinCreateMac.cpp:408: error: `int post' redeclared as different kind of symbol /Users/admin/bbogart/pd-0.37-hack/src/m_pd.h:441: error: previous declaration of `void post(char*, ...)' src/Base/GemWinCreateMac.cpp:408: warning: initializer list being treated as compound expression src/Base/GemWinCreateMac.cpp:427: warning: ISO C++ forbids declaration of `hGD' with no type src/Base/GemWinCreateMac.cpp:428: error: parse error before `return' src/Base/GemWinCreateMac.cpp:466: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:471: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:504: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:511: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:520: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:526: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:552: error: `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:390: error: previous declaration of `int BuildGLFromWindow' src/Base/GemWinCreateMac.cpp:390: error: previous non-function declaration `int BuildGLFromWindow' src/Base/GemWinCreateMac.cpp:552: error: conflicts with function declaration `OSStatus BuildGLFromWindow(OpaqueWindowPtr*, __AGLContextRec**, structGLWindowInfo*, __AGLContextRec*)' src/Base/GemWinCreateMac.cpp:687: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:692: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:750: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:871: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:879: warning: comparison between signed and unsigned integer expressions src/Base/GemWinCreateMac.cpp:881: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:888: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:897: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:964: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1049: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1167: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1187: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1199: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1212: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1336: error: `ShowWindow' cannot be used as a function src/Base/GemWinCreateMac.cpp:1358: error: `post' cannot be used as a function src/Base/GemWinCreateMac.cpp:1367: error: `void SetContextValid(bool)' redeclared as different kind of symbol src/Base/GemWinCreateMac.cpp:397: error: previous declaration of `int SetContextValid' src/Base/GemWinCreateMac.cpp:397: error: previous non-function declaration `int SetContextValid' src/Base/GemWinCreateMac.cpp:1367: error: conflicts with function declaration `void SetContextValid(bool)' src/Base/GemWinCreateMac.cpp:1398: error: `SelectWindow' cannot be used as a function src/Base/GemWinCreateMac.cpp:1408: error: `SelectWindow' cannot be used as a function src/Base/GemWinCreateMac.cpp:1382: warning: unused variable `OSStatus err'
Is my AGL out of date??
Thanks Ben