[Bug 6359] New: mscms compile error

Wine Bugs wine-bugs at winehq.org
Mon Oct 2 19:50:37 CDT 2006


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

           Summary: mscms compile error
           Product: Wine
           Version: CVS
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-winelib
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: hys545 at dreamwiz.com


I checked wine-git-2006-10-3


[root at localhost mscms]# make

gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT
-fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement
-Wwrite-strings -Wpointer-arith  -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 
-o profile.o profile.c
profile.c: In function 'GetColorDirectoryA':
profile.c:83: warning: passing argument 3 of 'GetColorDirectoryW' from
incompatible pointer type
profile.c:94: warning: passing argument 3 of 'GetColorDirectoryW' from
incompatible pointer type
profile.c: At top level:
profile.c:167: error: conflicting types for 'GetColorProfileElement'
../../include/icm.h:358: error: previous declaration of 'GetColorProfileElement'
was here
profile.c: In function 'GetColorProfileElement':
profile.c:174: warning: format '%d' expects type 'int', but argument 7 has type
'LCMS_DWORD'
profile.c: At top level:
profile.c:221: error: conflicting types for 'GetColorProfileElementTag'
../../include/icm.h:359: error: previous declaration of
'GetColorProfileElementTag' was here
profile.c: In function 'GetColorProfileElementTag':
profile.c:228: warning: format '%d' expects type 'int', but argument 6 has type
'LCMS_DWORD'
profile.c: At top level:
profile.c:359: error: conflicting types for 'GetStandardColorSpaceProfileA'
../../include/icm.h:368: error: previous declaration of
'GetStandardColorSpaceProfileA' was here
profile.c: In function 'GetStandardColorSpaceProfileA':
profile.c:365: warning: format '%08x' expects type 'unsigned int', but argument
5 has type 'LCMS_DWORD'
profile.c:383: warning: passing argument 4 of 'GetStandardColorSpaceProfileW'
from incompatible pointer type
profile.c:392: warning: passing argument 4 of 'GetStandardColorSpaceProfileW'
from incompatible pointer type
profile.c: At top level:
profile.c:423: error: conflicting types for 'GetStandardColorSpaceProfileW'
../../include/icm.h:369: error: previous declaration of
'GetStandardColorSpaceProfileW' was here
profile.c: In function 'GetStandardColorSpaceProfileW':
profile.c:430: warning: format '%08x' expects type 'unsigned int', but argument
5 has type 'LCMS_DWORD'
profile.c:450: warning: passing argument 3 of 'GetColorDirectoryW' from
incompatible pointer type
profile.c: In function 'MSCMS_header_from_file':
profile.c:481: warning: passing argument 3 of 'GetColorDirectoryW' from
incompatible pointer type
profile.c: In function 'EnumColorProfilesA':
profile.c:627: warning: passing argument 3 of 'GetColorDirectoryA' from
incompatible pointer type
profile.c: In function 'EnumColorProfilesW':
profile.c:774: warning: passing argument 3 of 'GetColorDirectoryW' from
incompatible pointer type
profile.c: In function 'InstallColorProfileW':
profile.c:916: warning: passing argument 3 of 'GetColorDirectoryW' from
incompatible pointer type
profile.c: At top level:
profile.c:1021: error: conflicting types for 'SetColorProfileElement'
../../include/icm.h:383: error: previous declaration of 'SetColorProfileElement'
was here
profile.c: In function 'SetColorProfileElement':
profile.c:1028: warning: format '%d' expects type 'int', but argument 7 has type
'LCMS_DWORD'
profile.c: At top level:
profile.c:1145: error: conflicting types for 'OpenColorProfileA'
../../include/icm.h:376: error: previous declaration of 'OpenColorProfileA' was here
profile.c: In function 'OpenColorProfileA':
profile.c:1148: warning: format '%08x' expects type 'unsigned int', but argument
6 has type 'LCMS_DWORD'
profile.c:1148: warning: format '%08x' expects type 'unsigned int', but argument
7 has type 'LCMS_DWORD'
profile.c:1148: warning: format '%08x' expects type 'unsigned int', but argument
8 has type 'LCMS_DWORD'
profile.c: At top level:
profile.c:1201: error: conflicting types for 'OpenColorProfileW'
../../include/icm.h:377: error: previous declaration of 'OpenColorProfileW' was here
profile.c: In function 'OpenColorProfileW':
profile.c:1208: warning: format '%08x' expects type 'unsigned int', but argument
6 has type 'LCMS_DWORD'
profile.c:1208: warning: format '%08x' expects type 'unsigned int', but argument
7 has type 'LCMS_DWORD'
profile.c:1208: warning: format '%08x' expects type 'unsigned int', but argument
8 has type 'LCMS_DWORD'
profile.c:1255: warning: passing argument 4 of 'ReadFile' from incompatible
pointer type
profile.c: In function 'CloseColorProfile':
profile.c:1301: warning: passing argument 4 of 'WriteFile' from incompatible
pointer type
make: *** [profile.o] Error 1

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list