[Issue 23691] compilable/test22294.i:16:1: error: unknown type name 'this'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 20 10:36:40 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23691
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject.org
--- Comment #2 from Iain Buclaw <ibuclaw at 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 ?
--
More information about the Digitalmars-d-bugs
mailing list