Error after starting cling using cling -x c

I built Cling successfully. But at the time of starting it for C using the command “cling -x c”, I get the following error:

[code]In file included from input_line_1:1:
In file included from /usr/include/c++/4.8/new:40:
/usr/include/c++/4.8/exception:40:8: error: expected identifier or '('
extern “C++” {
In file included from input_line_1:1:
/usr/include/c++/4.8/new:44:8: error: expected identifier or '('
extern “C++” {

****************** CLING ******************

  • Type C++ code and press enter to run it *
  •         Type .q to exit             *

[cling]$ [/code]

Is this a serious error? Or Cling will still work? I am suspicious because the prompt asks me to type C++ code, while I started it for C. Thanks.


Cling should still work - it’s more serious for us: I will add a test to check that we don’t break C mode, as we did a few months ago. So thanks for your report, that’s now, you can follow progress there.

Cheers, Axel