| Summary: | increase warning level for android and sdl2 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sylvain <sylvain.becker> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | don't know | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: |
patch
patch patch doc header |
||
Created attachment 2669 [details]
patch
patch updated to the head.
Created attachment 3077 [details]
patch doc header
fix small warning in documentation and prototype
was fixed in https://hg.libsdl.org/SDL/rev/df7260f149f2 |
Created attachment 2646 [details] patch This is a patch to set and increase the warnings level when building on android. It also fixes some warnings and I tested the build on Android. It remains some warning with -Weverything: -Wbad-function-cast 30 -Wcast-align 998 -Wcast-qual 43 -Wconversion 718 -Wcovered-switch-default 10 -Wdouble-promotion 60 -Wfloat-equal 8 -Wformat-nonliteral 2 -Woverlength-strings 7 -Wpacked 66 -Wpadded 117 -Wpedantic 23 -Wreserved-id-macro 721 -Wshift-sign-overflow 13 -Wsign-conversion 507 -Wswitch-enum 45 -Wundef 715 -Wunused-macros 6 -Wunused-parameter 169