Skip to content

Commit

Permalink
Fix #147, Compiler warnings cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed Mar 9, 2020
1 parent 685912e commit f7374a2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def _read(name):
"-fno-strict-aliasing",
"-Wall",
"-Wno-uninitialized",
"-Wno-deprecated-declarations",
"-Wno-unused-function",
"-Wcast-align",
"-fPIC",
"-pthread",
Expand Down Expand Up @@ -149,6 +151,9 @@ def _read(name):
"-std=c++11",
"-mmacosx-version-min={}".format(MACOS_VERSION_MIN),
"-I{}/include".format(SAPNWRFC_HOME),
"-Wno-cast-align",
"-Wno-deprecated-declarations",
"-Wno-unused-function",
]
LINK_ARGS = [
"-L{}/lib".format(SAPNWRFC_HOME),
Expand Down Expand Up @@ -209,8 +214,6 @@ def _read(name):
setup_requires=["setuptools-git", "Cython", "Sphinx"],
cmdclass={"build_ext": Cython.Distutils.build_ext},
# ext_modules=[PYRFC_EXT],
ext_modules=cythonize(
PYRFC_EXT, compiler_directives={"language_level": "2"}, annotate=True
),
ext_modules=cythonize(PYRFC_EXT, compiler_directives={"language_level": "2"}, annotate=True),
test_suite="pyrfc",
)

0 comments on commit f7374a2

Please sign in to comment.