https://issues.dlang.org/show_bug.cgi?id=23691

Iain Buclaw <ibuc...@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@gdcproject.org

--- Comment #2 from Iain Buclaw <ibuc...@gdcproject.org> ---
(In reply to Walter Bright from comment #1)
> The use of ^Z to indicate end of file is commonplace on Windows. It dates
> back to DOS because the size of a file was the size it was on disk, so ^Z
> was used to terminate it.
So it's valid for a Windows C compiler, but not Linux?

I doubt that there's any defined way to mark the end of a source file in C, so
maybe mention this alternative form of `__EOF__` under
https://dlang.org/spec/importc.html#visualc-extensions ?

--

Reply via email to