używam msys2
aby skompilować projekt musiałem dodać do pliku werapi.h parę brakujących linijek
brakujące linijki odnalazłem w "Windows Kits"
Gdzie to zgłosić aby pojawiło się w pakiecie ?
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
natchnęło mnie
https://sourceforge.net/p/mingw-w64/_list/tickets