zero-size array in socket.h

Holger Kiehl (kiehl@za-offenbach.dwd.d400.de)
Thu, 30 Jan 1997 09:03:41 +0100


Hello,

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.