Another C2220: warning treated as error with MSVC 2015

Luke Benes lukebenes at hotmail.com
Fri Jul 22 17:27:02 UTC 2016


Here is another C2220

[build CXX] comphelper/source/misc/threadpool.cxx
c:\\core\comphelper\source\misc\threadpool.cxx(80) : error C2220: warning treated as error - no 'object' file generated
c:\\core\comphelper\source\misc\threadpool.cxx(80) : warning C4702: unreachable code
C:/core/solenv/gbuild/LinkTarget.mk:189: recipe for target 'C:/core/workdir/CxxObject/comphelper/source/misc/threadpool.o' failed
make[1]: *** [C:/core/workdir/CxxObject/comphelper/source/misc/threadpool.o] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2

Looks like the source of the issue is:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=76ad32bec8e2c00c21247041b16d9e09e73d2504


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160722/f39d4608/attachment.html>


More information about the LibreOffice mailing list