Hi Gabriel, I followed both methods you suggested in the "ns3.42 error build on Openflow: -Werror=pedantic" thread.
In my case, I'm using Ubuntu 24.04, ns-3.45, and the errors persist.
Two types of errors are appearing in ns-3.45, for a total of 15 errors, similar to those in ns-3.42.
The errors are:
1- error: ISO C++ forbids zero-size array 'actions' [-Werror=pedantic]; struct ofp_action_header actions[0];
2- note: array member 'nx_snat_config nx_act_config::<unnamed union>::snat[0]' declared here; struct nx_snat_config snat[0];
I'm attaching the figures.
Could you tell me another method to block or cancel these errors, other than the two methods you suggested?
Wagner