diff options
author | stijn <stinos@zoho.com> | 2014-10-29 10:05:55 +0100 |
---|---|---|
committer | stijn <stinos@zoho.com> | 2014-10-29 10:29:09 +0100 |
commit | 4e54c876a7236cbb50431f1f6d52c7be2052ed6f (patch) | |
tree | 7b7cbdab7ca37c3adb14c85dc8cb6e020ed5c1ac /unix | |
parent | ccedf000ed7e3a155f84ad60afb86ca5f953fe8c (diff) | |
download | micropython-4e54c876a7236cbb50431f1f6d52c7be2052ed6f.tar.gz micropython-4e54c876a7236cbb50431f1f6d52c7be2052ed6f.zip |
Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile index 8ee2319828..d8b51d0b0f 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -18,7 +18,7 @@ INC += -I$(PY_SRC) INC += -I$(BUILD) # compiler settings -CWARN = -Wall -Werror +CWARN = -Wall -Wpointer-arith -Werror CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) # Debugging/Optimization |