I compiled ns-2.35 on Ubuntu10.04. with gcc-4.4. compiler.
It ends with following warnings (see below). Result is, that DCCP agents do not work.
It is possible, that this problem is caused by gcc compiler (is any recommended gcc version for ns-2.35 ?)
or it's issue with ns-2 implementation ?
Related warnings:
dccp/dccp.cc: In member function ‘bool DCCPAgent::checkPacket(Packet*)’:
dccp/dccp.cc:220: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc:221: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc:222: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc:226: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc:234: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc: In member function ‘virtual int DCCPAgent::setFeature(u_int8_t, dccp_feature_location, u_char*, u_int8_t, bool)’:
dccp/dccp.cc:1163: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc:1170: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp.cc:1203: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp_tfrc.cc: In member function ‘virtual int DCCPTFRCAgent::setFeature(u_int8_t, dccp_feature_location, u_char*, u_int8_t, bool)’:
dccp/dccp_tfrc.cc:773: warning: suggest parentheses around ‘&&’ within ‘||’
dccp/dccp_tfrc.cc:780: warning: suggest parentheses around ‘&&’ within ‘||’