From: <saj...@us...> - 2013-03-06 10:19:19
|
Revision: 416 http://gull.svn.sourceforge.net/gull/?rev=416&view=rev Author: sajeeshs Date: 2013-03-06 10:19:13 +0000 (Wed, 06 Mar 2013) Log Message: ----------- Fix: Fixed issues related to compilation on RHEL6 Modified Paths: -------------- seagull/trunk/src/common/Utils.hpp seagull/trunk/src/protocol-binary/C_MessageBinary.cpp seagull/trunk/src/protocol-tlv/C_MessageTlv.cpp Modified: seagull/trunk/src/common/Utils.hpp =================================================================== --- seagull/trunk/src/common/Utils.hpp 2013-03-04 08:20:30 UTC (rev 415) +++ seagull/trunk/src/common/Utils.hpp 2013-03-06 10:19:13 UTC (rev 416) @@ -29,6 +29,7 @@ // New STL definition #include <cstdio> #include <cstdlib> +#include <string.h> #include "iostream_t.hpp" Modified: seagull/trunk/src/protocol-binary/C_MessageBinary.cpp =================================================================== --- seagull/trunk/src/protocol-binary/C_MessageBinary.cpp 2013-03-04 08:20:30 UTC (rev 415) +++ seagull/trunk/src/protocol-binary/C_MessageBinary.cpp 2013-03-06 10:19:13 UTC (rev 416) @@ -490,7 +490,7 @@ // Search the body value in the array for (L_i=0 ; L_i < m_nb_body_values ; L_i++) { L_occurence -= get_body_value(P_id, L_occurence, P_res, &m_body_val[L_i]); - if(L_found = (L_occurence == 0)) + if((L_found = (L_occurence == 0))) break; } @@ -528,7 +528,7 @@ for (L_i=0 ; L_i < m_nb_body_values ; L_i++) { L_occurence -= set_body_value(P_id, L_occurence, &m_body_val[L_i], P_val); - if(L_found = (L_occurence == 0)) + if((L_found = (L_occurence == 0))) break; } @@ -797,7 +797,7 @@ // check that the fields of the scenario are present for (L_i=0 ; L_i < m_nb_body_values ; L_i++) { L_occurence -= check_field_presence(L_j, L_occurence, &m_body_val[L_i]); - if(L_found = (L_occurence == 0)) + if((L_found = (L_occurence == 0))) break; } Modified: seagull/trunk/src/protocol-tlv/C_MessageTlv.cpp =================================================================== --- seagull/trunk/src/protocol-tlv/C_MessageTlv.cpp 2013-03-04 08:20:30 UTC (rev 415) +++ seagull/trunk/src/protocol-tlv/C_MessageTlv.cpp 2013-03-06 10:19:13 UTC (rev 416) @@ -459,7 +459,7 @@ // Search the body value in the array for (L_i=0 ; L_i < m_nb_body_values ; L_i++) { L_occurence -= get_body_value(P_id, L_occurence, P_res, &m_body_val[L_i]); - if(L_found = (L_occurence == 0)) + if((L_found = (L_occurence == 0))) break; } @@ -499,7 +499,7 @@ for (L_i=0 ; L_i < m_nb_body_values ; L_i++) { L_occurence -= set_body_value(P_id, L_occurence, &m_body_val[L_i], P_val); - if(L_found = (L_occurence == 0)) + if((L_found = (L_occurence == 0))) break; } @@ -770,7 +770,7 @@ // check that the fields of the scenario are present for (L_i=0 ; L_i < m_nb_body_values ; L_i++) { L_occurence -= check_field_presence(L_j, L_occurence, &m_body_val[L_i]); - if(L_found = (L_occurence == 0)) + if((L_found = (L_occurence == 0))) break; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |