extern(C++) in win32.mak
Paul D Anderson
paul.d.anderson at comcast.net
Wed Feb 7 06:05:54 UTC 2018
I don't understand the following line in dmd/src/win32.mak:
extern (C++) __gshared const(char)* ddoc_default = import
("default_ddoc_theme.ddoc");
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.
The error message is:
file "default_ddoc_theme.ddoc" cannot be found or not in a path
specified with -J
The file is in the directory dmd2/src/res, which is specified
with -J../res in the build.
Is there anyone who knows the ins and outs of the makefile that
can shed some light?
Thanks,
Paul
More information about the Digitalmars-d-learn
mailing list