don't tolerate warnings
svn-id: r4994
This commit is contained in:
parent
b5a4edf00c
commit
45ce1d1113
2 changed files with 10 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ RM_REC = $(RM) -r
|
|||
ZIP = zip -q
|
||||
CP = cp
|
||||
|
||||
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
|
||||
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Werror
|
||||
DEFINES =
|
||||
LDFLAGS :=
|
||||
INCLUDES:= -I. -Icommon
|
||||
|
|
|
@ -1259,8 +1259,15 @@ void NORETURN CDECL error(const char *s, ...)
|
|||
#endif
|
||||
#endif
|
||||
}
|
||||
// Doesn't wait for any keypress!! Is it intended to?
|
||||
|
||||
// Finally exit. quit() will terminate the program
|
||||
g_scumm->_system->quit();
|
||||
|
||||
|
||||
// This point should never be reached. However, since virtual methods (like quit() is)
|
||||
// can't be marked as noreturn, gcc will complain at this point. Thus we add in this
|
||||
// call to exit(0) even though it is never reached.
|
||||
exit(0);
|
||||
}
|
||||
|
||||
ScummDebugger g_debugger;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue