This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

warning: #61-D: integer operation result is out of range

HI Friends,

I am using AT91SAM7SE512 controller,
i have configured the input in port B.while compiling the
program i am getting this warning.

"main.c(96): warning: #61-D: integer operation result is out of range"

If anybody knows about this bug Please help me to rectify.

with regards,
Nanju...

Parents
  • Maybe you should have posted the relevant code, so we could have had a possibility of commenting on it...

    Anyway, as you should know, all integer data types in your processor has a limited range, depending on number of bits.

    Your compiler is informing you that an intermediate result, or the final result, is larger than what will fit according to the number of bits of precision the computations are made in, or in relation to the target integer size.

Reply
  • Maybe you should have posted the relevant code, so we could have had a possibility of commenting on it...

    Anyway, as you should know, all integer data types in your processor has a limited range, depending on number of bits.

    Your compiler is informing you that an intermediate result, or the final result, is larger than what will fit according to the number of bits of precision the computations are made in, or in relation to the target integer size.

Children
No data