Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: feiyuno1987 on July 06, 2011, 10:12:01 am

Title: a problem about "option -fno-range-check ",how could I change this option?
Post by: feiyuno1987 on July 06, 2011, 10:12:01 am
    After I copy a block of code,I debug it.Then some problem come up.
   
Error: Arithmetic overflow converting REAL( 8 ) to INTEGER(4) at (1). This check can be disabled with the option -fno-range-check

Please help me,thanks!

Title: Re: a problem about "option -fno-range-check ",how could I change this option?
Post by: Freem on July 06, 2011, 02:51:21 pm
I agree with your compiler: add the -fno-range-check to your project, or correct the piece of code.
If we have no piece of code, we can't help more.

And alternatively, I don't think this thread is for general programming problems.
Title: Re: a problem about "option -fno-range-check ",how could I change this option?
Post by: oBFusCATed on July 06, 2011, 03:39:39 pm
Freem: even if we had the code, we don't answer general programming questions here.
Both of you read the rules of the forum and our faq in the wiki.
Title: Re: a problem about "option -fno-range-check ",how could I change this option?
Post by: feiyuno1987 on July 07, 2011, 04:18:14 am
I agree with your compiler: add the -fno-range-check to your project, or correct the piece of code.
If we have no piece of code, we can't help more.

And alternatively, I don't think this thread is for general programming problems.
oh!I see now,thank you all the same.I had completed the error.
Title: Re: a problem about "option -fno-range-check ",how could I change this option?
Post by: feiyuno1987 on July 07, 2011, 04:19:14 am
Freem: even if we had the code, we don't answer general programming questions here.
Both of you read the rules of the forum and our faq in the wiki.
OK!I'm a newcomer.
Title: Re: a problem about "option -fno-range-check ",how could I change this option?
Post by: Jenna on July 07, 2011, 06:35:26 am
Freem: even if we had the code, we don't answer general programming questions here.
Both of you read the rules of the forum and our faq in the wiki.
OK!I'm a newcomer.
This is wy
Quote
Please read the rules (http://forums.codeblocks.org/index.php/topic,9996.0.html) before you post!
is placed just above the Post-/Preview-buttons