-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header ordering conflicts with Boost libraries #435
Comments
I've run into the same issue today:
|
We have also had to make the same fix in our codebase while moving to VS2017. |
Any intention to fix this soon? Any news? |
Ability to use |
Hi, |
Please remove macros |
Ran into the same issue. I was using auto-generated client stubs from Swagger which internally uses boost and cpprest. Please fix it. |
@svebert @milanchandna - as pointed out previously, this should be resolvable for every release since v2.10.3 (Aug 2, 2018) by defining the |
@garethsb-sony completely missed that workaround. Thanks for pointing it out. |
I'm using a combination of Boost and the cpprestsdk but unfortunately, because of the definition of U, the user will get cryptic parser failures in the Boost implementation of
type_traits
. To remedy this, I have to include all of my Boost dependencies before any cpprestsdk header files. There's also a macro one can define to make header ordering irrelevant:#define _TURN_OFF_PLATFORM_STRING
See: microsoft/vcpkg#836
The text was updated successfully, but these errors were encountered: