preprocessing directive with no new-line character
Toebs Douglass
toby@winterflaw.net
Mon Jul 17 17:41:00 GMT 2017
On 17/07/17 17:45, Martin Sebor wrote:
> I agree. C requires non-empty source files to end in an unescaped
> new-line character.
I was thinking this too, but I thought - the compilation unit as seen by
the compiler will be correct, for there is a trailing newline once the
pre-processor directive has been removed by the pre-processor.
But I don't know how these things really work - it's just a
not-obviously-wrong line of thought.
More information about the Gcc-help
mailing list