\src\engine\storage.h(13): error C2011: IStorage: 'struct' type redefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\objidl.h(9985): note: see declaration of "IStorage"
I checked git history, It appears after migration to new mysql/sqlite implimentation, and succeed compiled if disable mysql flag
I looked for how this can be solved, in fact, either rename the interface, or add include guard IStorage_INTERFACE_DEFINED to some root file where the classes from the SDK have not yet been included. (https://devblogs.microsoft.com/cppblog/fixing-com-interface-redefinition-error/)
Do you know who to write to and who can help with this? \src\engine\storage.h(13): error C2011: IStorage: 'struct' type redefinition
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\objidl.h(9985): note: see declaration of "IStorage"
I checked git history, It appears after migration to new mysql/sqlite implimentation, and succeed compiled if disable mysql flag
I looked for how this can be solved, in fact, either rename the interface, or add include guard IStorage_INTERFACE_DEFINED to some root file where the classes from the SDK have not yet been included. (https://devblogs.microsoft.com/cppblog/fixing-com-interface-redefinition-error/)
Do you know who to write to and who can help with this? #include <windows.h>
somewhere? Try adding #define WIN32_LEAN_AND_MEAN
in the line before including the windows header, if that line isn't there already.#include <windows.h>
somewhere? Try adding #define WIN32_LEAN_AND_MEAN
in the line before including the windows header, if that line isn't there already. gender = 1 // Male
gender = 0 // Female
gender = undefined // Non binary
Want me to continue?gender = 1 // Male
gender = 0 // Female
gender = undefined // Non binary
Want me to continue?