Comment 4 for bug 1808481

Revision history for this message
Tino (tino79) wrote :

Yes, this is caused by boost using a default c11++ std:snprintf (see this discussion https://github.com/mxe/mxe/issues/1104):

\include\boost\system\detail\system_category_win32.hpp => line 52.

Removing std:: here does circumvent the error, too.

But i am also experiencing the error, that now widelands (or some wl libs) require linking boost thread:

C:\data\wlwl>ninja -j1 widelands
ninja: error: '/c/bin/mingw/lib/libboost_thread.a', needed by 'src/widelands.exe', missing and no known rule to make it

The file exist of course and some wl libs include it ok. I cannot figure out how to correct this dependency due to those really weird structure of WLFunctions.cmake which does the boost including and target linking on USES_BOOST_REGEX...