Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++20 application failing to compile with OpenOSC using Clang 18.1.1/18.1.2 #9

Open
johnsonjh opened this issue Mar 25, 2024 · 2 comments

Comments

@johnsonjh
Copy link

It does work with older Clang versions, at least through Clang 17.0.6.

See https://gitlab.com/libsir/libsir/-/jobs/6473142110#L91 and https://gitlab.com/libsir/libsir/-/jobs/6473142115#L91 for complete error details.

johnsonjh added a commit to aremmell/libsir that referenced this issue Mar 25, 2024
Reported upstream issue at cisco/OpenOSC#9

Signed-off-by: Jeffrey H. Johnson <trnsz@pobox.com>
@johnsonjh
Copy link
Author

Verified on a system other than Fedora Rawhide just to be sure it wasn't something Red Hat specific.

Used the Docker image ubuntu:24.04 from Dockerhub (and starting a temporary container docker run --rm -it ubuntu:24.04). Inside the container, I installed packages for libtool autoconf autoconf-archive automake gcc g++ gcc-14 g++-14 clang clang-18 git, and I built and installed OpenOSC master.

Building tests++ target with CXX=g++-13 and CXX=g++-14 both work without problems.

Building tests++ target with CXX=clang++-17 works fine, but CXX=clang++-18 fails with the same symptoms as linked above.

@johnsonjh johnsonjh changed the title C++20 application failing to compile with OpenOSC using Clang 18.1.1 C++20 application failing to compile with OpenOSC using Clang 18.1.1/18.1.2 Mar 27, 2024
@RupeshPilania
Copy link

It fails on FreeBSD 14.1 as well.
[root@localhost ~/godspeed/env/freebsd/ironport/openosc/OpenOSC-1.0.5]# clang --version
FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
Target: x86_64-unknown-freebsd14.1
Thread model: posix
InstalledDir: /usr/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants