Open traversaro opened 4 years ago
I suspect that you are compiling the code in Debug
, right? In this mode, blockfactory treats many warnings as errors. Windows has never been tested thoroughly, and I suspect that new versions of the compiler introduced new warnings that are not ignored.
You can refer to this chunk for more details:
Windows has never been tested thoroughly, and I suspect that new versions of the compiler introduced new warnings that are not ignored.
Yes, that is exactly why I typically prefer to avoid compiling with Warning as Errors by default. However, to disable this behavior optionally, can we transform TREAT_WARNINGS_AS_ERRORS
in a proper CMake option? It has already a option-like face, but as it is not saved in cache it may be difficult to manage.
For the time being, I disabled directly the ENABLE_WARNING options in https://github.com/robotology/robotology-superbuild/pull/296/commits/a49a7b9f150aa806f6a2d23ebafb1decf8447317 .
I managed to replicate the windows problem, see logs here. I am preparing a fix.
While setting up the Windows CI of the robotology-superbuild, I am experiencing this error: