http://bugs.winehq.org/show_bug.cgi?id=7605
Summary: mscms compile error(in wine-git-2007-3-3 & lcms-2007-3- 3) Product: Wine Version: CVS Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: hys545@dreamwiz.com
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -o profile.o profile.c profile.c:70: warning: data definition has no type or storage class profile.c:70: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:70: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:70: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetColorDirectoryA¡¯ profile.c:119: warning: data definition has no type or storage class profile.c:119: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:119: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:119: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetColorDirectoryW¡¯ profile.c:165: warning: data definition has no type or storage class profile.c:165: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:165: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:165: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetColorProfileElement¡¯ profile.c:220: warning: data definition has no type or storage class profile.c:220: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:220: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:220: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetColorProfileElementTag¡¯ profile.c:262: warning: data definition has no type or storage class profile.c:262: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:262: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:262: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetColorProfileFromHandle¡¯ profile.c:306: warning: data definition has no type or storage class profile.c:306: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:306: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:306: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetColorProfileHeader¡¯ profile.c:337: warning: data definition has no type or storage class profile.c:337: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:337: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:337: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetCountColorProfileElements¡¯ profile.c:358: warning: data definition has no type or storage class profile.c:358: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:358: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:358: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetStandardColorSpaceProfileA¡¯ profile.c:421: warning: data definition has no type or storage class profile.c:421: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:421: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:421: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®GetStandardColorSpaceProfileW¡¯ profile.c:474: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®MSCMS_header_from_file¡¯ profile.c:516: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®MSCMS_match_profile¡¯ profile.c:609: warning: data definition has no type or storage class profile.c:609: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:609: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:609: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®EnumColorProfilesA¡¯ profile.c:758: warning: data definition has no type or storage class profile.c:758: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:758: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:758: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®EnumColorProfilesW¡¯ profile.c:870: warning: data definition has no type or storage class profile.c:870: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:870: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:870: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®InstallColorProfileA¡¯ profile.c:907: warning: data definition has no type or storage class profile.c:907: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:907: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:907: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®InstallColorProfileW¡¯ profile.c:945: warning: data definition has no type or storage class profile.c:945: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:945: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:945: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®IsColorProfileTagPresent¡¯ profile.c:988: warning: data definition has no type or storage class profile.c:988: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:988: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:988: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®IsColorProfileValid¡¯ profile.c:1020: warning: data definition has no type or storage class profile.c:1020: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:1020: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:1020: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®SetColorProfileElement¡¯ profile.c:1066: warning: data definition has no type or storage class profile.c:1066: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:1066: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:1066: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®SetColorProfileHeader¡¯ profile.c:1090: warning: data definition has no type or storage class profile.c:1090: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:1090: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:1090: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®UninstallColorProfileA¡¯ profile.c:1129: warning: data definition has no type or storage class profile.c:1129: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:1129: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:1129: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®UninstallColorProfileW¡¯ profile.c:1287: warning: data definition has no type or storage class profile.c:1287: warning: type defaults to ¡®int¡¯ in declaration of ¡®LCMS_BOOL¡¯ profile.c:1287: warning: ¡®__stdcall__¡¯ attribute only applies to function types profile.c:1287: error: expected ¡®,¡¯ or ¡®;¡¯ before ¡®CloseColorProfile¡¯ make: *** [profile.o] ¿À·ù 1 [root@localhost mscms]#