I have a (large) wxWidgets project, that compiles smoothly also in higher optimisation levels.
Now I enabled Whole Program Optimisation (/GL) for building objects and Link Time Code Generation (/LTCG) in settings of this project. This leads to an unresolved external reference - a function of external wxWidgets libraries I link agains no longer can be found.
So is this a known bug in LTO of Visual Studio? Any ideas how to workaround it or what could cause this?
Thanks!