Bug 26115 - CString incompletely declared in PlatformString.h
Summary: CString incompletely declared in PlatformString.h
Status: RESOLVED DUPLICATE of bug 26114
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 04:15 PDT by Wang Lu
Modified: 2009-06-01 10:25 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wang Lu 2009-06-01 04:15:07 PDT
in WebCore/platform/text/PlatformString.h, CString is used, but instead of including CString.h, the statement 

class CString;

is used. 


So now I'm using some methods of the String class, and I get a compilation error of incomplete type 'CString'.

I checked several source files in WebCore, CString.h is always included before PlatformString.h.

So why not include CString.h in PlatformString.h? Is it by designed?
Comment 1 Mark Rowe (bdash) 2009-06-01 10:25:06 PDT

*** This bug has been marked as a duplicate of 26114 ***