I'm converting some old C-code into c++ and come across something strange, the C-code declared in .h file says:
void Message(char *s, ...);
and implementation head in .c
void Message(char *s, long x1, long x2, long x3, long x4, long x5, long x6, long x7, long x8, long x9, long x10){...}
When I make a 'straight' copy into a class declaration and implementation in c++ I get "prototype error".
Do I need to make a complete declaration as in the .c file oris there another way for c++ and class usage? The x1 ... x10 is option parameters and rarely used.
Working in linux with g++ and NetBeans 7.3