Ok, scary: all msvcdebug=1 does is:
- compiles with /MDd (use the debug version of the LIBCMT library)
- links with /DEBUG
- and disables optimizations (doesn't use /O2 /GL compiler flags and /LTCG:STATUS link flag)
I'm thinking the secret is in those missing optimization flags, specifically the LTCG one...
Ok, scary: all msvcdebug=1 does is:
- compiles with /MDd (use the debug version of the LIBCMT library)
- links with /DEBUG
- and disables optimizations (doesn't use /O2 /GL compiler flags and /LTCG:STATUS link flag)
I'm thinking the secret is in those missing optimization flags, specifically the LTCG one...