Summary: | Strange bug in RenderTheme | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Emmel <mike.emmel> | ||||
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Michael Emmel
2006-03-27 08:35:03 PST
Created attachment 7332 [details]
Add class predeclare
As I said on the website and in this bug this patch concernse me since it seems to expose a compiler bug.
Comment on attachment 7332 [details]
Add class predeclare
I believe the correct fix for this is actually to put the declaration of CSSStyleSelector in render_style.h, since that file uses it in a friend declaration. I'll take care of it.
This has something to do with how the compiler handles friend declarations for classes that have not yet been declared. This has been a problem area for gcc in the past. The gcc version being used by most developers Apple is based on gcc 4.0.0. I wouldn't be too worried about this particular issue. |