mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-21 23:58:51 -05:00
Remove unnecessary warnings (#42)
* Remove unnecessary warnings * Comment out error
This commit is contained in:
parent
e1be01cb6d
commit
6aa8894125
@ -188,14 +188,16 @@ int main(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
else if (arg == "-eh") // Enable Error Handler
|
else if (arg == "-eh") // Enable Error Handler
|
||||||
{
|
{
|
||||||
#if !defined(_MSC_VER) && !defined(__CYGWIN__)
|
#if !defined(_MSC_VER) && !defined(__CYGWIN__)
|
||||||
signal(SIGSEGV, ErrorHandler);
|
signal(SIGSEGV, ErrorHandler);
|
||||||
signal(SIGABRT, ErrorHandler);
|
signal(SIGABRT, ErrorHandler);
|
||||||
#else
|
#else
|
||||||
HANDLE_WARNING(WarningType::Always,
|
// HANDLE_WARNING(WarningType::Always,
|
||||||
"tried to set error handler, but this ZAPD build lacks support for one",
|
// "tried to set error handler, but this ZAPD build lacks support for one",
|
||||||
"");
|
// "");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (arg == "-v") // Verbose
|
else if (arg == "-v") // Verbose
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user