-
Bug
-
Resolution: Fixed
-
P2
-
12
-
b13
-
generic
-
linux
-
Not verified
Recently the gcc warning (as errors) settings were changed.
This change triggers compile errors on Linux at some places.
Example :
/OpenJDK/8210319/jdk/src/java.base/unix/native/libnet/net_util_md.h:50:7: error: "__solaris__" is not defined [-Werror=undef]
Here the check
#elif __solaris__
needs to be changed to #elif defined(__solaris__)
There are more platform-checks in native code with same patterns.
This change triggers compile errors on Linux at some places.
Example :
/OpenJDK/8210319/jdk/src/java.base/unix/native/libnet/net_util_md.h:50:7: error: "__solaris__" is not defined [-Werror=undef]
Here the check
#elif __solaris__
needs to be changed to #elif defined(__solaris__)
There are more platform-checks in native code with same patterns.
- relates to
-
JDK-8211360 Change #if DEF to #if defined(DEF)
-
- Resolved
-