Re: preprocessing directive with no new-line character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux