Skip to content
Success

Changes

Summary

  1. Fix recursive module initialisation that does not terminate (#9497) (commit: df20ccf) (details)
  2. configure: move -fexcess-precision=standard to the internal cflags (#9496) (commit: 4d3b431) (details)
Commit df20ccf8382ab363a1b07f29dd0a86c02bae063b by xavier.leroy
Fix recursive module initialisation that does not terminate (#9497)

This fixes the bug reported in issue 9494 and adds a test case.

Closes: #9494
(cherry picked from commit ff98901d11fb01ba224772c402763df20d246635)
(commit: df20ccf)
The file was modifiedChanges (diff)
The file was addedtestsuite/tests/typing-recmod/pr9494.ml
The file was addedtestsuite/tests/typing-recmod/pr9494.reference
The file was modifiedstdlib/camlinternalMod.ml (diff)
Commit 4d3b4311ac7005df3f4b18a2b0977a2e7599b1ff by noreply
configure: move -fexcess-precision=standard to the internal cflags (#9496)

Follow-up to c5afa9303.

The GCC option -fexcess=precision is supported for C but not for C++.

Some users use ocamlc -c or ocamlopt -c to compile C++ source files,
causing errors since -fexcess-precision=standard was added to the
common C flags in commit c5afa9303.

This commit moves -fexcess-precision=standard to the internal C flags,
so that ocamlc -c and ocamlopt -c will not apply it to C / C++ source files.
(commit: 4d3b431)
The file was modifiedconfigure (diff)
The file was modifiedconfigure.ac (diff)