I am in the process of getting GASNet's CI set up for the public beta's of macOS 10.15 "Catalina" and Xcode 11.
Below is the full text of the failure I see building chapel from git master (at 4d60d41). Note that the compiler is correct to identify ptr_fun<int,int> as deprecated in C++11 (and it was removed in C++17). See https://en.cppreference.com/w/cpp/utility/functional/ptr_fun
I have not made any effort to see if if there are additional errors after this one.
I suspect the macOS version is irrelevant, but I don't have Xcode 11 on a Mojave system at the moment.
clang++ -c -std=gnu++11 -MMD -MP -g -Wall -Werror -Wpointer-arith -Wwrite-strings -Wno-strict-aliasing -Wmissing-declarations -I. -I../include/darwin -I../include -I../../build/compiler/darwin/clang/x86_64/llvm-none -DCOMPILER_SUBDIR=util -o ../../build/compiler/darwin/clang/x86_64/llvm-none/util/stringutil.o stringutil.cpp
stringutil.cpp:316:70: error: 'ptr_fun<int, int>' is deprecated [-Werror,-Wdeprecated-declarations]
s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not1(std::ptr_fun<int, int>(std::isspace))));
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1097:1: note: 'ptr_fun<int, int>' has been explicitly marked deprecated here
_LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1101:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
# define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1090:48: note: expanded from macro '_LIBCPP_DEPRECATED'
# define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
^
stringutil.cpp:325:69: error: 'ptr_fun<int, int>' is deprecated [-Werror,-Wdeprecated-declarations]
return s.end() == std::find_if(s.begin(), s.end(), std::not1(std::ptr_fun<int, int>(std::isspace)));
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1097:1: note: 'ptr_fun<int, int>' has been explicitly marked deprecated here
_LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1101:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
# define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1090:48: note: expanded from macro '_LIBCPP_DEPRECATED'
# define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
^
stringutil.cpp:409:75: error: 'ptr_fun<int, int>' is deprecated [-Werror,-Wdeprecated-declarations]
currentPrefix = std::find_if(line.begin(), line.end(), std::not1(std::ptr_fun<int, int>(std::isspace))) - line.begin();
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:1097:1: note: 'ptr_fun<int, int>' has been explicitly marked deprecated here
_LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1101:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
# define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1090:48: note: expanded from macro '_LIBCPP_DEPRECATED'
# define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
^
3 errors generated.
@PHHargrove - thanks for pointing out the problem.
I've created #13433 in an attempt to resolve this issue but I also don't have an environment that can reproduce the original problem and so there might be other related errors.
@PHHargrove - I just merged the PR that attempts to resolve the issue, so please let us know what happens next time this configuration is tested. Thanks!
@mppf testing of master at b4f742ef on this platform now passes.
Thanks for reporting this and for testing for us, Paul!