Page 1 of 1

tcp.h error expected ';',',' or ')' before '=' token

Posted: Fri Feb 06, 2009 12:24 pm
by jingram
on line 46 in tcp.h i get the error tcp.h error expected ';',',' or ')' before '=' token

what am i missing?

thanxs

john

Re: tcp.h error expected ';',',' or ')' before '=' token

Posted: Fri Feb 06, 2009 12:46 pm
by lgitlitz
Looks like you are including tcp.h in a C file. This header file uses overloaded function calls which are a C++ feature. Try renaming your file to .cpp.

Re: tcp.h error expected ';',',' or ')' before '=' token

Posted: Mon Feb 09, 2009 11:04 am
by jingram
Thanks, that was it.


John