-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
-
11, 17, 20
The following failure occurs while building on MacOS M1:
In file included from /Users/xueleifan/workspace/jdk-dev/test/hotspot/gtest/jfr/test_networkUtilization.cpp:222:
/Users/xueleifan/workspace/jdk-dev/src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:59:25: error: too many arguments provided to function-like macro invocation
assert(iface != NULL, "invariant");
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/assert.h:98:9: note: macro 'assert' defined here
#define assert(e) \
^
Alternatively, vmassert() could be used instead.
In file included from /Users/xueleifan/workspace/jdk-dev/test/hotspot/gtest/jfr/test_networkUtilization.cpp:222:
/Users/xueleifan/workspace/jdk-dev/src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp:59:25: error: too many arguments provided to function-like macro invocation
assert(iface != NULL, "invariant");
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/assert.h:98:9: note: macro 'assert' defined here
#define assert(e) \
^
Alternatively, vmassert() could be used instead.
- duplicates
-
JDK-8299254 Support dealing with standard assert macro
- Resolved
- relates to
-
JDK-8299254 Support dealing with standard assert macro
- Resolved
- links to
-
Review openjdk/jdk/11792