User forums > Using Code::Blocks

a problem about "option -fno-range-check ",how could I change this option?

(1/2) > >>

feiyuno1987:
    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!

Freem:
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.

oBFusCATed:
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.

feiyuno1987:

--- Quote from: 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.

--- End quote ---
oh!I see now,thank you all the same.I had completed the error.

feiyuno1987:

--- Quote from: 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.

--- End quote ---
OK!I'm a newcomer.

Navigation

[0] Message Index

[#] Next page

Go to full version