Replies: 1 comment
-
The only Lines 46 to 50 in b506c01 If GCC is dumping the code as an error, that's probably because it's really a C++17 problem. You could drop the |
Beta Was this translation helpful? Give feedback.
-
The only Lines 46 to 50 in b506c01 If GCC is dumping the code as an error, that's probably because it's really a C++17 problem. You could drop the |
Beta Was this translation helpful? Give feedback.
-
I used a library called SerialMenu to create an app that compiles and runs fine on Arduino boards. But when I try to compile for the Pico I get this error:
My understanding is that it is warning about attempting to call a non-const member function on a const instance. But I know that it works and compiles OK for Arduino so I'm thinking there is a difference in how the compiler flags are set for the two targets. (Maybe -Werror is enabled, turning warnings into errors?) The author of the library has not responded to this issue.
Is there a way to disable this error in the Arduino IDE? Or is there another explanation or fix? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions