While playing around with the latest MSVC compiler that is now C++17 feature complete (MSVC 2015 update 2) I get the following compilation error

error C2593: 'operator <<' is ambiguous

According to
https://support.microsoft.com/en-us/kb/168440
there is an easy workaround.

Since I don't know much about this could the experts please have a look?
If this could be fixed, I will be able to provide a 64bit build of LyX for Windows - which is requested from time to time.

the error occurs in these files:

D:\LyXGit\Master\src\frontends\qt4\FindAndReplace.cpp(175): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\frontends\qt4\frontend_qt.vcxproj] D:\LyXGit\Master\src\frontends\qt4\FindAndReplace.cpp(196): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\frontends\qt4\frontend_qt.vcxproj] D:\LyXGit\Master\src\frontends\qt4\Menus.cpp(1765): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\frontends\qt4\frontend_qt.vcxproj] D:\LyXGit\Master\src\frontends\qt4\Menus.cpp(2263): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\frontends\qt4\frontend_qt.vcxproj] D:\LyXGit\Master\src\graphics\GraphicsLoader.cpp(91): error C2593: 'operator<<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\graphics\graphics.vcxproj] D:\LyXGit\Master\src\mathed\InsetMathHull.cpp(1490): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\mathed\mathed.vcxproj] D:\LyXGit\Master\src\mathed\MathExtern.cpp(1095): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\mathed\mathed.vcxproj] D:\LyXGit\Master\src\mathed\MathExtern.cpp(1269): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\mathed\mathed.vcxproj] D:\LyXGit\Master\src\insets\Inset.cpp(443): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\insets\insets.vcxproj] D:\LyXGit\Master\src\insets\Inset.cpp(445): error C2593: 'operator <<' is ambiguous [D:\LyXGit\Master\compile-2015-x64\src\insets\insets.vcxproj]

thanks and regards
Uwe

Reply via email to