Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13423: boost log misses user-defined operator<< in MSVC 2017 1.12.111.1002
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-28 13:50:28
#13423: boost log misses user-defined operator<< in MSVC 2017 1.12.111.1002
----------------------------------+-----------------------------
Reporter: matthew.malcomson@⦠| Owner: Andrey Semashev
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: log
Version: Boost 1.65.0 | Severity: Problem
Resolution: wontfix | Keywords:
----------------------------------+-----------------------------
Changes (by Andrey Semashev):
* status: new => closed
* resolution: => wontfix
Comment:
I have been able to reproduce this with Visual Studio 2017 v15.5.5,
compiler version 19.12.25835. The program fails to use the custom
`operator<<` when compiled with this command line:
cl /Od /MD /EHsc /I <Boost root> -c <source file>
and succeeds when /Ob1 is added.
Unfortunately, this is a compiler bug that I cannot work around in the
library. Turning optimizations on or off definitely should not influence
function lookup rules. I recommend you report this to
[https://connect.microsoft.com/ Microsoft].
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13423#comment:1> 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 : 2018-01-28 13:55:27 UTC