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
For future:
GCC 7.1 (mingw-w64)
Just examine problem while compiling tests with unreferenced symbols on Release and MinSizeRel . -flto have mystic conflicts with -O3 or -Os
Temp solution while gcc developers not fix bug:
Disable -flto flag like this: cmake .. -G"Ninja" -DPYBIND11_LTO_CXX_FLAGS=""
mingw-w64 headers have conflict with python headers: error: '::hypot' has not been declared
we can fix it with redefining -D_hypot=hypot cmake .. -G"Ninja" -DPYBIND11_LTO_CXX_FLAGS="" -DCMAKE_CXX_FLAGS="-D_hypot=hypot"