Clean up some build warnings
Removed some unused code, and quelled some warnings via GCC
This commit is contained in:
2
setup.py
2
setup.py
@@ -265,6 +265,8 @@ class CustomBuildExt(build_ext):
|
||||
if c == "unix":
|
||||
# customize the build options for this compilier
|
||||
for e in self.extensions:
|
||||
e.extra_compile_args.append("-Wno-unused-variable") # quell some annoying warnings
|
||||
e.extra_compile_args.append("-Wno-unused-function") # quell some annoying warnings
|
||||
e.extra_compile_args.append("-Wdeclaration-after-statement")
|
||||
e.extra_compile_args.append("-Werror=declaration-after-statement")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user