0

Clean up some build warnings

Removed some unused code, and quelled some warnings via GCC
This commit is contained in:
Andrew Chin
2012-03-01 23:04:02 -05:00
parent c019d7e8d8
commit 20f9f92abd
4 changed files with 2 additions and 6 deletions

View File

@@ -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")