loss of precission

Please post the whole code - or at least something that compiles without error:

sketch_oct17a:6: error: ISO C++ forbids declaration of ‘convert’ with no type