Submitted by Anonymous (not verified) on Mon, 13/08/2012 - 19:06.
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 ?
Problem interpreting a function
[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 ?