Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualFDsagizi

Posted 15 October 2012 - 09:58 PM

Hi Posted Image
exemple: Signed/Unsigned mismatch - it's not warning for me


int cur_index;

if( cur_index > array.size() )
{
}

need write

if( cur_index > int( array.size() ) )
{
}


a do not can ignore by msg->message as this:


void ScriptBuildClient::MessageCallback(const asSMessageInfo *msg, void *param)
{
	 if( msg->message == Str( "Signed/Unsigned mismatch" ) )
	 {
		  return;
	 }
}
on warning i have 2 lines about this, first it "Signed/Unsigned mismatch" and second it name method where is!

#1FDsagizi

Posted 15 October 2012 - 09:57 PM

Hi Posted Image
exemple: Signed/Unsigned mismatch - it's not warning for me

int cur_index;
if( cur_index > array.size() )
{
}
need write
if( cur_index > int( array.size() ) )
{
}


a do not can ignore by msg->message as this:


void ScriptBuildClient::MessageCallback(const asSMessageInfo *msg, void *param)
{     if( msg->message == Str( "Signed/Unsigned mismatch" ) )
     {
    	  return;
     }
}
on warning i have 2 lines about this, first it "Signed/Unsigned mismatch" and second it name method where is!

PARTNERS