Skip to content

Commit

Permalink
Ignore deprecated-non-prototype warnings for older K&R style C.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcgilchrist committed May 17, 2024
1 parent ef69ebe commit c3a3582
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/owl/config/configure.ml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ let get_default_config c =
; (* Configure Mersenne Twister RNG *)
"-DSFMT_MEXP=19937"
; "-fno-strict-aliasing"
; "-Wno-deprecated-non-prototype"
]
in
(* homebrew M1 issue workaround, works only if users use the default homebrew path *)
Expand Down

0 comments on commit c3a3582

Please sign in to comment.