Been having this problem for some time now after upgrading headers and 
crt that the restrict qualifier throws an error

whenever g++ is invoked, this breaks a lot of sources such as codelite 
from building. So i investigated and found that the reactos guys where 
having the same problem and a possible fix.

in the _mingw.h header where the restrict qualifiers are declared its 
guarded by __GNUG__ since this invokes both __GNUC__ and __cplusplus one 
should think that it would be enough but it clearly is not. Try adding 
&& !defined __cplusplus after __GNUG__ and see what i mean.

In fact do away with the __GNUG__ define there and replace it with 
__cplusplus and things will work again.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to