#31057: synergy @1.3.1 fails to build COSXScreen.h:223: error: ‘DMExtendedNotificationUPP’ does not name a type ----------------------------------+----------------------------------------- Reporter: dan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: synergy COSXScreen.h | Port: synergy ----------------------------------+----------------------------------------- :info:build source='COSXScreenSaverUtil.m' object='COSXScreenSaverUtil.o' libtool=no \ :info:build depfile='.deps/COSXScreenSaverUtil.Po' tmpdepfile='.deps/COSXScreenSaverUtil.TPo' \ :info:build MACOSX_DEPLOYMENT_TARGET=10.2 depmode=gcc3 /bin/sh ../../config/depcomp \ :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/common -I../../lib/arch -I../../lib/base -I../../lib/mt -I../../lib/io -I../../l ib/synergy -I/opt/local/include -O2 -arch i386 -c -o COSXScreenSaverUtil.o `test -f 'COSXScreenSaverUtil.m' || echo './'`COSXScreenSaverUtil.m :info:build In file included from COSXScreen.cpp:15: :info:build COSXScreen.h:223: error: ‘DMExtendedNotificationUPP’ does not name a type :info:build In file included from /usr/include/objc/objc-api.h:28, :info:build from /usr/include/objc/objc.h:33, :info:build from /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:137, :info:build from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5, :info:build from OSXScreenSaverControl.h:4, :info:build from COSXScreenSaverUtil.m:16: :info:build /usr/include/AvailabilityMacros.h:109:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid. :info:build COSXScreen.cpp: In constructor ‘COSXScreen::COSXScreen(bool)’: :info:build COSXScreen.cpp:76: error: class ‘COSXScreen’ does not have any field named ‘m_displayManagerNotificationUPP’ :info:build COSXScreen.cpp:126: error: ‘m_displayManagerNotificationUPP’ was not declared in this scope :info:build COSXScreen.cpp:127: error: ‘NewDMExtendedNotificationUPP’ was not declared in this scope :info:build COSXScreen.cpp:130: error: ‘DMRegisterExtendedNotifyProc’ was not declared in this scope :info:build COSXScreen.cpp:161: error: ‘m_displayManagerNotificationUPP’ was not declared in this scope :info:build COSXScreen.cpp:163: error: ‘DMRemoveExtendedNotifyProc’ was not declared in this scope :info:build COSXScreen.cpp: In destructor ‘virtual COSXScreen::~COSXScreen()’: :info:build COSXScreen.cpp:219: error: ‘m_displayManagerNotificationUPP’ was not declared in this scope :info:build COSXScreen.cpp:220: error: ‘DMRemoveExtendedNotifyProc’ was not declared in this scope :info:build COSXScreen.cpp: In static member function ‘static void COSXScreen::displayManagerCallback(void*, SInt16, void*)’: :info:build COSXScreen.cpp:1068: error: ‘kDMNotifyEvent’ was not declared in this scope :info:build COSXScreen.cpp: In member function ‘void COSXScreen::updateScreenShape()’: :info:build COSXScreen.cpp:1398: error: ‘GetMainDevice’ was not declared in this scope -- Ticket URL: <https://trac.macports.org/ticket/31057> MacPorts <http://www.macports.org/> Ports system for Mac OS