> > I am getting the following array while trying to compile
> > uipc_syscalls.c file.
> 
> > /vobs/atm/netbsd/sys/sys/syscallargs.h", line 30: zero or negative subscript
> > This is because the code in syscallargs.h is defining an array of size 0.
> 
> > Can someone pls tell me if it is possible to define an array of size
> > 0.
> 
> In C, no; in gcc, yes.
> 

You can also do it in c98, provided it is the last element of a structure.

R.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to