zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #07902
[Bug 983628] [NEW] Latest Integer/Decimal/Float changes break Windows build
Public bug reported:
I happen to think the Windows compiler is just plain wrong. The entire
*point* of enable_if is to be able to use it via the C++ SFINAE
technique. The compiler happily accepts enable_if in other contexts.
Sigh....
decimal.cpp
C:\dev\bug867112\src\zorbatypes\decimal.cpp(260) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::Decimal &
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(261) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::Decimal &
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(324) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(324) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(325) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(325) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
** Affects: zorba
Importance: Critical
Assignee: Paul J. Lucas (paul-lucas)
Status: New
** Description changed:
I happen to think the Windows compiler is just plain wrong. The entire
*point* of enable_if is to be able to use it via the C++ SFINAE
- technique. Sigh...
-
+ technique. The compiler happily accepts enable_if in other contexts.
+ Sigh....
decimal.cpp
C:\dev\bug867112\src\zorbatypes\decimal.cpp(260) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::Decimal &
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::Decimal &
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(261) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::Decimal &
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::Decimal &
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<__int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<__int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<unsigned __int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<unsigned __int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<__int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<__int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<unsigned __int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<unsigned __int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<__int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<__int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<unsigned __int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<unsigned __int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<__int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<__int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<unsigned __int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<unsigned __int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<__int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<__int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=zorba::IntegerImpl<unsigned __int64>
- ]
+ with
+ [
+ _Test=false,
+ _Type=zorba::IntegerImpl<unsigned __int64>
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(324) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(324) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(325) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(325) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
- with
- [
- _Test=false,
- _Type=bool
- ]
+ with
+ [
+ _Test=false,
+ _Type=bool
+ ]
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/983628
Title:
Latest Integer/Decimal/Float changes break Windows build
Status in Zorba - The XQuery Processor:
New
Bug description:
I happen to think the Windows compiler is just plain wrong. The entire
*point* of enable_if is to be able to use it via the C++ SFINAE
technique. The compiler happily accepts enable_if in other contexts.
Sigh....
decimal.cpp
C:\dev\bug867112\src\zorbatypes\decimal.cpp(260) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::Decimal &
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(261) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::Decimal &
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<__int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=zorba::IntegerImpl<unsigned __int64>
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(324) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(324) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(325) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(325) : error C2794: 'type' : is not a member of any direct or indirect base class of 'std::tr1::enable_if<_Test,_Type>'
with
[
_Test=false,
_Type=bool
]
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/983628/+subscriptions
Follow ups
References