Skip to content

Instantly share code, notes, and snippets.

@elieux
Created March 12, 2015 21:53
Show Gist options
  • Save elieux/b5ce9e83796d79fd9d90 to your computer and use it in GitHub Desktop.
Save elieux/b5ce9e83796d79fd9d90 to your computer and use it in GitHub Desktop.
mingw-w64 headers error
D:/msys64/mingw64/x86_64-w64-mingw32/include/comutil.h: At global scope:
D:/msys64/mingw64/x86_64-w64-mingw32/include/comutil.h:246:29: error: declaration of 'WCHAR* _bstr_t::Detach()' has a different exception specifier
inline BSTR _bstr_t::Detach() {
^
In file included from D:/msys64/mingw64/x86_64-w64-mingw32/include/comdef.h:19:0,
from W:/temporary/development/mingw-packages/mingw-w64-far-svn/src/far-netbox/libs/atlmfc/src\mfc\afxglobals.cpp:12,
from W:/temporary/development/mingw-packages/mingw-w64-far-svn/src/far-netbox/libs/atlmfc/mfc1.cpp:6:
D:/msys64/mingw64/x86_64-w64-mingw32/include/comutil.h:91:8: error: from previous declaration 'WCHAR* _bstr_t::Detach() throw ()'
BSTR Detach() throw();
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment