Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8344458: [11u] Add initial support for building with XCode 14 #2966

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions make/autoconf/flags-cflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ADDITIONAL_JVM="-Wpointer-arith -Wsign-compare -Wunused-function -Wundef -Wunused-value -Woverloaded-virtual"

DISABLED_WARNINGS="unused-parameter unused"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
CLANG_VERSION_MAJOR=`echo $CLANG_VERSION_NUMBER | awk -F. '{print $1}'`
# Add "-Wno-deprecated-declarations" and "-Wno-deprecated-non-prototype" on macosx/clang >= 14.x.y
if [ "0$CLANG_VERSION_MAJOR" -gt 13 ]; then
DISABLED_WARNINGS="unused-parameter unused deprecated-declarations deprecated-non-prototype"
fi
fi
;;

xlc)
Expand Down