[Bug libstdc++/97362] [8/9/10 Regression] `__deref` in <functional> in debug mode clashes with internal macro in Windows system header

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 4 14:00:50 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97362

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to frankhb1989 from comment #1)
> To clarify a bit: <sal.h> is installed by the VC++ toolchain or WDK, not by
> Windows SDK. Nevertheless, it is a system header both MS's CRT and Win32
> headers rely on.

I can't reproduce this, as I don't see the __deref macro in the mingw-w64
headers.

Does this only happen with the Microsoft headers, not mingw versions? Or
something else?


More information about the Gcc-bugs mailing list