-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to get FMT_COMPILE
to compile on ESP32
#2116
Comments
Update:
|
I'm not sure about this particular compiler but here's an example with gcc 8 it seems to be based on: https://godbolt.org/z/v1qvs8.
|
From the error message it looks like you should compile with exceptions enabled. |
Hello, how can i compile with esp-idf on esp32? try adding fmtlib to components folder, thank!! |
Unfortunately I am not familiar with these. |
Platform: https://github.com/espressif/esp-idf
Compiler:
Code:
Expected Result:
Code compiles.
Actual Result:
Code does not compile. Error message:
Workaround:
This does compile, but complains about
fmt::compile
being deprecated.Investigation:
Here:
fmt/include/fmt/compile.h
Line 553 in 373262f
Even though I had no prior experience with debugging constexpr stuff in compile time, after inserting some "if (...) throw ...", I found out that
format_str.size() == 1
which does not make sense.The text was updated successfully, but these errors were encountered: