This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

empty delete warning and fixed simple cyg_check_func_ptr


Hi Folks

Attached is a patch which does two things....

It includes the patch from Laurent Gonzalez for src/simple.cxx
cyg_check_func_ptr(). The implementation and prototype did not match.

As mentioned in eCos discuss i adding a little bit of debug code to
the empty delete() functions. Some people don't realise that by
default delete simply does nothing. If INFRA_DEBUG is enabled i keep
account of how often delete is called. If this exceeds a threshold it
will now throw an assertion failure. This should point heavy users of
delete in the right direction while not affecting people who do want
an empty delete function. 

        Andrew

Attachment: infra.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]