You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when windows.h is included before taocpp, the following error occurs:
\include\tao\json\binding\member_kind.hpp(15): error C2059: syntax error: ','
The problem is caused by the OPTIONAL define:
enum class member_kind : bool
{
OPTIONAL,
REQUIRED
};
which is defined in:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\shared\minwindef.h
#ifndef OPTIONAL
#define OPTIONAL
#endif
Similar issues with TRUE and FALSE:
include\tao\json\msgpack\internal\format.hpp
FALSE = 0xc2,
TRUE = 0xc3,
The workaround is to undefine them before including tao:
#undef OPTIONAL
#undef TRUE
#undef FALSE
but this is not very practical (TRUE/FALSE are used everywhere in a typical Windows app).
The text was updated successfully, but these errors were encountered:
when windows.h is included before taocpp, the following error occurs:
\include\tao\json\binding\member_kind.hpp(15): error C2059: syntax error: ','
The problem is caused by the OPTIONAL define:
which is defined in:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\shared\minwindef.h
Similar issues with TRUE and FALSE:
include\tao\json\msgpack\internal\format.hpp
The workaround is to undefine them before including tao:
but this is not very practical (TRUE/FALSE are used everywhere in a typical Windows app).
The text was updated successfully, but these errors were encountered: