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-cpy | |
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-cpy')
-rw-r--r-- | unix-cpy/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile index 0376932d6a..eb4088861c 100644 --- a/unix-cpy/Makefile +++ b/unix-cpy/Makefile @@ -11,7 +11,7 @@ INC += -I$(PY_SRC) INC += -I$(BUILD) # compiler settings -CFLAGS = $(INC) -Wall -Werror -ansi -std=gnu99 -DUNIX +CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -DUNIX LDFLAGS = -lm # Debugging/Optimization |