In testing the ESP32 compilation of OpenMRNLite (latest master code) with "-Wignored-qualifiers" GCC flag (default with PIO when compiling with esp-idf) I encountered this warning which would be good to review:
In file included from lib/OpenMRNLite/src/openlcb/SimpleStack.hxx:40:0,
from lib/OpenMRNLite/src/OpenMRNLite.h:44,
from include/ESP32CommandStation.h:38,
from src\interfaces\LocoNetInterface.cpp:18:
lib/OpenMRNLite/src/executor/Executor.hxx:167:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Executable* volatile current() { return current_; }
^
In testing the ESP32 compilation of OpenMRNLite (latest master code) with "-Wignored-qualifiers" GCC flag (default with PIO when compiling with esp-idf) I encountered this warning which would be good to review: