Don't specialize std::numeric_limits<> for wxLongLong when using VC6.
This doesn't work with VC6 anyhow as it doesn't provide numeric_limits<> specialization for __int64 and results in many warnings C4663 as the standard header itself uses obsolete template specialization syntax. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e2db04f8df
commit
c92e136d9a
@ -1077,6 +1077,12 @@ WXDLLIMPEXP_BASE class wxTextInputStream &operator>>(class wxTextInputStream &st
|
||||
|
||||
#if wxUSE_LONGLONG_NATIVE
|
||||
|
||||
// VC6 is known to not have __int64 specializations of numeric_limits<> in its
|
||||
// <limits> anyhow so don't bother including it, especially as it results in
|
||||
// tons of warnings because the standard header itself uses obsolete template
|
||||
// specialization syntax.
|
||||
#ifndef __VISUALC6__
|
||||
|
||||
#include <limits>
|
||||
|
||||
namespace std
|
||||
@ -1094,6 +1100,8 @@ template<> class numeric_limits<wxULongLong>
|
||||
|
||||
} // namespace std
|
||||
|
||||
#endif // !VC6
|
||||
|
||||
#endif // wxUSE_LONGLONG_NATIVE
|
||||
|
||||
#endif // wxUSE_LONGLONG
|
||||
|
Loading…
Reference in New Issue
Block a user