WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17769
WebKit compilation fixes for HP/UX acc
https://bugs.webkit.org/show_bug.cgi?id=17769
Summary
WebKit compilation fixes for HP/UX acc
Simon Hausmann
Reported
2008-03-11 08:40:59 PDT
The three attached patches make the Qt port of WebKit compile on HP/UX using aCC 6.
Attachments
Change forward declarations used with RefPtr
(3.67 KB, patch)
2008-03-11 08:42 PDT
,
Simon Hausmann
no flags
Details
Formatted Diff
Diff
Fix for scoping with broken compilers
(1.95 KB, patch)
2008-03-11 08:43 PDT
,
Simon Hausmann
darin
: review-
Details
Formatted Diff
Diff
Avoid the use of typename with aCC 6
(2.61 KB, patch)
2008-03-11 08:43 PDT
,
Simon Hausmann
darin
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Hausmann
Comment 1
2008-03-11 08:42:47 PDT
Created
attachment 19665
[details]
Change forward declarations used with RefPtr
Simon Hausmann
Comment 2
2008-03-11 08:43:27 PDT
Created
attachment 19666
[details]
Fix for scoping with broken compilers
Simon Hausmann
Comment 3
2008-03-11 08:43:57 PDT
Created
attachment 19667
[details]
Avoid the use of typename with aCC 6
Darin Adler
Comment 4
2008-03-11 12:26:02 PDT
Comment on
attachment 19665
[details]
Change forward declarations used with RefPtr r=me
Darin Adler
Comment 5
2008-03-11 12:26:26 PDT
We're going to need a buildbot using HP/UX, or this will keep regressing over and over again.
Darin Adler
Comment 6
2008-03-11 12:30:34 PDT
Comment on
attachment 19667
[details]
Avoid the use of typename with aCC 6 This is not correctly using include files. Definitions like this should not be in Platform.h. What *should* go in Platform.h is a definition to let us use COMPILER() to identify the HP compiler. The actual macro can either go in ListHashSet.h or a new header, but should not go in Platform.h. Have you checked to see if you can leave typename out with the other compilers? Maybe this doesn't require a macro at all? If it does require a macro, then I don't think WTF_TYPENAME is descriptive enough. It makes it sound like you have to use this everywhere, when really it's only for a few specific call sites. The name will probably need to mention HP specifically.
Darin Adler
Comment 7
2008-03-11 12:32:48 PDT
Comment on
attachment 19666
[details]
Fix for scoping with broken compilers This workaround does not belong in Platform.h. That file only defines macros to identify the platform, not workarounds for bugs or anything like that. It should not be commandeered for this new purpose. +#if (defined(_MSC_VER) && _MSC_VER-0 < 1300 && !defined(__INTEL_COMPILER)) || defined(__sgi) || (defined(__HP_aCC) && defined(__ia64)) This is not how we do things with the Platform.h file. You should be using the COMPILER() macros defined in there and adding new ones as needed. This should go in a new header file. There may be some clever way of including it in all the projects, but adding it to Platform.h is not right.
Darin Adler
Comment 8
2008-03-16 13:25:46 PDT
Comment on
attachment 19665
[details]
Change forward declarations used with RefPtr Committed revision 31082.
Darin Adler
Comment 9
2008-03-16 13:26:08 PDT
Comment on
attachment 19665
[details]
Change forward declarations used with RefPtr Cleared review flag since this was landed so it doesn't show up in the uncommitted queue.
Alexey Proskuryakov
Comment 10
2010-06-11 17:27:44 PDT
Marking as fixed, because something was landed here. Please open new bugs for other patches if they are still needed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug