[Bug 34162] CGDirectPaletteRef has been deprecated so winemac.drv can't be compiled in Mavericks.

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 8 16:21:44 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34162

--- Comment #2 from Parahexen <parahexen at gmail.com> 2013-08-08 16:21:44 CDT ---
Created attachment 45553
  --> http://bugs.winehq.org/attachment.cgi?id=45553
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/Headers/CGDirectDisplay.h

/usr/local/bin/gcc-4.2 -m32 -c -I. -I. -I../../include -I../../include 
-D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wwrite-strings
-Wpointer-arith -fno-omit-frame-pointer -I/opt/X11/include
-I/usr/include/libxml2 -Os -w -pipe -march=core2 -msse4
-mmacosx-version-min=10.9 -arch i386 -m32  -o main.o main.c
/usr/local/bin/gcc-4.2 -m32 -c -I. -I. -I../../include -I../../include 
-D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wwrite-strings
-Wpointer-arith -fno-omit-frame-pointer -I/opt/X11/include
-I/usr/include/libxml2 -Os -w -pipe -march=core2 -msse4
-mmacosx-version-min=10.9 -arch i386 -m32  -o clipping.o clipping.c
gdi.c:144:5: error: use of undeclared identifier 'CGDirectPaletteRef'
    CGDirectPaletteRef palette;
    ^
clang -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wwrite-strings
-Wpointer-arith -fno-omit-frame-pointer -I/opt/X11/include
-I/usr/include/libxml2 -Os -w -pipe -march=core2 -msse4
-mmacosx-version-min=10.9 -arch i386 -m32  -o image.o image.c
gdi.c:190:5: error: use of undeclared identifier 'palette'
    palette = CGPaletteCreateWithDisplay(mainDisplay);
    ^
gdi.c:191:9: error: use of undeclared identifier 'palette'
    if (palette)
        ^
gdi.c:193:52: error: use of undeclared identifier 'palette'
        palette_size = CGPaletteGetNumberOfSamples(palette);
                                                   ^
gdi.c:194:26: error: use of undeclared identifier 'palette'
        CGPaletteRelease(palette);
                         ^
5 errors generated.
make[1]: *** [gdi.o] Error 1
make[1]: *** Waiting for unfinished jobs....

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list