ns-3 is on the way!
Wednesday, 31. October 2007, 19:51:31
When using the waf to compile the source code, I encounted the following problem:
[128/316] * cpp : src/core/command-line.cc -> build/debug/src/core/command-line.o cc1plus: warnings being treated as errors ../src/core/command-line.cc: In member function ‘virtual bool ns3::CommandLineTest::RunTests()’: ../src/core/command-line.cc:191: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:191: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:191: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:202: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:202: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:213: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:213: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:213: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:224: warning: deprecated conversion from string constant to ‘char*’ ../src/core/command-line.cc:224: warning: deprecated conversion from string constant to ‘char*’ Compilation failed
To solve this problem, I used
CXXFLAGS="" ./waf configure ./waf

