Sloeber/CDT/Eclipse/Me problem?
hello. frustrated invalid arguments semantic error getting eclipse working on small library arduino project. very, rusty programming in c++ , trying out sloeber plugin eclipse (loving far!) not problem lies odds great doing stupid due how have forgotten c++.
this screenshot shows issue pretty clearly, think. lines 48 , 49 both invalid argument error sure looks me passing correct arg (int). indeed, completed these lines using autocomplete suggestion drop-down list in eclipse. line 53 me experimenting , noticing problem seems happen when call member function argument. calling 1 no args not raise flag.
i have been combing through old c++ reference books trying find missing here, if in community can offer tips on appreciate it.
thank you.
this screenshot shows issue pretty clearly, think. lines 48 , 49 both invalid argument error sure looks me passing correct arg (int). indeed, completed these lines using autocomplete suggestion drop-down list in eclipse. line 53 me experimenting , noticing problem seems happen when call member function argument. calling 1 no args not raise flag.
i have been combing through old c++ reference books trying find missing here, if in community can offer tips on appreciate it.
thank you.
quote
this screenshot shows issue pretty clearly, think.i don't. text in picture small , fuzzy me read.
the pointer used, in c++ distinguish member field local variable, or argument, of same name. in cases, far better not use name of member variable argument, don't need populate code this->s.
i copied picture, , can't see why eclipse complaining call. but, then, eclipse can see header file, , can't. if gettempwithbeta() defined in header file taking int , returning double, implemented, eclipse wrong there being problem.
if gettempwithbeta() defined other signature, implementation wrong, , eclipse may have valid point.
Arduino Forum > Development > Other Software Development > Sloeber/CDT/Eclipse/Me problem?
arduino
Comments
Post a Comment