Bug 2251

Summary: Some callbacks comparisons fail
Product: ns-3 Reporter: Matthieu Coudron <mattator>
Component: coreAssignee: Peter Barnes <pdbarnes>
Status: PATCH PENDING ---    
Severity: enhancement CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: PC   
OS: Linux   
Bug Depends on: 2457    
Bug Blocks:    
Attachments: add tests to callback test suite

Description Matthieu Coudron 2016-01-05 09:03:10 EST
Created attachment 2222 [details]
add tests to callback test suite

This bug report is a follow up of what I had described in http://mailman.isi.edu/pipermail/ns-developers/2015-August/013003.html

I've added some tests to the callback testsuite as an attachment. You can run it with:
./waf --run "test-runner --suite=callback --verbose"
and it should fail on ns3dev commit "remove unrelated attribute configuration" (b84feab700aab6939608319eb24e6ac99d210a57 in git).

I had a partial unclean fix here:
https://github.com/teto/ns-3-dev-git/commits/add_sink_with_header

but certainly with c++11 and variadic templates it should be easier & cleaner to fix this bug.