boostorg / stacktrace

C++ library for storing and printing backtraces.
https://boost.org/libs/stacktrace
422 stars 69 forks source link

Reduction of included Windows SDK headers #157

Closed mabrarov closed 4 months ago

mabrarov commented 5 months ago

Avoid inclusion of rarely used Windows SDK headers which can cause conflict with other code using Windows SDK.

Refer to issue #155 for example of conflict with Boost.Asio caused by Winsock 1.x header (winsock.h) being included through windows.h in Boost.Stacktrace and conflicting with Winsock 2 header (winsock2.h). Refer to https://github.com/chriskohlhoff/asio/issues/1441 for details.

apolukhin commented 4 months ago

Many thanks for the workaround!