So i am in a bit of stand off here and im not sure exactly how to go about proceeding, or if its even fixable...
We use a 3rd party SDK provided by another team, this SDK must be used for our app to function properly.
In this SDK, there are lines like this
#define uint16_t UINT16
#define uint8_t UINT8
The issue is in Boost, more specifically the ASIO/Details/cstdint.hpp file has lines that are
using std::uint16_t
using std::uint8_t
My app wont compile now because its really doing
using std::UINT16
using std::UINT8
And its complaining those types do not exist in std namespace obviously.
These UINT16 and UINT8 defines are used everywhere in the app that is very large, so replacing them is not very feasible, and im not even sure if the SDK would function if i did so.
I can try to #undef all of these defines before including the boost header files? And then redefine them after? Seems silly and i somehow doubt it would even work anyways.
Any advice?