mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 20:03:39 +00:00
8367051: Build failure with clang on linux and AIX after switch to C++17
Reviewed-by: dholmes, ayang, mbaesken, mdoerr
This commit is contained in:
parent
f10c85fbc3
commit
b653ae92d5
@ -38,6 +38,15 @@
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
// Workaround for noexcept functions in glibc when using clang.
|
||||
// clang errors if declaration without exception specification preceeds
|
||||
// noexcept declaration, but not the other way around.
|
||||
#ifdef __clang__
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "forbiddenFunctions_windows.hpp"
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user