Skip to content

build error for macos 12.2 (monterey) #910

@panicfrog

Description

@panicfrog

-- Found folly: /usr/local
debug mode was set
Compiler has atomic std::shared_ptr support
== macOS detected, disabling ASAN for yarpl
-- Found folly: /usr/local
yarpl source dir: /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/xieyongping/Source/cpp/rsocket-cpp/build
xieyongping@za-yyp  ~/Source/cpp/rsocket-cpp/build   master ±  make
[ 5%] Built target gmock
Consolidate compiler generated dependencies of target yarpl
[ 6%] Building CXX object yarpl/CMakeFiles/yarpl.dir/flowable/Subscription.cpp.o
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/flowable/Subscription.cpp:15:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/flowable/Subscription.h:17:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/Refcounted.h:17:
In file included from /usr/local/include/folly/Synchronized.h:31:
In file included from /usr/local/include/folly/SharedMutex.h:29:
In file included from /usr/local/include/folly/concurrency/CacheLocality.h:28:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/unordered_map:435:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/__hash_table:18:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:322:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:323:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/math.h:752:12: note: 'finite' declared here
extern int finite(double)
^
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/flowable/Subscription.cpp:15:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/flowable/Subscription.h:17:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/Refcounted.h:17:
In file included from /usr/local/include/folly/Synchronized.h:31:
In file included from /usr/local/include/folly/SharedMutex.h:29:
In file included from /usr/local/include/folly/concurrency/CacheLocality.h:28:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/unordered_map:435:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/__hash_table:18:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:324:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:325:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:326:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:327:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/functional:742:29: note: '::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/flowable/Subscription.cpp:15:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/flowable/Subscription.h:17:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/Refcounted.h:17:
In file included from /usr/local/include/folly/Synchronized.h:31:
In file included from /usr/local/include/folly/SharedMutex.h:29:
In file included from /usr/local/include/folly/concurrency/CacheLocality.h:28:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/unordered_map:435:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/__hash_table:18:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:328:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
^~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/functional:771:29: note: '::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/flowable/Subscription.cpp:15:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/flowable/Subscription.h:17:
In file included from /Users/xieyongping/Source/cpp/rsocket-cpp/yarpl/../yarpl/Refcounted.h:17:
In file included from /usr/local/include/folly/Synchronized.h:31:
In file included from /usr/local/include/folly/SharedMutex.h:29:
In file included from /usr/local/include/folly/concurrency/CacheLocality.h:28:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/unordered_map:435:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/__hash_table:18:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:329:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:330:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:331:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:333:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make[2]: *** [yarpl/CMakeFiles/yarpl.dir/flowable/Subscription.cpp.o] Error 1
make[1]: *** [yarpl/CMakeFiles/yarpl.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions