jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
3.1k stars 300 forks source link

How to increase template depth? #78

Open tingelst opened 6 years ago

tingelst commented 6 years ago

How can I increase the template depth, e.g., set -ftemplate-depth-1200?

eguiraud commented 6 years ago

Hi, I don't know how much of an hack this would be (not a xeus dev), but you can see here https://github.com/QuantStack/xeus-cling/blob/d09fd8e8ffaa404c0d0c6c64f02208f2de6764b8/kernels/xeus-cling-cpp11/kernel.json#L1-L9

that some compiler options are passed via the json configuration file for the kernel. You can probably edit that..?