[Issue 23693] compilable/testcstuff3.i:7:1: error: stray '#' in program
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 16 22:21:34 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23693
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject.org
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
The discrepancy here between GCC and ImportC is that ImportC recognizes and
parses `#line` directives.
In GCC `#line` is a CPP-only directive, instead replaces them all with
gcc-specific linemarkers.
The linemarker tests in the testsuite are not representative of real line
markers emitted from gcc, hence why they fail.
--
More information about the Digitalmars-d-bugs
mailing list