| JDK 26 |
|---|
| 26 b15Fixed |
|
Causes :
|
|
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Relates :
|
After JDK-8314488 (using C++17) we get build failures on linux when using clang as the compiler. For example:
{@code}
/usr/include/stdio.h:352:12: error: exception specification in declaration does not match previous declaration
352 | extern int sprintf (char *__restrict __s,
| ^
/home/kab/gitsb/forbid-sprintf-warning/jdk/open/src/hotspot/share/utilities/forbiddenFunctions.hpp:61:23: note: previous declaration is here
61 | FORBID_C_FUNCTION(int sprintf(char*, const char*, ...), "use os::snprintf");
| ^
{@code}
|