[mw-devel] Weird error compiling mw in c99 mode

Peter Berry pwb at sucs.org
Tue Mar 21 16:50:59 GMT 2006

On Tue, 21 Mar 2006, Steve Hill wrote:

> On Tue, 21 Mar 2006, Peter Berry wrote:
>> __SOCKADDR_ARG so it must be typedef'd somewhere, but I can't find anything 
>> in the headers.
> grep is your friend:
> /usr/include/sys/socket.h:# define __SOCKADDR_ARG struct sockaddr *__restrict

Like I said, the preprocessor wasn't processing the macro. It's in an 
#ifdef block, which I don't think is getting compiled. I thought it must 
be typedef'd because there's no complaint from the compiler about an 
undefined identifier.

Peter Berry, SUCS Ex-Treasurer
<pwb at sucs.org>

More information about the mw-devel mailing list