[Ns-bugs] [Bug 956] Bindings failure in core (traced-value) with older gcc
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon Jul 19 20:39:28 PDT 2010
http://www.nsnam.org/bugzilla/show_bug.cgi?id=956
--- Comment #7 from Josh Pelkey <jpelkey at gatech.edu> 2010-07-19 23:39:28 EDT ---
(In reply to comment #6)
> OK!!
> The wscript file wasn´t updated because I modified it to "NSC" acept IA64
> architecture. I deleted and re-updated it and the problem was fixed!
>
> But...
> Now I have another error:
>
>
> cc1plus: warnings being treated as errors
> debug/ns3/traced-value.h: In member function âns3::TracedValue<T>::operator
> ns3::EnumValue() const [with T = double]â:
> debug/bindings/python/ns3_module_core.cc:21494: instantiated from here
> debug/ns3/traced-value.h:88: warning: passing âconst doubleâ for argument 1 to
> âns3::EnumValue::EnumValue(int)â
> debug/ns3/traced-value.h: In member function âns3::TracedValue<T>::operator
> ns3::IntegerValue() const [with T = double]â:
> debug/bindings/python/ns3_module_core.cc:21848: instantiated from here
> debug/ns3/traced-value.h:73: warning: passing âconst doubleâ for argument 1 to
> âns3::IntegerValue::IntegerValue(const int64_t&)â
> debug/ns3/traced-value.h: In member function âns3::TracedValue<T>::operator
> ns3::UintegerValue() const [with T = double]â:
> debug/bindings/python/ns3_module_core.cc:25231: instantiated from here
> debug/ns3/traced-value.h:78: warning: passing âconst doubleâ for argument 1 to
> âns3::UintegerValue::UintegerValue(const uint64_t&)â
> [1201/1345] cxx: build/debug/bindings/python/ns3_module_energy.cc ->
> build/debug/bindings/python/ns3_module_energy_3.o
> Waf: Leaving directory `/bin/ns-3-dev/build'
> Build failed: -> task failed (err #1):
> {task: cxx ns3_module_core.cc -> ns3_module_core_3.o}
>
>
> Thanks.
I can confirm this on g++-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-6ubuntu5)
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list