Problem with Seeduino Xiao (Samd21) and Arduino IDE

Hello,
I am curious why the following short snippet compiles for Uno but not for the Seeduino Xiao. The error is:

c:/users/bob/appdata/local/arduino15/packages/seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes

//*****************************************************
double total;

void setup() {
total = 1234.456;
}

void loop() {
double current;

current = sqrt(total);

}

//************************************************************

Using the latest ide 2.0.3

Thanks!

Is this a hard error, or a warning?

See
https://forums.adafruit.com/viewtopic.php?f=25&t=189483

Thanks for your reply. I did not notice it was actually a warning. I have been having other problems and thought this was the problem, which it was not. The information is good in case I see that warning in the future.

Bob

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.