Error build a driver.
Closed this issue · 3 comments
Urich commented
Project Driver Win x32 MSVC 2013/2015
c:\project\repos\ontl\ntl\stlx\type_traits_msvc.hxx(585): error C4296: '<' : expression is always false
2> c:\project\repos\ontl\ntl\stlx\ext/numeric_conversions.hxx(371) : see reference to class template instantiation 'std::is_signed<T>' being compiled
2> with
2> [
2> T=unsigned __int64
2> ]
2> c:\project\repos\ontl\ntl\nt\../stlx/stdstring.hxx(2047) : see reference to function template instantiation 'char *ntl::numeric::itoa<unsigned __int64>(T,char *,size_t,int,size_t *)' being compiled
2> with
2> [
2> T=unsigned __int64
2> ]
2>c:\project\repos\ontl\ntl\stlx\tuple.hxx(180): error C4296: '>=' : expression is always true
2> c:\project\repos\ontl\ntl\stlx\stoi.hxx(21) : see reference to class template instantiation 'std::tuple<ttl::meta::empty_type,ttl::meta::empty_type,ttl::meta::empty_type,ttl::meta::empty_type,ttl::meta::empty_type>' being compiled
2>c:\project\repos\ontl\ntl\stlx\tuple.hxx(154): error C4296: '<' : expression is always false
2>c:\project\repos\ontl\ntl\stlx\tuple.hxx(168): error C4296: '<' : expression is always false
icestudent commented
Warnings as errors? Disable 4296, its easier way to fix.
Urich commented
I tried to fix it / W3 / WX / Wd 4296, but no effect.
Urich commented
This bug in MSVC. Fix only: #pragma warning(disable : 4296)