Bugzilla – Bug 1560
src/mpi/examples/nms-p2p-nix-distributed.cc doesn't compile with clang
Last modified: 2013-12-13 16:49:56 UTC
clang wants all arrays to have const lengths; this eliminates possibility to use CommandLine to change values in this example. Script needs to be rewritten to remove variable-length arrays. Temporary fix in place for pending release.
Created attachment 1600 [details] patch to change length-fixed array to vector Apply this to src/mpi/examples/nms-p2p-nix-distributed.cc -Zeheng Chen
Created attachment 1735 [details] Updated patch Thanks for the patch. You missed a few instances with NodeContainer and the NetdeviceContainers at the bottom. Updated.
10522:fc88dcae9999