TraceLogging.h causing error when building using Clang
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
When using Clang toolset to compile and do code analysis, using macros from TraceLogging.h are causing build errors. The code mapping to those macros does not seem to be supported by Clang compiler (probably not conformant to the standard?).
Code:

Output:

Note: the code build without any issue using MSVC
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the macro definitions in TraceLogging.h and reproduce the reported build and code-analysis errors with the Clang toolset, comparing them with the successful MSVC build. Done means the TraceLogging.h macros compile and support the reported usage under Clang without the shown errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100