nickgammon / BigNumber

BigNumber library for the Arduino
MIT License
85 stars 22 forks source link

Error during compile. #3

Open royord opened 7 years ago

royord commented 7 years ago

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; ^

nickgammon commented 6 years ago

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.