Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4759: shared_ptr to bool cast with Intel C++ Compiler 11.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-05 11:47:17
#4759: shared_ptr to bool cast with Intel C++ Compiler 11.1
-------------------------------+--------------------------------------------
Reporter: abrarov@⦠| Owner: pdimov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: shared_ptr Intel bool cast
-------------------------------+--------------------------------------------
Comment (by abrarov@â¦):
Replying to [comment:3 abrarov@â¦]:
> It seems (working with Boost 1.46 with
> {{{
> #undef BOOST_NO_RVALUE_REFERENCES
> }}}
> added to ''boost/config/compiler/intel.hpp'') that compiler option
(added from ''Commind Line'' memo in project settings) '''''/vmg''''' is
the source of problem.
>
> I will update [http://sourceforge.net/projects/asio-samples/ asio-
samples project] in a week to provide public access to Intel-
Compiler-12-based projects.
Done. Project "echo_server" works fine with ICC 12.x and suggested patch
and crashes because of shared_ptr-to-bool cast
(src/ma/echo/server/session_manager.cpp: line 316) without patch.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4759#comment:4> 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:05 UTC