root-project / cling

The cling C++ interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cling Jupyter is using wrong standard library header files

joshlk opened this issue · comments

Describe the bug

When I execute the following using cling it works fine:

auto a = std::vector<std::size_t>{10, 4, 3}

However if I do the same in a Jupyter notebook (c++14 kernal) I get this error:

no matching constructor for initialization of 'std::vector<std::size_t>'

From a google search this is probably because it is using old standard lib (non-c++14) header files. How can I get the Jupyter kernel to use the c++14 standard lib header files?

Setup

cling version 0.8~dev (cling_2020-11-05_ROOT-ubuntu18.04)