WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 40503
Fix various warnings that are reported when building with clang
https://bugs.webkit.org/show_bug.cgi?id=40503
Summary
Fix various warnings that are reported when building with clang
Nico Weber
Reported
2010-06-11 15:38:02 PDT
Fix various warnings that are reported when building with clang
Attachments
Patch (incomplete, hence no r? yet)
(12.09 KB, patch)
2010-06-11 16:04 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
patch
(12.90 KB, patch)
2010-06-11 16:47 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
patch
(11.80 KB, patch)
2010-06-11 16:50 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
const_cast
(11.83 KB, patch)
2010-06-11 23:35 PDT
,
Nico Weber
dbates
: commit-queue-
Details
Formatted Diff
Diff
patch
(11.53 KB, patch)
2010-06-14 22:29 PDT
,
Nico Weber
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Nico Weber
Comment 1
2010-06-11 16:04:18 PDT
Created
attachment 58519
[details]
Patch (incomplete, hence no r? yet)
Nico Weber
Comment 2
2010-06-11 16:47:54 PDT
Created
attachment 58527
[details]
patch
Nico Weber
Comment 3
2010-06-11 16:50:06 PDT
Created
attachment 58528
[details]
patch
Eric Seidel (no email)
Comment 4
2010-06-11 16:53:25 PDT
Comment on
attachment 58528
[details]
patch WebCore/bindings/v8/NPV8Object.cpp: + static WrapperTypeInfo typeInfo = { 0, 0, false }; Can't we just change the expected type to be a bool? That would be cleaner. Otherwise looks fine.
Nico Weber
Comment 5
2010-06-11 16:56:50 PDT
No, since ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object> object) in bindings/v8/WrapperTypeInfo.h calls toActiveDOMObjectFunction as function pointer. Were it a bool, it couldn't be called.
Eric Seidel (no email)
Comment 6
2010-06-11 16:57:41 PDT
Comment on
attachment 58528
[details]
patch OK.
Nico Weber
Comment 7
2010-06-11 23:35:25 PDT
Created
attachment 58543
[details]
const_cast
Daniel Bates
Comment 8
2010-06-11 23:48:00 PDT
Comment on
attachment 58543
[details]
const_cast
> class AnimationBase : public RefCounted<AnimationBase> { > friend class CompositeAnimation; > > Property changes on: WebCore/platform/KillRing.h > ___________________________________________________________________ > Added: svn:eol-style > + LF > > > Property changes on: WebCore/platform/KillRingNone.cpp > ___________________________________________________________________ > Added: svn:eol-style > + LF
This cannot be landed by the commit-queue because it contains property changes. Moreover, why does this patch change the end-of-line property on these files?
Nico Weber
Comment 9
2010-06-14 22:29:13 PDT
Created
attachment 58753
[details]
patch The prop changes are unrelated. Since the commit queue just ignores them, I thought they are harmless to leave in (I think I've left them in before). Anyway, removed.
Kent Tamura
Comment 10
2010-06-14 22:33:39 PDT
Comment on
attachment 58753
[details]
patch OK
Eric Seidel (no email)
Comment 11
2010-06-16 03:16:11 PDT
Comment on
attachment 58528
[details]
patch Cleared Eric Seidel's review+ from obsolete
attachment 58528
[details]
so that this bug does not appear in
http://webkit.org/pending-commit
.
WebKit Commit Bot
Comment 12
2010-06-17 17:01:07 PDT
Comment on
attachment 58753
[details]
patch Clearing flags on attachment: 58753 Committed
r61360
: <
http://trac.webkit.org/changeset/61360
>
WebKit Commit Bot
Comment 13
2010-06-17 17:01:12 PDT
All reviewed patches have been landed. Closing bug.
Lucas De Marchi
Comment 14
2010-06-18 04:26:11 PDT
***
Bug 40622
has been marked as a duplicate of this bug. ***
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