Sunday, July 08, 2012

Disable "warning as errors" in ns-3

When you're including third party open source code to the ns-3, very often you will be seeing at lot of "Warning treated as error". That's quite annoying when you don't brother to fix them all (usually when time is a concern). So a quick fix comes to your mind must be - forget warnings, just let me through, please. Here is how you can do that:

CXXFLAGS="-Wall -g -O0" ./waf configure


ref: https://www.nsnam.org/wiki/index.php/HOWTO_build_old_versions_of_ns-3_on_newer_compilers