https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97362
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to frankhb1989 from comment #0) > Case: > > #include <windows.h> > #include <functional> N.B. this has nothing to do with <functional>. The __deref entity is in <debug/functions.h> which gets included by <algorithm> and all the containers (and a few other places). <functional> just happens to include <array> which uses the debug mode header.