CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

pcws v3.206

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
chanuanpom



Joined: 29 Jul 2004
Posts: 1

View user's profile Send private message

pcws v3.206
PostPosted: Mon Aug 09, 2004 9:09 am     Reply with quote

I'm compiler Examples EX_WEB_SV.C had error at file s7600.h

ERROR

C:\Program Files\Picc\Drivers\s7600.h Line 322

Function Definition different from previous definition
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 09, 2004 12:12 pm     Reply with quote

The problem appears to be in the Function Prototypes section in
the s7600.h file. This section starts at line 153. I was able to
make the project compile by changing the return data type to
"s7600_ec" on four of the function prototypes. The changes
are shown in bold, below. These changes will make it compile.
I don't know if the code actually works, because I don't have
the Web Server demo board.

The fact that it doesn't compile is a bug, and you should report
this to CCS. The web server files that came with PCM vs. 3.188 did
compile OK, so this bug is new. Please email support@ccsinfo.com

void tcpip_init();
s7600_ec tcp_connect(IPAddr ip, int16 portnum, int8 socket);
int8 tcp_find_free_socket(void);
s7600_ec tcp_listen(int8 socket, int16 port);
int8 tcp_getc(int8 socket);
int1 tcp_kbhit(int8 socket);
void tcp_flush_socket(int8 socket);
int1 tcp_connected(int8 socket);
s7600_ec tcp_putc(int8 socket, int8 c);
s7600_ec tcp_putd(int8 socket, int8 * c, int16 len);
s7600_ec tcp_close(int8 socket);
int1 ppp_check(void);
s7600_ec ppp_connect(int8 * phone_number, int8 * username, int8 * password);
s7600_ec ppp_disconnect(void);
void ppp_keepalive(void);
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group