caddr_t undefined

y2bismil@engmail.uwaterloo.ca y2bismil@engmail.uwaterloo.ca
Tue Oct 7 18:10:00 GMT 2003


Hi all,

I'm trying to compile a program, and i'm getting the error of caddr_t being
undefined.  I know its just a char* or void*, but I'm thinking this is an error
I should not have to work around.

The error actually occurs in: /usr/include/cygwin/if.h

But, looking at if.h, I see it includes sys/types.h.  This is turn includes a
definition for caddr_t:  typedef	char *	caddr_t;

Anyone got any ideas?  I'm using the Cygwin environment if that's an issue

Yamin




----------------------------------------
This mail sent through www.mywaterloo.ca



More information about the Gcc mailing list