compat\windows_compat.h has a
#define U(x) _XPLATSTR(x)
wihch interferes with boost 1.55 (at least) iostreams\details\access_control.hpp, which has
// Implements protected inheritance.
template<typename U>
struct prot_ : protected U
{
prot_() { }
template<typename V> prot_(V v) : U(v) { }
};
My workaround is to put an
#undef U
right after casablanca's #includes
Comments: Hi kkostrzewa, Yes 'U' is a potentially common symbol. We have the ability to turn if off if you'd like. Before including any of the C++ Rest SDK headers define _TURN_OFF_PLATFORM_STRING. This will cause the 'U' macro to not be defined. Steve
#define U(x) _XPLATSTR(x)
wihch interferes with boost 1.55 (at least) iostreams\details\access_control.hpp, which has
// Implements protected inheritance.
template<typename U>
struct prot_ : protected U
{
prot_() { }
template<typename V> prot_(V v) : U(v) { }
};
My workaround is to put an
#undef U
right after casablanca's #includes
Comments: Hi kkostrzewa, Yes 'U' is a potentially common symbol. We have the ability to turn if off if you'd like. Before including any of the C++ Rest SDK headers define _TURN_OFF_PLATFORM_STRING. This will cause the 'U' macro to not be defined. Steve