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
- Version
- -
- Is it a breaking change?
- Perfectly compatible
Revisions and Commits
Revisions and Commits
rVYOSONEX vyos-1x | |||
rVYOSONEXc6c22c2a2c54 Merge pull request #891 from erkin/preprocessor-fix |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Wontfix | syncer | T3644 Replace GCC with a simpler preprocessor for including nested XML snippets in XML documents | |||
Resolved | erkin | T3639 GCC preprocessor clobbers C comments |