Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8042 closed Bugs (fixed)

multiprecision, C4819 and C4996 warning in VS2012

Reported by: taku5050@… Owned by: John Maddock
Milestone: To Be Determined Component: multiprecision
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

when running this program, C4819 and C4996 warning in Visual C++ Nov 2012 CTP.

#include <boost/multiprecision/cpp_int.hpp>

int main()
{
	using boost::multiprecision::cpp_int;
	cpp_int a = 1;
	a = 2;
}

Change History (5)

comment:1 by John Maddock, 10 years ago

What generates the C4819 warning? I can't reproduce here.

comment:2 by taku5050@…, 10 years ago

C4819 warning is in boost/type_traits/detail/has_binary_operator.hpp. According to MSDN, C4819 warning occur to compile source codes written in English environment in the Japanese environment.

comment:3 by Michel Morin, 10 years ago

boost/type_traits/detail/has_binary_operator.hpp contains a non-ascii character (i.e. a non-breaking space). Since this is trivial to fix, I'll fix it soon.

comment:4 by Michel Morin, 10 years ago

Resolution: fixed
Status: newclosed

(In [82830]) Removing a non-ascii character (i.e. a non-breaking space); fixes #8042.

comment:5 by Michel Morin, 10 years ago

John fixed the C4996 warning in [82839].

Note: See TracTickets for help on using tickets.