-
Notifications
You must be signed in to change notification settings - Fork 121
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
scanvideo.c fails to compile with enhanced compiler checking enabled #21
Comments
This probably belongs at https://github.com/raspberrypi/pico-extras/issues ? |
In the interim, you can add |
It is perhaps worth noting that adding
to pico-examples/CMakeLists.txt and compiling all the examples results in many warnings within pico-sdk. I haven't tried the same for pico-playground. |
We check pico-sdk with
If you are seeing issues with -Winline, that is a bug in the CMakeLists.txt (you can fix via |
Ah, i misread what you said, I'll check that again (thought I had recently) |
it is also helpful to indicate your compiler version, since the warnings generated differ wildly between them |
Ok i checked, and in building the examples there are some warnings in the examples themselves (and yes they should be fixed, but hasn't been gotten to yet), but none of them come from pico-sdk itself. tinyusb however is a hot mess of warnings, which is perhaps what you are referring to (and pico-examples does build all the tinyusb examples too). |
In trying to resolve a problem with one of my programs I added the command
add_compile_options(-Werror -Wall -Wextra -Wnull-dereference)
to my CMakeLists.txt file. This results in a number of warnings for scanvideo.c
While I can, for now remove the -Werror option to get the build to complete, the code should ideally be free of warnings, see the discussion in https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=312978
The text was updated successfully, but these errors were encountered: