BUG REPORT: Cannot use the ternary `?` operator in preprocessor macros.
Open
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 445
- Avg merge
- 11h 6m
- Merged PRs (30d)
- 6
Description
We're using the `v2020.3` tag
I attach the file we're trying to feed into `shaderc`, it doesn't like our `IRR_GLSL_MAX` macro.
GCC with the `-E` option consumes it and produces the expected output, feel free to check with godbolt.org
[postprocessed.comp.txt](https://github.com/google/shaderc/files/5583125/postprocessed.comp.txt)
Contributor guide
Assessment
This issue has not been assessed yet.