[lkml]   [1997]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectzero-size array in socket.h


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.

 \ /
  Last update: 2005-03-22 13:38    [W:0.019 / U:2.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site