Disables frame-pointer omission in VC++ 2008 projects, fixes stack dump in release build, fixes #2078

This was SVN commit r13779.
This commit is contained in:
historic_bruno
2013-08-27 02:42:56 +00:00
parent 56d535b7c5
commit 15586778bb
+6
View File
@@ -177,6 +177,12 @@ function project_set_build_flags()
-- use native wchar_t type (not typedef to unsigned short)
flags { "NativeWChar" }
-- VC++ 2008 has implied FPO as the default (newer versions default to /Oy-)
-- disable it explicitly since it breaks our stack walker in release build
if _ACTION == "vs2008" then
buildoptions { "/Oy-" }
end
else -- *nix
if _OPTIONS["icc"] and not _OPTIONS["minimal-flags"] then
buildoptions {