RFR(S): JDK-8073175, 8073174: Fix native warnings in libjli and libfdlibm
Dmitry Samersoff
dmitry.samersoff at oracle.com
Thu Feb 19 15:15:19 UTC 2015
(PING) Hi Everyone,
It's my $0.02 to the warning cleanup work. Please review:
http://cr.openjdk.java.net/~dsamersoff/JDK-8073175/webrev.01
http://cr.openjdk.java.net/~dsamersoff/JDK-8073174/webrev.01
Notes:
1.
There are two common ways to cast pointer to int: intptr_t (perfectly
safe, more-or-less portable) and size_t (perfectly portable,
more-or-less safe)
Use intptr_t everywhere but it costs explicit #ifdef __WINDOWS__ in
splashscreen_stubs.c
2.
I didn't fix "format not a string literal" warnings. It requires to set
per-compiler pragmas.
-Dmitry
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
More information about the core-libs-dev
mailing list