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


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.


Holger Kiehl
------------------
hkiehl@dwd.d400.de


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