Reply to comment

Problem interpreting a function

Hello, I've successfully compiled Cling on Mac OSX and seems to work for simple C++ expressions. However when I try to create a C++ function I have a strange error:
[cling]$ void ff() {
[cling]$ ?   int mm;
[cling]$ ?   mm = 5;
[cling]$ ?   }
input_line_4:2:11: error: expected ';' at end of declaration
 void ff() {
          ^
          ;
[cling]$
This is expected behaviour or am I doing something wrong ?

Reply

The content of this field is kept private and will not be shown publicly.