This would help us by having the compiler catch errors in format strings.
The drawback is that it requires us to cast all pointers in printf style arguments. See this email thread: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2013-December/010266.html
The drawback is that it requires us to cast all pointers in printf style arguments. See this email thread: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2013-December/010266.html
- duplicates
-
JDK-6990479 PTR_FORMAT needs to be a pointer format
- Closed
-
JDK-8037816 Fix for 8036122 breaks build with Xcode5/clang
- Resolved