smithy/tracing/TraceSpan.h conflicts with wingdi.h #2590
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
pending-release
This issue will be fixed by an approved PR that hasn't been released yet.
Describe the bug
The enum value
smithy::components::tracing::TraceSpanStatus::ERROR
conflicts withERROR
macro in wingdi.hExpected Behavior
No conflict occurs.
Current Behavior
C2059, C3805 error occurs.
Reproduction Steps
Make a project with wingdi.h header file and build it, the you will find the error.
Possible Solution
Adding these lines in TraceSpan.h may help but I'm not sure there's any subeffects.
Additional Information/Context
No response
AWS CPP SDK version used
1.11.123
Compiler and Version used
Visual Studio 2015 Community / Build Engine version 14.0.25420.1
Operating System and version
Windows 10 Pro 22H2
The text was updated successfully, but these errors were encountered: