diff --git a/build/errorlist/errorlist.pl b/build/errorlist/errorlist.pl index 4c5bc86d56..f9c3a67b50 100755 --- a/build/errorlist/errorlist.pl +++ b/build/errorlist/errorlist.pl @@ -154,7 +154,7 @@ for (sort keys %types) { print $out <<"."; -const char* PSERROR::what() const +const char* PSERROR::what() const throw () { return GetErrorString(getCode()); } diff --git a/build/premake/premake.lua b/build/premake/premake.lua index 8040b75a44..a83d8057ec 100755 --- a/build/premake/premake.lua +++ b/build/premake/premake.lua @@ -165,7 +165,7 @@ function setuppackage (projectname) -- Libraries package.links = { "opengl32" } tinsert(package.files, sourcesfromdirs(sourceroot, {"lib/sysdep/win"})) - tinsert(package.files, {sourceroot.."lib/sysdep/win/assert_dlg.rc"}) + tinsert(package.files, {sourceroot.."lib/sysdep/win/error_dialog.rc"}) if (projectname == "sced") then tinsert(package.files, {sourceroot.."tools/sced/ui/ScEd.rc"})