Author Topic: a problem about "option -fno-range-check ",how could I change this option?  (Read 6958 times)

Offline feiyuno1987

  • Single posting newcomer
  • *
  • Posts: 3
    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!

« Last Edit: July 06, 2011, 10:14:20 am by feiyuno1987 »

Offline Freem

  • Almost regular
  • **
  • Posts: 218
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline feiyuno1987

  • Single posting newcomer
  • *
  • Posts: 3
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.

Offline feiyuno1987

  • Single posting newcomer
  • *
  • Posts: 3
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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
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 before you post!
is placed just above the Post-/Preview-buttons