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,7 +371,9 @@ class CCompiler:
cc_args[:0] = ['-g']
if before:
cc_args[:0] = before
cc_args = cc_args + ["-Werror=implicit-function-declaration"]
if not any ('scipy' in s for s in pp_opts):
cc_args = cc_args + ["-Werror=implicit-function-declaration"]
return cc_args
def _fix_compile_args(self, output_dir, macros, include_dirs):
......
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