Bug 14930

Summary: fonttosfnt could not compiled with icc
Product: xorg Reporter: Ralf Lehmann <ralf>
Component: App/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ralf Lehmann 2008-03-10 02:08:13 UTC
if icc -DHAVE_CONFIG_H -I. -I. -I.    -DXVENDORNAME=\"X.org\ Foundation\" -I/usr/include/freetype2   -DXVENDORNAMESHORT=\"X.org\" -D_BSD_SOURCE  -O2 -march=core2 -mtune=core2 -xT -gcc  -fno-strict-aliasing -MT fonttosfnt-write.o -MD -MP -MF ".deps/fonttosfnt-write.Tpo" -c -o fonttosfnt-write.o `test -f 'write.c' || echo './'`write.c; \
        then mv -f ".deps/fonttosfnt-write.Tpo" ".deps/fonttosfnt-write.Po"; else rm -f ".deps/fonttosfnt-write.Tpo"; exit 1; fi
write.c(1033): error: a value of type "char [26]" cannot be used to initialize an entity of type "char [16]"
      char name[16] = XVENDORNAME" font    ";

for icc this is a error and he is right.
gcc only gives a warn here

thanks
ralf
Comment 1 Julien Cristau 2008-03-10 06:12:12 UTC

*** This bug has been marked as a duplicate of bug 3928 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.