Re: [Mingw-w64-public] windows.foundation.h enum errors

2021-11-10 Thread Biswapriyo Nath
Would you like to provide a minimal sample code and command to compile it to reproduce the issue? ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

[Mingw-w64-public] windows.foundation.h enum errors

2021-11-08 Thread Tom Ritter
I was getting this error when compiling including windows.foundation.h: error: ISO C++ forbids forward references to 'enum' types Digging into this, I learned that forward declaring an enum is allowed in C++11 but only if the underlying type (e.g. int) is declared. more: https://stackoverflow.com/