Reviewers: danno, Paul Lind, palfia, kisg, dusmil, Benedikt Meurer, Jakob,
Message:
We got the following compilation errors using gcc 4.7:
../test/cctest/test-types.cc: In instantiation of 'void Tests<Type,
TypeHandle,
Region, Rep>::Union() [with Type =
v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>; TypeHandle =
v8::internal::TypeImpl<v8::internal::ZoneTypeConfig>*; Region =
v8::internal::Zone; Rep = ZoneRep]':
../test/cctest/test-types.cc:803:21: required from here
../test/cctest/test-types.cc:433:5: error: 'IsBitset' was not declared in
this
scope, and no declarations were found by argument-dependent lookup at the
point
of instantiation [-fpermissive]
../test/cctest/test-types.cc:433:5: note: declarations in dependent base
'ZoneRep' are not found by unqualified lookup
../test/cctest/test-types.cc:433:5: note: use 'this->IsBitset' instead
Following the suggestion of gcc4.7, this-> solves the problem.
Description:
Fix cctest/test-types.cc to gcc 4.7's name lookup changes.
In GCC 4.7 the name lookup method is changed:
"The C++ compiler no longer performs some extra unqualified lookups it had
performed in the past, namely dependent base class scope lookups and
unqualified
template function lookups."
BUG=
TEST=cctest/test-types
Please review this at https://codereview.chromium.org/143893016/
SVN Base: https://github.com/v8/v8.git@gbl
Affected files (+79, -78 lines):
M test/cctest/test-types.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.