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.