On Fri, Nov 06, 2015 at 05:11:15AM -0600, Ken Thomases wrote:
Hmm. Does it work if you add #import <CoreVideo/CoreVideo.h> to the imports at the top of cocoa_window.m or, there are still issues, to cocoa_window.h?
It's a little less bad ;-/
gcc -m32 -c -o cocoa_window.o cocoa_window.m -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes \ -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 cocoa_window.m: In function ‘+[WineWindow createWindowWithFeatures:windowFrame:hwnd:queue:]’: cocoa_window.m:690: error: request for member ‘autodisplay’ in something not a structure or union cocoa_window.m: In function ‘-[WineWindow orderBelow:orAbove:activate:]’: cocoa_window.m:1311: warning: ‘WineWindow’ may not respond to ‘-checkWineDisplayLink’ cocoa_window.m:1311: warning: (Messages without a matching method signature cocoa_window.m:1311: warning: will be assumed to return ‘id’ and accept cocoa_window.m:1311: warning: ‘...’ as arguments.) cocoa_window.m:1330: warning: ‘WineWindow’ may not respond to ‘-checkWineDisplayLink’ cocoa_window.m: In function ‘-[WineWindow doOrderOut]’: cocoa_window.m:1371: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1373: warning: ‘WineWindow’ may not respond to ‘-grabDockIconSnapshotFromWindow:force:’ cocoa_window.m:1384: warning: ‘WineWindow’ may not respond to ‘-checkWineDisplayLink’ cocoa_window.m: In function ‘-[WineWindow checkWineDisplayLink]’: cocoa_window.m:1683: warning: ‘WineWindow’ may not respond to ‘-isEmptyShaped’ cocoa_window.m:1690: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1695: warning: ISO C90 forbids mixed declarations and code cocoa_window.m: In function ‘-[WineWindow grabDockIconSnapshotFromWindow:force:]’: cocoa_window.m:1745: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1762: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1775: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1782: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1786: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1789: warning: ISO C90 forbids mixed declarations and code cocoa_window.m:1806: warning: ‘NSImage’ may not respond to ‘-drawInRect:’ cocoa_window.m:1812: warning: ISO C90 forbids mixed declarations and code cocoa_window.m: In function ‘-[WineWindow miniaturize:]’: cocoa_window.m:2032: warning: ISO C90 forbids mixed declarations and code cocoa_window.m: In function ‘-[WineWindow windowWillResize:toSize:]’: cocoa_window.m:2414: warning: ISO C90 forbids mixed declarations and code cocoa_window.m: In function ‘-[WineWindow draggingEntered:]’: cocoa_window.m:2555: warning: ‘WineWindow’ may not respond to ‘-draggingUpdated:’ cocoa_window.m:2555: warning: return makes integer from pointer without a cast