[RTEMS Project] #2410: rtems_dhcp.c fails to compile ("free" requires an extra argument)

RTEMS trac trac at rtems.org
Thu Sep 3 20:43:14 UTC 2015


#2410: rtems_dhcp.c fails to compile ("free" requires an extra argument)
---------------------------+----------------------------------------------
 Reporter:  martin.galvan  |       Owner:  Martin Galvan <martin.galvan@…>
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.11
 Severity:  major          |  Resolution:  fixed
 Keywords:                 |
---------------------------+----------------------------------------------

Comment (by Martin Galvan <martin.galvan@…>):

 In [changeset:"efb798e16ef9719b63e428e55eb039ffc79d11a0/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="efb798e16ef9719b63e428e55eb039ffc79d11a0"
 cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation error

 Apparently 'free' is defined as a macro which takes two arguments and
 calls
 rtems_bsdnet_free. When fixing #2405 I added a missing 'free' but didn't
 notice
 it was non-standard.

 Closes #2410.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/2410#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list