Permalink
Browse files

Add -Wall compilation flag to generate warnings (#661)

  • Loading branch information...
alsrgv committed Nov 28, 2018
1 parent cf8479a commit 12f1b06d3c2d3bcbfa516d33443a8f5ede448625
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
@@ -67,7 +67,7 @@ def check_tf_version():
def get_cpp_flags(build_ext):
last_err = None
default_flags = ['-std=c++11', '-fPIC', '-O2']
default_flags = ['-std=c++11', '-fPIC', '-O2', '-Wall']
avx_flags = ['-mf16c', '-mavx']
if sys.platform == 'darwin':
# Darwin most likely will have Clang, which has libc++.

0 comments on commit 12f1b06

Please sign in to comment.