You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building doctest with CMake on a Mac with Xcode 15.0 produces this error:
doctest/parts/doctest.cpp:1468:60: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant]
if(sysctl(mib, DOCTEST_COUNTOF(mib), &info, &size, 0, 0) != 0) {
^
This does not occur when using the latest release of doctest.h in my Xcode project, oddly enough. Perhaps my config doesn’t turn on that specific warning?
Description
Building doctest with CMake on a Mac with Xcode 15.0 produces this error:
This does not occur when using the latest release of doctest.h in my Xcode project, oddly enough. Perhaps my config doesn’t turn on that specific warning?
Steps to reproduce
cd doctest
mkdir build && cd build && cmake .. && make
Extra information
The text was updated successfully, but these errors were encountered: