| Summary: | Type clash warnings in CSSGrammar.y | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Akos Kiss <akiss> | ||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, darin, koivisto, simon.fraser | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 240733 [details]
Proposed patch.
Caused no regression.
Comment on attachment 240733 [details] Proposed patch. Clearing flags on attachment: 240733 Committed r175415: <http://trac.webkit.org/changeset/175415> All reviewed patches have been landed. Closing bug. |
When building WebKit (release, for x86-64/Linux/GTK, but actually there is/should be nothing platform or port-specific in the issue), bison is emitting the following warnings: [190/4820] Generating ../../DerivedSources/WebCore/CSSGrammar.h, ../../DerivedSources/WebCore/CSSGrammar.cpp /home/akiss/devel/WebKit/WebKitBuild/Release/DerivedSources/WebCore/CSSGrammar.y:576.17-25: warning: type clash on default action: <boolean> != <> [-Wother] supports_error: error ';' | error invalid_block ; ^^^^^^^^^ /home/akiss/devel/WebKit/WebKitBuild/Release/DerivedSources/WebCore/CSSGrammar.y:576.29-47: warning: type clash on default action: <boolean> != <> [-Wother] supports_error: error ';' | error invalid_block ; ^^^^^^^^^^^^^^^^^^^ Actually, this causes no issues when running the generated code but it would be cleaner to get rid of the warnings and make bison happy, IMHO.