[Webkit-unassigned] [Bug 58437] New: WebKit fails to build with gcc 4.6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 13 06:10:08 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58437

           Summary: WebKit fails to build with gcc 4.6
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thierry.reding at avionic-design.de


When the Source/WebCore/dom/make_names.pl script is run, the C preprocessor
is run with the -P option. Apparently, the preprocessor behavior was changed
in gcc 4.6 because running with the -P option makes it eat all empty lines,
which gcc 4.5 doesn't. The make_names.pl script, however, relies on these
empty lines when parsing.

The attached patch removes the -P option when invoking the preprocessor.
Apart from keeping the empty lines, this has the side-effect of outputting
some preprocessor output. However these lines (starting with a #) are
already being ignored by make_names.pl such that the preprocessed files can
be properly parsed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list