Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frama-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
361
Issues
361
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
pub
frama-c
Commits
c29b11a1
Commit
c29b11a1
authored
Jan 14, 2020
by
David Bühler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds flush in Transitioning.Stdlib, and replaces Pervasives.flush in dotgraph.
Avoids a compilation warning with ocaml >= 4.08.
parent
10494aac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
src/libraries/stdlib/transitioning.ml.in
src/libraries/stdlib/transitioning.ml.in
+1
-0
src/libraries/stdlib/transitioning.mli
src/libraries/stdlib/transitioning.mli
+1
-0
src/libraries/utils/dotgraph.ml
src/libraries/utils/dotgraph.ml
+1
-1
No files found.
src/libraries/stdlib/transitioning.ml.in
View file @
c29b11a1
...
...
@@ -29,6 +29,7 @@ module Stdlib = struct
let max = max
let min_int = min_int
let max_int = max_int
let flush = flush
end
[@@@ warning "-3"]
...
...
src/libraries/stdlib/transitioning.mli
View file @
c29b11a1
...
...
@@ -42,6 +42,7 @@ module Stdlib: sig
val
max
:
'
a
->
'
a
->
'
a
val
min_int
:
int
val
max_int
:
int
val
flush
:
out_channel
->
unit
end
(** 4.08 *)
...
...
src/libraries/utils/dotgraph.ml
View file @
c29b11a1
...
...
@@ -128,7 +128,7 @@ let close dot =
begin
Format
.
fprintf
dot
.
fmt
"}@."
;
dot
.
fmt
<-
Format
.
err_formatter
;
Pervasives
.
flush
out
;
close_out
out
;
Transitioning
.
Stdlib
.
flush
out
;
close_out
out
;
dot
.
out
<-
None
;
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment