Skip to content

Commit

Permalink
Aaaaand now cpprestsdk's U macro clashes with boost
Browse files Browse the repository at this point in the history
And it's still obscure why this happens
  • Loading branch information
jmarrec committed May 17, 2023
1 parent 2388207 commit 1fe4e54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utilities/bcl/RemoteBCL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif
// Macro U from cpprestsdk is clashing with (cf boost https://github.com/microsoft/cpprestsdk/issues/1214)
#define _TURN_OFF_PLATFORM_STRING
#include <cpprest/http_client.h>
#if (defined(__GNUC__))
# pragma GCC diagnostic pop
Expand Down

0 comments on commit 1fe4e54

Please sign in to comment.