Bugzilla – Bug 1348
python bindings: deprecated conversion from string constant to ‘char*’
Last modified: 2012-02-20 07:03:59 UTC
This happens on CentOS 5.7, after using all the "tricks" described in the troubleshooting wiki. The problem seems an invalid conversion from string to char*.
Created attachment 1314 [details] cerr log
Created attachment 1315 [details] the wimax ns3module.cc raising the bug
src/wifi/bindings/ns3module.cc:57706: error: deprecated conversion from string constant to ‘char*’ But the attached file only has 56073 lines. I think you uploaded the wrong ns3module.cc file. Hint: run waf with -j1, otherwise the multiple threads will mix all the outputs and it is too confusing... Meanwhile, I'll see if I can build python2.4 on my machine to try to reproduce the problem here.
Hi, if you want I can upload the wifi one, but even with -j 1 it's like 58.000 lines... Too many functions to be bound :( If you want I can post somewhere the CentOS 5.7 VM, maybe it could be useful. Cheers, T.
(In reply to comment #4) > Hi, > > if you want I can upload the wifi one, but even with -j 1 it's like 58.000 > lines... > > Too many functions to be bound :( > > If you want I can post somewhere the CentOS 5.7 VM, maybe it could be useful. > No need, I fixed the bug on my laptop, will commit the fix later.
changeset: 7715:5513dcf73d39 tag: tip user: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> date: Mon Feb 20 12:03:30 2012 +0000 summary: Bug 1348 - python bindings: deprecated conversion from string constant to ‘char*’