Skip to content
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

DXC doesn't compile with /Zc:preprocessor (the new MSVC C++ conformant preprocessor) #7042

Open
devshgraphicsprogramming opened this issue Dec 19, 2024 · 0 comments
Labels
bug Bug, regression, crash build Issues related to build and setup
Milestone

Comments

@devshgraphicsprogramming

Description

DXC doesn't compile with /Zc:preprocessor build flag using MSVC.

This may explain some of our issues when trying to compile DXC with vanilla Clang (without using MSVC runtime) instead of MSVC.

Steps to Reproduce

DXC doesn't compile with /Zc:preprocessor build flag using MSVC.

Actual Behavior

Errors around the use-site of DXASSERT, its probably __VA_ARGS__ not removing the , before itself when the va-args are empty.

Environment

  • DXC version: latest trunk
  • Host Operating System: Windows
@devshgraphicsprogramming devshgraphicsprogramming added bug Bug, regression, crash needs-triage Awaiting triage labels Dec 19, 2024
AnastaZIuk added a commit to Devsh-Graphics-Programming/DirectXShaderCompiler that referenced this issue Dec 19, 2024
AnastaZIuk added a commit to Devsh-Graphics-Programming/DirectXShaderCompiler that referenced this issue Dec 19, 2024
@llvm-beanz llvm-beanz added this to the Dormant milestone Dec 19, 2024
@llvm-beanz llvm-beanz added build Issues related to build and setup and removed needs-triage Awaiting triage labels Dec 19, 2024
@llvm-beanz llvm-beanz moved this to Triaged in HLSL Triage Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, regression, crash build Issues related to build and setup
Projects
Status: Triaged
Development

No branches or pull requests

2 participants