Commit 9b6e419a authored by Boxiang Sun's avatar Boxiang Sun

When build scipy, do not enable implicit-function-declaration

This is hacky, but delve into scipy souce code to fix the numerous
implicit function declaration is not make sense for now.
parent 88181305
......@@ -371,6 +371,8 @@ class CCompiler:
cc_args[:0] = ['-g']
if before:
cc_args[:0] = before
if not any ('scipy' in s for s in pp_opts):
cc_args = cc_args + ["-Werror=implicit-function-declaration"]
return cc_args
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment