Re: Looks like winver.h needs to include winapifamily.h
Eli Zaretskii <eliz-mXXj517/[email protected]> Wed, 25 Nov 2020 20:24:41 +0200
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Message-ID | <[email protected]> |
> From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <[email protected]> > Date: Wed, 25 Nov 2020 18:06:24 +0000 > > Hi all, > > It looks like "#include <winapifamily.h>" 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 include <winver.h> (and no other headers) -- for example, resource source files. > > I'm building on the latest Cygwin (and I am certain there was no problem in the previous version until I upgraded the packages recently). I think you are talking about MinGW64, in which case this is the wrong forum to discuss that. mingw.org's MinGW doesn't have any WINAPI_FAMILY_PARTITION thing on or around line 159 of winver.h. _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Posting Etiquette, as described at https://mingw.osdn.io/index.html?page=mailing.html#list-etiquette. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe