Bug 136633 - [WinCairo] Compile error.
Summary: [WinCairo] Compile error.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-08 09:15 PDT by peavo
Modified: 2014-09-08 12:21 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.72 KB, patch)
2014-09-08 09:18 PDT, peavo
no flags Details | Formatted Diff | Diff
Patch (1.03 KB, patch)
2014-09-08 10:16 PDT, peavo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2014-09-08 09:15:07 PDT
Compiling AudioHardwareListener.cpp, I get the following compile error:

AudioHardwareListener.h(35) : error C2365 : 'Unknown' : redefinition; previous definition was 'enumerator' (..\html\HTMLElementsAllInOne.cpp) C:\WebKit\Source\WebCore\platform\network\HTTPParsers.h(84) : see declaration of 'Unknown'.
Comment 1 peavo 2014-09-08 09:18:24 PDT
Created attachment 237791 [details]
Patch
Comment 2 peavo 2014-09-08 10:16:28 PDT
Created attachment 237793 [details]
Patch
Comment 3 peavo 2014-09-08 10:17:47 PDT
(In reply to comment #2)
> Created an attachment (id=237793) [details]
> Patch

Previous patch caused some new compile errors.
Comment 4 Darin Adler 2014-09-08 10:26:15 PDT
Comment on attachment 237793 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237793&action=review

> Source/WebCore/platform/audio/AudioHardwareListener.h:34
> +enum class AudioHardwareActivityType {

I’m amazed that this compiles without adding AudioHardwareActivityType:: prefixes in various places. But if it does, great!
Comment 5 WebKit Commit Bot 2014-09-08 11:54:21 PDT
Comment on attachment 237793 [details]
Patch

Clearing flags on attachment: 237793

Committed r173391: <http://trac.webkit.org/changeset/173391>
Comment 6 WebKit Commit Bot 2014-09-08 11:54:25 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 peavo 2014-09-08 12:21:00 PDT
(In reply to comment #4)
> (From update of attachment 237793 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=237793&action=review
> 
> > Source/WebCore/platform/audio/AudioHardwareListener.h:34
> > +enum class AudioHardwareActivityType {
> 
> I’m amazed that this compiles without adding AudioHardwareActivityType:: prefixes in various places. But if it does, great!

Seems to build on all builders, thanks for reviewing :)