You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With DaisyDuino v1.7.0, Arduino IDE v2.3.4 and STM32 Core v2.9.0, the pod/MusicBox example produces the following compilation error:
MusicBox\MusicBox.ino:32:18: error: 'float time' redeclared as different kind of entity
32 | float vamt, dec, time;
| ^~~~
In file included from Arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/13.2.1-1.1/arm-none-eabi/include/sys/time.h:414,
from Arduino15\packages\STMicroelectronics\hardware\stm32\2.9.0\cores\arduino/wiring_time.h:25,
from Arduino15\packages\STMicroelectronics\hardware\stm32\2.9.0\cores\arduino/wiring.h:38,
from Arduino15\packages\STMicroelectronics\hardware\stm32\2.9.0\cores\arduino/Arduino.h:36,
from sketch\MusicBox.ino.cpp:1:
Arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/13.2.1-1.1/arm-none-eabi/include/time.h:59:12: note: previous declaration 'time_t time(time_t*)'
59 | time_t time (time_t *_timer);
| ^~~~
exit status 1
Compilation error: 'float time' redeclared as different kind of entity
Removing the unused "time" variable from the mentioned line 32 seems to solve it.
Kevin
The text was updated successfully, but these errors were encountered:
With DaisyDuino v1.7.0, Arduino IDE v2.3.4 and STM32 Core v2.9.0, the pod/MusicBox example produces the following compilation error:
Removing the unused "time" variable from the mentioned line 32 seems to solve it.
Kevin
The text was updated successfully, but these errors were encountered: