[Boost-bugs] [Boost C++ Libraries] #4184: compiler warnings in VC9

Subject: [Boost-bugs] [Boost C++ Libraries] #4184: compiler warnings in VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-04 06:18:01

#4184: compiler warnings in VC9
 Reporter: Michael Stellmann <stellmann@…> | Owner: nasonov
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: lexical_cast
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
 lexical_cast issues the following warning under VC8 and higher at warning
 level 3:

 e:\develop\libs\boost_1_42_0\boost\lexical_cast.hpp(1151) : warning C4267:
 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of

 The code seems to have been restructured a bit to fix ticket #3198 (or
 #1791), a block of disabled warnings (currently '4701' and '4702') has
 been introduced.

 The problem can be worked-around when adding a statement to disable the
 warning '4267' in the same block.

Ticket URL: <https://svn.boost.org/trac/boost/ticket/4184>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC