beman-project / optional26

Beman.Optional26: `std::optional` extensions targeting C++26
Apache License 2.0
13 stars 8 forks source link

Enable clang-19 testing on CI #27

Closed neatudarius closed 3 months ago

neatudarius commented 3 months ago

Enable clang-19 testing on CI ( #1 )

It seems that the previous errors that we had with running clang-19 + Asan are connected to gtest. Check gist:

#10 0x55f30b5bbd1e in __cxx_global_var_init /home/runner/work/Beman.Optional26/Beman.Optional26/src/Beman/Optional26/tests/optional.t.cpp:14:1

Literally here we just test gtest :( I also created an executable with a single file (outside the Beman.Optional26 tree) and got the same results.

Found the fix looking through some posts: