Skip to content

Commit

Permalink
more warnings when compiling our C stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Jul 30, 2024
1 parent a5a0c94 commit d8029b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libc/script.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ let () =
let out = Format.sprintf "%s.o" filename in
let n =
Format.ksprintf Sys.command
"clang -g -O3 -ffreestanding --no-standard-libraries --target=wasm32 \
-c -m32 -Iinclude -Wno-int-conversion -Wno-return-type \
"clang -O3 -ffreestanding --no-standard-libraries --target=wasm32 -c \
-m32 -Iinclude -Wall -Werror -Wno-int-conversion -Wno-return-type \
-fbracket-depth=512 -DWANT_STRTOD_WITHOUT_LONG_DOUBLE -o %s %s"
out c_filename
in
Expand Down

0 comments on commit d8029b6

Please sign in to comment.