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

RTEMS trac trac at rtems.org
Thu Sep 3 20:42:52 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:                 |
---------------------------+----------------------------------------------
Changes (by Martin Galvan <martin.galvan@…>):

 * owner:   => Martin Galvan <martin.galvan@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28a870c47f66d946a6d94887120432be37441cdb/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="28a870c47f66d946a6d94887120432be37441cdb"
 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:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list