As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 765116 - mozglue/android: fix gcc -Wall -pedantic warnings
: mozglue/android: fix gcc -Wall -pedantic warnings
Product: Firefox for Android
Classification: Client Software
Component: General (show other bugs)
: Trunk
: ARM Android
: -- minor (vote)
: Firefox 16
Assigned To: Chris Peterson [:cpeterson]
: Sebastian Kaspari (:sebastian)
Depends on:
  Show dependency treegraph
Reported: 2012-06-14 19:03 PDT by Chris Peterson [:cpeterson]
Modified: 2012-06-19 01:20 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

part-1-fix-Wall-warnings.patch (2.68 KB, patch)
2012-06-14 19:06 PDT, Chris Peterson [:cpeterson]
mh+mozilla: review+
Details | Diff | Splinter Review
part-2-fix-pedantic-warnings.patch (6.80 KB, patch)
2012-06-14 19:11 PDT, Chris Peterson [:cpeterson]
mh+mozilla: review+
Details | Diff | Splinter Review

Description User image Chris Peterson [:cpeterson] 2012-06-14 19:03:12 PDT

Comment 1 User image Chris Peterson [:cpeterson] 2012-06-14 19:06:34 PDT
Created attachment 633361 [details] [diff] [review]

Part 1: mozglue/android: fix gcc -Wall warnings
Comment 2 User image Chris Peterson [:cpeterson] 2012-06-14 19:11:22 PDT
Created attachment 633362 [details] [diff] [review]

Part 2: mozglue/android: fix gcc -pedantic warnings

gcc -pedantic warns about dlsym() casts because ISO C does not guarantee that sizeof(function pointer) == sizeof(void*), though that would be an unusual machine architecture. To suppress these warnings, this patch casts dlsym()'s return value from void* to uintptr_t to a function pointer.

Note You need to log in before you can comment on or make changes to this bug.