Back to all issues

Issue 5685

Bug: Error compiling multi-line comment within C macro actual argument list


SubmittedProductStatus
2025-05-13Reactis for CResolved in 2024.0.2 (released Jun 03, 2025; release notes)
Resolved in 2023.0.2 (released Dec 03, 2025; release notes)

If a C macro is invoked with a multi-line comment inside the argument list, the C compiler rejects the code with an "incomplete macro invocation" error. For example, the following macro invocations will not compile:

F(x,\* xxx
*\y);

F(x,\\ xxx
y);