Skip to content

Commit

Permalink
Fix CI failure on updated GH runners (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
denismerigoux authored Dec 7, 2022
2 parents 29cae69 + d8a9cc7 commit a38c654
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion examples/dgfip_c/ml_primitif/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fi

echo 'Compilation de la calculette primitive'

ocamlopt -cc clang -ccopt -fbracket-depth=2048 unix.cmxa ./calc/*.o stubs.c common.ml m.ml read_test.ml main.ml -o prim
ocamlopt -cc clang -ccopt -fno-common -ccopt -fbracket-depth=2048 unix.cmxa ./calc/*.o stubs.c common.ml m.ml read_test.ml main.ml -o prim

if [ $? -ne 0 ]; then
echo 'La compilation de la calculette primitive a échoué'
Expand Down
2 changes: 0 additions & 2 deletions src/mlang/backend_compilers/bir_to_dgfip_c.ml
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ let generate_header (oc : Format.formatter) () : unit =
#include "const.h"
#include "var.h"

double my_var1;

#ifndef FLG_MULTITHREAD
#define add_erreur(a,b,c) add_erreur(b,c)
#endif
Expand Down

0 comments on commit a38c654

Please sign in to comment.