-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[BUG] stepper.cpp - expression must have a constant value / cannot be used as a constant #27273
Comments
Same here |
Closing since there are no compile errors or warnings. |
@classicrocker883: Please only open bug reports for confirmed bugs. If you're unsure, please hop on our Discord and ask for help before proceeding. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Okay I am not sure if this is a bug with negative implications, or it is just whatever it is.
So everything compiles fine, no errors or warnings to note otherwise.
However, when I go to this file:
Marlin\src\module\stepper.cpp: line ~530
I get red squiggles under these 3
constexpr
and this error:removing
constexpr
from each 3 will remove this error and also compile successfully.Bug Timeline
No response
Expected behavior
Expect no warnings/errors
Actual behavior
Compiles correctly.
Everything else seems to be fine,
except this error appears.
Steps to Reproduce
STM32F103RE_creality
in platformio.iniVersion of Marlin Firmware
bugfix-2.1.x
Printer model
No response
Electronics
No response
LCD/Controller
No response
Other add-ons
No response
Bed Leveling
None
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: