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
In file included from .pio/libdeps/wokwi/WrapperFreeRTOS/src/WrapperFreeRTOS.h:7,
from .pio/libdeps/wokwi/EmbeddedMqttBroker/src/MqttBroker/MqttBroker.h:6,
from .pio/libdeps/wokwi/EmbeddedMqttBroker/src/EmbeddedMqttBroker.h:4,
from include/MockMQTTBroker.h:4,
from include/globals.h:15,
from src/main.cpp:8:
.pio/libdeps/wokwi/WrapperFreeRTOS/src/Task.h:78:7: error: redefinition of 'class Task'
class Task {
^~~~
In file included from .pio/libdeps/wokwi/TaskScheduler/src/TaskScheduler.h:237,
from src/main.cpp:6:
.pio/libdeps/wokwi/TaskScheduler/src/TaskSchedulerDeclarations.h:162:7: note: previous definition of 'class Task'
class Task {
^~~~
I think adding namespace could be good option to avoid the name conflict.
The text was updated successfully, but these errors were encountered:
Using the following platform.io dependencies:
compilation fails:
I think adding namespace could be good option to avoid the name conflict.
The text was updated successfully, but these errors were encountered: