Can you please tell us what compiler version generated this error, so we can try to reproduce? For g++, the command is "g++ -v"; for clang++, it is similar ("clang++ -v").
I don't know offhand why the ns-3 commands are not working; we would have to take a look.
If you do not need the openflow module, you can delete the directory "ns-3.42/src/openflow". If you do need to get the openflow module working, then you can try to modify the openflow source code (openflow is a separate library that provides openflow.h) to replace the syntax used for those structure declarations, to change '[0]' to '[]' for each instance of the warning: e.g.
struct ofp_phy_port ports[0];
would become
struct ofp_phy_port ports[];
Although I am not
sure whether some compilers may still complain about this.
- Tom
Wagner --
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/5e507246-8021-4fef-9439-1ecc770fc489n%40googlegroups.com.