GCC preprocessor clobbers lines that contain (what it assumes to be) C comments. /* ... */ is rare enough that it practically never happens, but C++ comments like // ... break things like unquoted strings. It can be worked around by using character entity references, but it would be much cleaner to simply ask GCC to leave the comments untouched by passing it the -C flag in the Makefile.
Description
Description
Details
Details
- Difficulty level
- Unknown (require assessment)
- Version
- -
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Perfectly compatible
Revisions and Commits
Revisions and Commits
Restricted Diffusion Commit |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
On hold | erkin | T3644 Replace GCC with a simpler preprocessor for including nested XML snippets in XML documents | |||
Resolved | erkin | T3639 GCC preprocessor clobbers C comments |