-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.4")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/include (found version "2.9.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nick/Dokumente/GitHub/pybind_callback_tests/build
[ 50%] Building CXX object CMakeFiles/example.dir/pybind.cpp.o
[100%] Linking CXX shared module example.cpython-310-x86_64-linux-gnu.so
[100%] Built target example
False
False
f1 and f2 of same type: ZN8pybind116detail11type_casterISt8functionIFvvEEvE4loadENS_6handleEbE12func_wrapper
f1 can not be cast to : void(*)()
f1 and f2 of same type: ZN8pybind116detail11type_casterISt8functionIFvvEEvE4loadENS_6handleEbE12func_wrapper
f1 can not be cast to : void(*)()