Page MenuHome GnuPG

Various issues with system headers and _WIN32_WINNT value in MinGW build of gnupg-2.3.4
Open, NormalPublic

Description

The attached patches solve several compilation warnings and errors when building gnupg-2.3.4 with mingw.org's MinGW: headers that don't exist in this MinGW or don't provide prototypes for some functions or need to be included for some functions to be visible.

Revisions and Commits

Event Timeline

werner triaged this task as Normal priority.Mar 25 2022, 1:27 PM
werner edited projects, added gnupg (gpg23), Feature Request; removed Bug Report.
gniibe edited projects, added gnupg; removed gnupg24, gnupg (gpg23).
gniibe added a subscriber: gniibe.

In master, I applied changes for include files which don't harm current target of MinGW-64.

I'm afraid defining _WIN32_WINNT by each application code is not good; It would be defined in configure output, if needed.