On Wednesday, 7 February 2018 at 06:18:04 UTC, rikki cattermole
wrote:
On 07/02/2018 6:05 AM, Paul D Anderson wrote:
I don't understand the following line in dmd/src/win32.mak:
extern (C++) __gshared const(char)* ddoc_default = import
("default_ddoc_theme.ddoc");
That is a string import (-J).
What does the word "import" mean in this context? I can't find
any documentation on the use of import in this way, and the
line fails to compile during the make.
https://dlang.org/spec/expression.html#import_expressions
Thank you. I did not know that.
The error was caused by an over-zealous virus checker preventing
some dmc executables from downloading.
Paul