Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
12231700
Commit
12231700
authored
1 year ago
by
Michele Alberti
Committed by
Virgile Prevosto
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 2 suggestion(s) to 1 file(s)
parent
efefb012
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/kernel_services/ast_queries/file.ml
+2
-2
2 additions, 2 deletions
src/kernel_services/ast_queries/file.ml
with
2 additions
and
2 deletions
src/kernel_services/ast_queries/file.ml
+
2
−
2
View file @
12231700
...
...
@@ -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
[]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment