Bug 8013 - Strange bug in RenderTheme
Summary: Strange bug in RenderTheme
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 420+
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2006-03-27 08:35 PST by Michael Emmel
Modified: 2006-03-27 20:21 PST (History)
0 users

See Also:

Add class predeclare (296 bytes, patch)
2006-03-27 08:37 PST, Michael Emmel
darin: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Emmel 2006-03-27 08:35:03 PST
I'm concerned about the c++ support on the Mac because this bug seems to 
actually be a compiler bug.
Comment 1 Michael Emmel 2006-03-27 08:37:15 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 2 Darin Adler 2006-03-27 14:06:57 PST
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.
Comment 3 Darin Adler 2006-03-27 14:13:47 PST
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.