diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,7 +24,10 @@ CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas # Even more warnings... CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wconversion CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -CXXFLAGS+= -Wno-reorder -Wwrite-strings -fcheck-new +CXXFLAGS+= -Wno-reorder -Wwrite-strings + +# Disable RTTI and exceptions, and enabled checking of pointers returned by "new" +CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new ####################################################################### # Misc stuff - you should never have to edit this # |