Skip to content

Conversation

@dra27
Copy link
Owner

@dra27 dra27 commented Jan 24, 2026

No description provided.

AC_PROG_CXX has to occur before LT_INIT to prevent this error:

    warning: AC_REQUIRE: `AC_PROG_CXX' was expanded before it was required
    https://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required

It seems to be impossible (or too difficult) to enable this check
conditionally, based on whether ocamltest was enabled or not.
@dra27 dra27 added no-change-entry-needed Causes the check for a Changes entry to be skipped for PRs CI: Full matrix Full CI test matrix labels Jan 24, 2026
@dra27 dra27 force-pushed the header-testing branch 6 times, most recently from f21a839 to 6e4a88f Compare January 27, 2026 18:55
All of the headers in caml directories (i.e. the headers which get
installed) are tested in a both a C and, if a compiler is available, C++
file which #include's just that file. The compiler is run with
extra/pedantic warnings, but with CAML_INTERNALS not defined. This
tests:
1. That each header can be #include'd without prerequisites
2. That the public API of the runtime can be used both in C++ programs
   and also in C programs compiled with more warnings enabled than the
   runtime itself is compiled with
3. That each header can be #include'd twice without error
@dra27 dra27 force-pushed the header-testing branch 2 times, most recently from d86154b to d1a67d6 Compare January 27, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: Full matrix Full CI test matrix no-change-entry-needed Causes the check for a Changes entry to be skipped for PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants