Julien Marrec

Results 241 comments of Julien Marrec

Can a mac user test with 2.6.0? Can't reproduce on Ubuntu.

I tested that this issue still exists with 2.6.0 (macOS Sierra 10.13.6)

I have the same issue on Ubuntu 24.04, and the CI build artifact crashed for me.

https://github.com/llvm/llvm-project/blob/eae30a240e34e1fd31b57096a1b8bdbd8b84352d/libcxx/docs/UserDocumentation.rst#c26-specific-configuration-macros Seems like at least there are two defines: `_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT` and `_LIBCPP_ENABLE_CXX26_REMOVED_WSTRING_CONVERT` (Also worth noting that I didn't have to do that on GCC 14 with C++26)

I've worked around it like so: ``` # On mac make sure you `brew install tcl-tk@8` first and `brew install pkgconf` export PKG_CONFIG="$(brew --prefix pkgconf)/bin/pkgconf" # ensure tcl 8.6 is...

@phlptp . ```shell cd CLI11 git checkout main && git pull mkdir -p ../build-CLI11 && cd ../build-CLI11 export CC="/opt/homebrew/opt/llvm@19/bin/clang" export CXX="/opt/homebrew/opt/llvm@19/bin/clang++" export CPPFLAGS="-I/opt/homebrew/opt/llvm@19/include" export LDFLAGS="-L/opt/homebrew/opt/llvm@19/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@19/lib/c++" cmake -G Ninja -DCMAKE_CXX_STANDARD=26...

I checked out 464306bf4ddb855ccb940b1fd322d825adc50ef7 from #1100 (before you commented the macros out). I get a different build error ``` [ 53%][122/228] Building CXX object tests/CMakeFiles/HelpersTest.dir/HelpersTest.cpp.o FAILED: tests/CMakeFiles/HelpersTest.dir/HelpersTest.cpp.o /opt/homebrew/opt/llvm@19/bin/clang++ -DCLI11_ENSURE_UTF8_EXE=\"/Users/julien/Software/Others/build-CLI11/tests/ensure_utf8\" -DCLI11_ENSURE_UTF8_TWICE_EXE=\"/Users/julien/Software/Others/build-CLI11/tests/ensure_utf8_twice\"...

@phlptp see this compiler explorer: https://godbolt.org/z/Toes7rhM9 I took the single include CLI11.hpp from e43ff02c1142bf6c20ae3e3befb0e39ec2d1cdbc, and recreated the test in main. The key is passing `-stdlib=libc++` as a flag, it doesn't...

I reduced it down to a 240 lines example https://godbolt.org/z/jroxPcxbr , the error is more informative and says `ambiguous partial specializations of 'type_count'` ``` :237:16: error: no matching function for...

Ok, so the difference is that `is_tuple_like` is false generally, but with C++26 and libc++ from LLVM it is true. Here is the shortest example demonstrating it (24 lines): https://godbolt.org/z/aMWKsoGWP...