WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
24723
Use the proper definition of RETURN_PAIR on !MSVC
https://bugs.webkit.org/show_bug.cgi?id=24723
Summary
Use the proper definition of RETURN_PAIR on !MSVC
Mike Hommey
Reported
2009-03-20 12:12:59 PDT
See
https://lists.webkit.org/pipermail/webkit-dev/2009-March/007121.html
for some details. I'll be attaching a patch here.
Attachments
patch
(767 bytes, patch)
2009-03-20 12:13 PDT
,
Mike Hommey
no flags
Details
Formatted Diff
Diff
patch
(1.41 KB, patch)
2009-03-20 12:15 PDT
,
Mike Hommey
no flags
Details
Formatted Diff
Diff
patch v2
(1.11 KB, patch)
2009-03-24 15:07 PDT
,
Mike Hommey
gustavo
: review-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Mike Hommey
Comment 1
2009-03-20 12:13:37 PDT
Created
attachment 28793
[details]
patch
Mike Hommey
Comment 2
2009-03-20 12:15:19 PDT
Created
attachment 28794
[details]
patch Better with an actual patch, not only the changelog
Jan Alonzo
Comment 3
2009-03-20 18:31:19 PDT
Landed in
r41886
. Cheers,
Gustavo Noronha (kov)
Comment 4
2009-03-21 11:17:42 PDT
Comment on
attachment 28794
[details]
patch this patch should probably be reworked to account for this change:
https://bugs.webkit.org/attachment.cgi?id=28824
Gustavo Noronha (kov)
Comment 5
2009-03-21 11:18:40 PDT
Reopening because the change was reverted.
Mike Hommey
Comment 6
2009-03-24 15:07:45 PDT
Created
attachment 28911
[details]
patch v2 I think this patch should be safe. I see no reason why any 32-bits platforms couldn't use the second definition, while 64-bits platforms (only x86-64 at the moment) use the first one. It makes things simpler on the long term, IMHO.
Gustavo Noronha (kov)
Comment 7
2009-05-09 10:20:07 PDT
Comment on
attachment 28911
[details]
patch v2
> -// The Mac compilers are fine with this, > -#if PLATFORM(MAC) > +#if PLATFORM(X86_64)
I think you want something like this here: #if PLATFORM(X86_64) || PLATFORM(MAC) That's because your patch will disable the usage of this struct for x86-macs, which is not desired in my experience with similar patches.
> struct VoidPtrPair { > void* first; > void* second;
Geoffrey Garen
Comment 8
2009-05-09 18:49:18 PDT
(In reply to
comment #7
)
> (From update of
attachment 28911
[details]
[review]) > > -// The Mac compilers are fine with this, > > -#if PLATFORM(MAC) > > +#if PLATFORM(X86_64)
This change was already made on TOT.
Gustavo Noronha (kov)
Comment 9
2009-05-09 19:03:22 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > (From update of
attachment 28911
[details]
[review] [review]) > > > -// The Mac compilers are fine with this, > > > -#if PLATFORM(MAC) > > > +#if PLATFORM(X86_64) > > This change was already made on TOT. >
My bad. Thanks for looking!
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