Am 14.01.2016 um 20:58 schrieb Georg Baum:

Please continue. I will have to switch to MinGW because Qt 5.6 does not
support MSVC 2010 and due to a bug in our code MSVC 2012, 2013 and 2015
cannot be used to compile LyX.

Do you mean http://www.lyx.org/trac/ticket/9892 or are there other bugs?

I mean this bug.
As I understood the comments there
std::basic_istringstream
is the problem. But since this affects different MSVC versions I cannot imagine that it is a bug in MSVC that so many programs/projects use to compile. If it would be it would have been fixed in MSVC.

I googled a bit around and it seems that support for the basic_istringstream Class was not changed:
MSVC 2010:
https://msdn.microsoft.com/de-de/library/windows/hardware/czkzky67%28v=vs.100%29.aspx
MSVC 2013:
https://msdn.microsoft.com/de-de/library/windows/hardware/czkzky67%28v=vs.120%29.aspx

However I find this warning
" Reading from a stream buffer is not considered to be a read operation. Instead it is considered to be a write operation because the state of the class is changed. "
in
https://msdn.microsoft.com/de-de/library/windows/hardware/c9ceah3b%28v=vs.120%29.aspx


The page about the basic_istringstream Members is only available for MSVC 2010 and 2012 and not 2013 and 2015:
https://msdn.microsoft.com/de-de/library/windows/hardware/349xheek%28v=vs.100%29.aspx

Here the general info about iostreams for MSVC:
https://msdn.microsoft.com/de-de/library/windows/hardware/8e9dt98w%28v=vs.120%29.aspx

In the breaking changes i cannot find something about streams, but maybe you do:
MSVC 2012:
https://msdn.microsoft.com/en-us/library/bb531344%28v=vs.110%29.aspx
MSVC 2013:
https://msdn.microsoft.com/en-us/library/bb531344%28v=vs.120%29.aspx
MSVC 2015:
https://msdn.microsoft.com/en-us/library/bb531344%28v=vs.140%29.aspx


regards Uwe

Reply via email to