We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3506

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

Description Sylvain 2016-12-05 11:23:31 UTC
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
Comment 1 Sylvain 2017-01-08 12:46:55 UTC
Created attachment 2669 [details]
patch

patch updated to the head.
Comment 2 Sylvain 2017-11-08 13:58:13 UTC
Created attachment 3077 [details]
patch doc header

fix small warning in documentation and prototype
Comment 3 Sylvain 2018-10-15 16:24:21 UTC
was fixed in https://hg.libsdl.org/SDL/rev/df7260f149f2