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

Discussion to talk about software related topics only.
Post Reply
jingram
Posts: 10
Joined: Thu Jan 29, 2009 12:35 pm

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

Post 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
User avatar
lgitlitz
Posts: 331
Joined: Wed Apr 23, 2008 11:43 am
Location: San Diego, CA
Contact:

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

Post 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.
jingram
Posts: 10
Joined: Thu Jan 29, 2009 12:35 pm

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

Post by jingram »

Thanks, that was it.


John
Post Reply