A snippet of that code will be helpful. In Windows SDK, winver.h does
not have that winapifamily.h include. I think winver.h should not be
directly included in source code. winres.h is generally included in
resource files (.rc). Also each function in MS docs[1] says to include
windows.h in the sour
In response to the old thread
https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/CA%2BcU71k2bU0azQxjy4-77ynQj1O%2BTKmgtaTKe59n7Bjub1y7Tg%40mail.gmail.com/#msg36282439,
I've created a patch for gdb (
https://sourceware.org/pipermail/gdb-patches/2020-November/173554.html)
that I thin
Hi all,
It looks like "#include " is missing from "winver.h", making,
in particular, the C pre-processor to complain like this:
/usr/include/w32api/winver.h:159:29: error: missing binary operator before
token "("
159 | #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
in sources that only i