Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error build a driver. #1

Closed
Urich opened this issue Nov 26, 2016 · 3 comments
Closed

Error build a driver. #1

Urich opened this issue Nov 26, 2016 · 3 comments

Comments

@Urich
Copy link

Urich commented Nov 26, 2016

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
Copy link
Owner

Warnings as errors? Disable 4296, its easier way to fix.

@Urich
Copy link
Author

Urich commented Nov 26, 2016

I tried to fix it / W3 / WX / Wd 4296, but no effect.

@Urich
Copy link
Author

Urich commented Nov 26, 2016

This bug in MSVC. Fix only: #pragma warning(disable : 4296)

@Urich Urich closed this as completed Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants