Include structure changed in Visual Studio 16.6.1

Yu Jin technikmagma at gmail.com
Sat Jun 6 07:13:41 UTC 2020


I have recently updated Visual Studio to 16.6.1 and could not compile
support anymore. I investigated this and it seems that before 16.6.1 "endl"
(os_win32.cpp: 178) was declared through following include structure:
QString > qstring.h > iterator > istream > ostream
In 16.6.1 istream is replaced with iosfwd in iterator and "endl" is no
longer declared.
Please commit the attached patch to fix this.
It is also possible to use iostream instead of ostream as done in Stable
[092bc93903f7101b322e3023238c8fc011560273/lyxgit]
<https://www.lyx.org/trac/changeset/092bc93903f7101b322e3023238c8fc011560273/lyxgit>

Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200606/bfe74bb6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: os_win32.cpp.diff
Type: application/octet-stream
Size: 266 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200606/bfe74bb6/attachment.obj>


More information about the lyx-devel mailing list