Compilation failure: 4.2.5-P1

Peter Rathlev peter at rathlev.dk
Mon Jul 8 09:26:06 UTC 2013


On Sun, 2013-07-07 at 01:44 -0400, grarpamp wrote:
> Hello. I get a couple compilation errors with 4.2.5-P1
> on an old FreeBSD machine, gcc 2.95.4. Laugh :)
> Would see if anyone aware and suggest patch. Thx.
> 
> dhcp.c: In function `dhcpinform':
> dhcp.c:1114: warning: field width is not type int (arg 4)
> dhcp.c:1134: warning: field width is not type int (arg 4)
> 
> dhcp.c: In function `dhcp_reply':
> dhcp.c:3110: warning: field width is not type int (arg 4)
> dhcp.c:3130: warning: field width is not type int (arg 4)

Seems to be related to some va_list thing. I don't have gcc 2.95.4
source handy right now but it looks like a warning from
"check_format_info". It should be a warning though, not an error.

Update GCC. :-)

-- 
Peter



More information about the dhcp-users mailing list