Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
4.8.0
-
None
-
linux x86_64
gcc 4.6.1
Description
1. src/3rdparty/webkit/Source/JavaScriptCore/wtf/TypeTraits.h
src3/rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h
line 27
#if (defined(_GLIBCXX) && (GLIBCXX_ >= 20070724) && defined(_GXX_EXPERIMENTAL_CXX0X_)) ...
#include <type_traits>
#endif
line 169
#if (defined(_GLIBCXX) && (GLIBCXX_ >= 20070724) && defined(_GXX_EXPERIMENTAL_CXX0X_))
template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
....
Problem:
<type_traits> lies in include/c++/4.6 (and in it isn't present tr1)
Second <type_traits> lies in include/c++/4.6/tr1 ==> <tr1/type_traits>
2. src/3rdparty/webkit/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
line 39 (Bad line)
using namespace std;
line 1109 (Bad result)
if (isnan(number) ...
Problem:
/usr/include/bits/mathcalls.h - int isnan(double)
c++/4.6/cmath - bool std::isnan(double)
gcc can't select
3. /usr/local/Trolltech/QtSources/4.8.0/src/3rdparty/webkit/Source/JavaScriptCore/wtf/MathExtras.h
In file included from runtime/JSValue.h:32:0,
from runtime/CachedTranscendentalFunction.h:29,
from runtime/JSGlobalData.h:32,
from interpreter/CallFrame.h:26,
from runtime/ArgList.h:25,
from runtime/JSObject.h:26,
from wtf/DateMath.cpp:79:
./wtf/MathExtras.h:253:12: ошибка: в этой области видимости уже есть декларация (In this area of visibility already there is a declaration) «isinf»
./wtf/MathExtras.h:254:12: ошибка: в этой области видимости уже есть декларация «isnan»
gmake[2]: *** [.obj/release-static/DateMath.o] Ошибка 1