BigNumber icon indicating copy to clipboard operation
BigNumber copied to clipboard

Error during compile.

Open royord opened this issue 7 years ago • 1 comments

I get the following errors on compile, though they do go away if I keep running the compile...

/Users/.../Documents/Arduino/libraries/BigNumber/number.c: In function 'bc_str2num': /Users/.../Documents/Arduino/libraries/BigNumber/number.c:1523:7: warning: assignment discards 'const' qualifier from pointer target type ptr = str; ^ /Users/.../Documents/Arduino/libraries/BigNumber/number.c:1548:7: warning: assignment discards 'const' qualifier from pointer target type ptr = str; ^

royord avatar Aug 15 '17 05:08 royord

I don't get any warnings under IDE 1.6.9, even with warnings set to "all".

warning: assignment discards 'const' qualifier from pointer target type

That's a warning, not an error. Since it is a warning, if you compile again that source file won't be compiled a second time, and you don't see the message a second time.

nickgammon avatar Oct 14 '17 06:10 nickgammon