Page MenuHomeVyOS Platform

GCC preprocessor clobbers C comments
Closed, ResolvedPublic

Description

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.

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