After the update of mingw-headers to 4.0.1-1, trying to build vdagent ( http://cgit.freedesktop.org/spice/win32/vd_agent/ ) with mingw gives: In file included from vdagent/file_xfer.cpp:18:0: /usr/x86_64-w64-mingw32/sys-root/mingw/include/shlobj.h:37:3: error: 'EXTERN_C' does not name a type SHFOLDERAPI SHGetFolderPathW (HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath); This did not happen with 4.0.0-1 or earlier versions. This can be worked around by including the includes from http://sourceforge.net/p/mingw-w64/mingw-w64/ci/6c56d0b0eb5be9fbeb552ba070a2304b842a5102 before including shlobj.h so I assume adding this patch to the mingw-headers package would fix this regression.
Could you test if http://koji.fedoraproject.org/koji/buildinfo?buildID=630575 resolves the issue for you?
Yes, this solves the issue I was having.
Excellent, the updated package is now available as buildroot override for f21, f22 and epel7. A regular update will be pushed soon as well
mingw-crt-4.0.2-1.fc22,mingw-headers-4.0.2-1.fc22,mingw-winpthreads-4.0.2-1.fc22,mingw-winstorecompat-4.0.2-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/mingw-crt-4.0.2-1.fc22,mingw-headers-4.0.2-1.fc22,mingw-winpthreads-4.0.2-1.fc22,mingw-winstorecompat-4.0.2-1.fc22
mingw-crt-4.0.2-1.fc21,mingw-headers-4.0.2-1.fc21,mingw-winpthreads-4.0.2-1.fc21,mingw-winstorecompat-4.0.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mingw-crt-4.0.2-1.fc21,mingw-headers-4.0.2-1.fc21,mingw-winpthreads-4.0.2-1.fc21,mingw-winstorecompat-4.0.2-1.fc21
mingw-crt-4.0.2-1.el7,mingw-headers-4.0.2-1.el7,mingw-winpthreads-4.0.2-1.el7,mingw-winstorecompat-4.0.2-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mingw-crt-4.0.2-1.el7,mingw-headers-4.0.2-1.el7,mingw-winpthreads-4.0.2-1.el7,mingw-winstorecompat-4.0.2-1.el7
Package mingw-headers-4.0.2-1.el7, mingw-winstorecompat-4.0.2-1.el7, mingw-crt-4.0.2-1.el7, mingw-winpthreads-4.0.2-1.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing mingw-headers-4.0.2-1.el7 mingw-winstorecompat-4.0.2-1.el7 mingw-crt-4.0.2-1.el7 mingw-winpthreads-4.0.2-1.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-5996/mingw-crt-4.0.2-1.el7,mingw-headers-4.0.2-1.el7,mingw-winpthreads-4.0.2-1.el7,mingw-winstorecompat-4.0.2-1.el7 then log in and leave karma (feedback).
mingw-headers-4.0.2-1.fc22, mingw-winstorecompat-4.0.2-1.fc22, mingw-crt-4.0.2-1.fc22, mingw-winpthreads-4.0.2-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
mingw-crt-4.0.2-1.fc21, mingw-winpthreads-4.0.2-1.fc21, mingw-headers-4.0.2-1.fc21, mingw-winstorecompat-4.0.2-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
mingw-headers-4.0.2-1.el7, mingw-winstorecompat-4.0.2-1.el7, mingw-crt-4.0.2-1.el7, mingw-winpthreads-4.0.2-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.