Skip to content
Snippets Groups Projects
Commit 12231700 authored by Michele Alberti's avatar Michele Alberti Committed by Virgile Prevosto
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent efefb012
No related branches found
No related tags found
No related merge requests found
......@@ -523,12 +523,12 @@ let build_cpp_cmd = function
let exe = cpp_name cmdl in
let clang_no_warn =
if exe = "clang" || exe = "gcc" then
(* NB: For gcc only old versions (still found in Ubuntu 18.04,
(* NB: For gcc, only old versions (still found in Ubuntu 18.04,
supported until 2028, though) activate builtin-macro-redefined.
This is also the case for newer clangs, while older ones will
complain about the unknown warning (gcc does not seem to care,
so that it is safe to keep the unknown-warning-option in every
case. *)
case). *)
["-Wno-builtin-macro-redefined"; "-Wno-unknown-warning-option"]
else
[]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment