http://bugs.winehq.org/show_bug.cgi?id=33535
Bug #: 33535 Summary: Got compile error with gcc 4.7.2 Product: Wine Version: 1.5.29 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv AssignedTo: wine-bugs@winehq.org ReportedBy: atenzd@gmail.com Classification: Unclassified
My OS info: OS: Fedora 18 Kernel: 3.8.11-200.fc18.i686.PAE GCC: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8)
I got compile error when running "make depend" of wine-1.5.29. The build log pointed out that wine-1.5.29/dlls/wineps.drv/data/Palatino_BoldItalic.o was an empty file. I found that the Palatino_Italic.o、Palatino_Roman.o and Symbol.o were also empty.
From the build log, I found these four files were compiled with these
parameters: "gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O2 -o data/Palatino_BoldItalic.o data/Palatino_BoldItalic.c" and the problem occur with "-Wignored-qualifiers". I recompiled these four file manually without "-Wignored-qualifiers" and got nonempty files. Then I run "make" again and no error occurs.