Bug 8013

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 Flags
Add class predeclare darin: review-

Michael Emmel
Reported 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.
Attachments
Add class predeclare (296 bytes, patch)
2006-03-27 08:37 PST, Michael Emmel
darin: review-
Michael Emmel
Comment 1 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.
Darin Adler
Comment 2 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.
Darin Adler
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.