"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "a0b8f70df4f6dfcf522164e10fa99e1c7afb3f47"
Use defined for some preprocessor variables that might be undefined (#2476)
The variables PYBIND11_HAS_OPTIONAL, PYBIND11_HAS_EXP_OPTIONAL, PYBIND11_HAS_VARIANT, __clang__, __APPLE__ were not checked for defined in a minortity of instances. If the project using pybind11 sets -Wundef, the warnings will show. The test build is also modified to catch the problem.
Showing
Please register or sign in to comment