Bug: Remove 0 subscript from struct (4.1.1)

John Center john.center at villanova.edu
Fri Feb 5 14:05:15 UTC 2010


Hi,

I had to remove the following [0] subscript to remove warnings in 4.1.1, 
compiling 64bit on Solaris 10 (SPARC) using Sun Studio 12.1:


includes/dhcp6.h
180c180
<       unsigned char options[0];
---
 >       unsigned char options[];
194c194
<       unsigned char options[0];
---
 >       unsigned char options[];


HTH

	-John


-- 
John Center
Villanova University



More information about the dhcp-hackers mailing list