Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9271: C4512 warnings with VS 2013 RTM
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-21 12:05:33
#9271: C4512 warnings with VS 2013 RTM
--------------------------------------+--------------------------
Reporter: sebi707@⦠| Owner: apolukhin
Type: Bugs | Status: reopened
Milestone: Boost 1.56.0 | Component: lexical_cast
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+--------------------------
Changes (by sebi707@â¦):
* status: closed => reopened
* resolution: fixed =>
Comment:
Unfortunatly this didn't fix the warning for me. It seems that you cannot
disable it by just wrapping the class with #pragma warning. The warning
has to be disabled for the whole compilation unit. Here you can find some
more informations: http://stackoverflow.com/questions/3051992/compiler-
warning-at-c-template-base-class
I'm not sure what would be the best way to get rid of the warning.
Declaring the functions as inline seems to work but it's not really a nice
solution.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9271#comment:12> 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:14 UTC