You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@laptop:~# cling -std=c++20****************** CLING ******************* Type C++ code and press enter to run it ** Type .q to exit********************************************
[cling]$ #include <regex>
[cling]$ std::regex re1{"x"};
[cling]$ std::regex re2{"y"};
[IncrementalJIT] addModule() failed: Duplicate definition of symbol '__const._ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPcSt6vectorIcSaIcEEEElcNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_.__cmp'
[cling]$ .q
Same example runs totally fine in c++17 mode:
root@laptop:~# cling -std=c++17****************** CLING ******************* Type C++ code and press enter to run it ** Type .q to exit********************************************
[cling]$ #include <regex>
[cling]$ std::regex re1{"x"};
[cling]$ std::regex re2{"y"};
[cling]$ .q
Cling 0.9 likewise works fine in c++17 mode.
Expected behavior
No error.
To Reproduce
See above.
Setup
Cling version: 1.0~dev (cling-patches-llvm13 branch)
Operating system: Ubuntu 22.04
How you obtained Cling: compiled myself
The text was updated successfully, but these errors were encountered:
Describe the bug
When running cling in c++20 mode I get this:
Same example runs totally fine in c++17 mode:
Cling 0.9 likewise works fine in c++17 mode.
Expected behavior
No error.
To Reproduce
See above.
Setup
Cling version: 1.0~dev (
cling-patches-llvm13
branch)Operating system: Ubuntu 22.04
How you obtained Cling: compiled myself
The text was updated successfully, but these errors were encountered: