Skip to content

C++ API compatibility, again#118

Closed
MisterDA wants to merge 9 commits intotrunkfrom
cxx-api-compat
Closed

C++ API compatibility, again#118
MisterDA wants to merge 9 commits intotrunkfrom
cxx-api-compat

Conversation

@MisterDA
Copy link
Copy Markdown
Owner

@MisterDA MisterDA commented Jan 21, 2025

https://manpages.debian.org/unstable/gcc-15-diagnostics/sarif-replay-15.1.en.html

docker build -t sarif-replay-15 - <(cat <<'EOF'
# syntax=docker/dockerfile:1
FROM debian:unstable
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
    --mount=type=cache,target=/var/lib/apt,sharing=locked \
    apt update && apt-get --no-install-recommends install -y \
    gcc-15-diagnostics
ENTRYPOINT ["/usr/bin/sarif-replay-15"]
EOF
)
docker run --rm -t sarif-replay-15 --usage

source="$PWD/report.sarif"
docker run --rm --mount "type=bind,source=$source,target=/tmp/sarif" \
           -t sarif-replay-15 /tmp/sarif

@MisterDA MisterDA force-pushed the cxx-api-compat branch 2 times, most recently from 8ce4138 to 47571ff Compare January 21, 2025 16:30
@MisterDA MisterDA changed the title Cxx api compat C++ API compatibility, again Jan 21, 2025
@MisterDA MisterDA force-pushed the cxx-api-compat branch 2 times, most recently from b26360c to 20c75e5 Compare January 22, 2025 19:27
@MisterDA MisterDA force-pushed the cxx-api-compat branch 2 times, most recently from 0a7d801 to 6cf26cf Compare January 23, 2025 08:01
@MisterDA MisterDA force-pushed the cxx-api-compat branch 5 times, most recently from 5f7fd1c to c1c0980 Compare February 4, 2025 16:05
@MisterDA MisterDA force-pushed the cxx-api-compat branch 2 times, most recently from 6359790 to 447b014 Compare October 30, 2025 14:44
@MisterDA MisterDA force-pushed the cxx-api-compat branch 4 times, most recently from 6368ba3 to 47febfa Compare November 17, 2025 11:24
@MisterDA MisterDA force-pushed the cxx-api-compat branch 6 times, most recently from 63bdb6f to 8dc42f5 Compare November 17, 2025 13:21
@MisterDA MisterDA force-pushed the cxx-api-compat branch 2 times, most recently from f6ff9ad to 0d8c895 Compare November 17, 2025 13:50
@MisterDA MisterDA force-pushed the cxx-api-compat branch 4 times, most recently from 9a91b5b to e3bd31d Compare December 16, 2025 13:52
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.
In some runs on Windows, ocamltest is unable to delete response
files. Perhaps all processes haven't yet closed them. Try deleting
them 3 times. If it still fails, mark the files to be deleted on next
reboot (Windows doesn't have a tmpfs).
@MisterDA MisterDA closed this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants