lkml.org 
[lkml]   [1997]   [Jan]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 30 Jan 1997 15:02:16 +0100
FromHolger Kiehl <>
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 12:38    [from the cache]
©2003-2008