Re: [Mingw-w64-public] Looks like winver.h needs to include winapifamily.h

2020-11-25 Thread Biswapriyo Nath
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

[Mingw-w64-public] Bad DWARF info?

2020-11-25 Thread Jameson Nash
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

[Mingw-w64-public] Looks like winver.h needs to include winapifamily.h

2020-11-25 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Mingw-w64-public
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