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-

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.