Fix for issue 192.
This commit is contained in:
parent
f6c8d9c780
commit
db0baf4741
@ -24,7 +24,7 @@
|
||||
|
||||
#ifdef NDEBUG
|
||||
// From http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
|
||||
# define dtAssert(x) do { (void)sizeof(x); } while(__LINE__==-1,false)
|
||||
# define dtAssert(x) do { (void)sizeof(x); } while((void)(__LINE__==-1),false)
|
||||
#else
|
||||
# include <assert.h>
|
||||
# define dtAssert assert
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#ifdef NDEBUG
|
||||
// From http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
|
||||
# define rcAssert(x) do { (void)sizeof(x); } while(__LINE__==-1,false)
|
||||
# define rcAssert(x) do { (void)sizeof(x); } while((void)(__LINE__==-1),false)
|
||||
#else
|
||||
# include <assert.h>
|
||||
# define rcAssert assert
|
||||
|
@ -595,6 +595,7 @@
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"-Wunused-value",
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-Wshadow",
|
||||
"-Wreorder",
|
||||
@ -623,6 +624,7 @@
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"-Wunused-value",
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-Wshadow",
|
||||
"-Wreorder",
|
||||
|
Loading…
x
Reference in New Issue
Block a user