-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::scoped_lock not declared in my environment (Fedora 14.1.0-1.fc40) #1169
Comments
Hm, looks like it depends on gthread support from the commend That wasn't the case for the stdlibc++ shipped with gcc 12, (GCC13/GCC14 is not tested with modm btw, due to the issue with the protothread/resumable macros, see #1012) |
Actually, can you |
Compiles fine , but i have not tested the functionality of that |
Using
modm:processing:fibers
, i get this compiling error:Looking into
/usr/arm-none-eabi/include/c++/14.1.0/mutex
i found that it's definition is conditional on__cpp_lib_scoped_lock
, which is not defined.As a workaround, i've branched for
__cpp_lib_scoped_lock
inmodm/src/modm/processing/fiber/mutex.hpp
too:Here's my output of
arm-none-eabi-c++ -v
, using Fedora 40:The text was updated successfully, but these errors were encountered: