Skip to content

Commit

Permalink
Bug 169 (SETI#171)
Browse files Browse the repository at this point in the history
* See if adding -Wimplicit-int fixes the problem.

* Try adding implicit-int.  Push

* Add flag recommended by Boris.

* Change flags from those recommend by Boris to those recommended by Nat.

---------

Co-authored-by: Robert French <rfrench@seti.org>
  • Loading branch information
fyellin and rfrenchseti authored Aug 1, 2024
1 parent 73ffc61 commit 16df053
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ def get_c_libraries():
return []
files = sorted(glob(os.path.join(cspice_directory, "src", "*.c")))
splits = 1 if IS_LINUX else 1 + (len(files) // 250)
compiler_flags = ["-w", "-Wno-error=implicit-int"]
compiler_flags = ["-w", "-std=c89", "-Wno-logical-op-parentheses",
"-Wno-shift-op-parentheses", "-Wno-parentheses"]
cspice_libraries = [
("cspice_" + str(i + 1), {
"sources": files[i::splits],
Expand Down

0 comments on commit 16df053

Please sign in to comment.