Currently build with --without-pch and/or with HAVE_PCH 0 does not build on windows because of missing includes
last change to this file was rP15481 2014-07-03, I thought build without PCH was working at least last year sometime? Itms, leper and Imarok had compiled with that too afaik. Maybe it's only on windows.
to this file maybe, but it is possible that precompiled politic changed, because when HAVE PCH is 0, the file with <map> and other includes is whole ignored and not included
next thing about date when it broke is that h files are not compiled directly but included to the cpp and they are compiled so since they had missing includes or used pch it worked. But this h file requiers map to work correctly so I gave it here instead before every include of this h in cpp
@Angen does the test project build for you without pch ?
When setting (→ is for replacing)
# define CONFIG_ENABLE_PCH 1 → 0 // improve build performance
and in lib/sysdep/compiler.h
// are PreCompiled Headers supported? #if MSC_VERSION # define HAVE_PCH 1 → 0 #elif defined(USING_PCH) # define HAVE_PCH 1 → 0 #else # define HAVE_PCH 0 #endif
I get four C2317 errors about missing try catch in the test project