zero-size array in socket.h

Holger Kiehl (
Thu, 30 Jan 1997 15:02:16 +0100


using gcc 2.7.2 and the option -pedantic-errors I get the following
error/warning compiling my code:

/usr/include/linux/socket.h:53: ANSI C forbids zero-size array `cmsg_data'
/usr/include/linux/socket.h:79: warning: no previous prototype for `cmsg_nxthdr'

This was with 2.1.24. Under 2.0.x I did not get these errors.

Holger Kiehl