completely remove segvcatch + disable no_warnings in eclipse build opts

This commit is contained in:
nullifiedcat 2017-12-06 23:07:12 +03:00
parent 7961834b9d
commit 96c2aa99c2
2 changed files with 2 additions and 10 deletions

View File

@ -35,7 +35,7 @@
<folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1168214098." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.965909756" name="Linux GCC" nonInternalBuilderId="cdt.managedbuild.target.gnu.builder.exe.debug" superClass="cdt.managedbuild.toolchain.gnu.exe.debug">
<targetPlatform binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.exe.debug.1799148153" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/>
<builder arguments="BUILD_DEBUG=1 NO_WARNINGS=1 RENDERING_ENGINE=XOVERLAY" buildPath="${workspace_loc:/cathook}" command="make" id="cdt.managedbuild.target.gnu.builder.exe.debug.1548213350" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
<builder arguments="BUILD_DEBUG=1" buildPath="${workspace_loc:/cathook}" command="make" id="cdt.managedbuild.target.gnu.builder.exe.debug.1548213350" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.782611349" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.883030293" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug">
<option id="gnu.cpp.compiler.exe.debug.option.optimization.level.908662295" name="Optimization Level" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>

View File

@ -40,15 +40,7 @@ void PaintTraverse_hook(void *_this, unsigned int vp, bool fr, bool ar)
static ConVar *software_cursor = g_ICvar->FindVar("cl_software_cursor");
static const char *name;
static std::string name_s, name_stripped, reason_stripped;
#if DEBUG_SEGV == true
if (!segvcatch::handler_fpe || !segvcatch::handler_segv)
{
if (!segvcatch::handler_fpe)
segvcatch::init_segv();
if (!segvcatch::handler_segv)
segvcatch::init_fpe();
}
#endif
#if ENABLE_VISUALS == 1
if (!textures_loaded)
{