Ticket #552 (WorksForMe)Tue Aug 02 13:53:50 UTC 2022
CC: Bizarre case of throwback offset and #include lines
Reported by: | Rick Murray (539) | Severity: | Minor |
Part: | Release: | ||
Milestone: | Status | WorksForMe |
Details by Rick Murray (539):
Description here: https://www.riscosopen.org/forum/forums/4/topic…
It’s less than minor, it barely passes as an annoyance, but it’s certainly peculiar.
Does CC cache anything somewhere, like in Scrap, between successive builds of the same source?
Changelog:
Modified by Rick Murray (539) Wed, August 03 2022 - 20:11:33 GMT
As noted in the thread referenced, this issue only seems to affect files with CRLF line termination.
It also only seems to miss a line for #include, other preprocessor commands increment the line count as expected.
Modified by Sprow (202) Wed, October 19 2022 - 20:43:28 GMT
- Status changed from Open to WorksForMe
Diagnosed later in the thread as a mix of line ending types in the source file.
cc wants Unix line endings (only).