http://codereview.chromium.org/5968004/diff/5/src/utils.h
File src/utils.h (right):

http://codereview.chromium.org/5968004/diff/5/src/utils.h#newcode757
src/utils.h:757: inline Dest BitCast(Source*& source) {
On 2011/01/05 12:23:13, Erik Corry wrote:
Why is this needed?

I get many errors like this from GCC 3.4.3.


src/factory.h: In static member function `static
v8::internal::Handle<v8::internal::Map>
v8::internal::Factory::byte_array_map()':
src/factory.h:344: error: call of overloaded
`BitCast(v8::internal::Object**)' is ambiguous
src/utils.h:746: note: candidates are: Dest v8::internal::BitCast(const
Source&) [with Dest = v8::internal::Map**, Source =
v8::internal::Object**]
src/utils.h:757: note:                 Dest
v8::internal::BitCast(Source*) [with Dest = v8::internal::Map**, Source
= v8::internal::Object*]


There was a patch for this change before:
http://codereview.chromium.org/3130033/show

http://codereview.chromium.org/5968004/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to