dmd -D == ouch!!
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Sun Sep 29 04:06:49 PDT 2013
On 28/09/13 15:38, Damien wrote:
> From "The D Programming Language" by Andrei Alexandrescu: "If you forget about
> --main, don't worry; the linker will fluently and baroquely remind you of that
> in its native language, encrypted Klingon."
If you ever forget why we all love Andrei, a quick read of his books quickly
reminds you ... :-)
> So I think that your issue is well known and not a development priority at the
> moment... :P
My request is subtly different from a plea for a better error message when the
user misses off -main ;-)
If the user calls dmd -D on a file where "main" is not defined, the likely
intention is that they want to build the docs and only the docs, and the Klingon
is therefore slightly more disconcerting than usual. So, slightly more need for
a "nice" error message. It was obvious to me because I'm used to D -- for a
novice it could be nasty.
More information about the Digitalmars-d-learn
mailing list