Add pragma(error) and pragma(warning) to the language.

Timon Gehr timon.gehr at gmx.ch
Thu Nov 10 11:20:11 PST 2011


On 11/10/2011 08:12 PM, Justin Whear wrote:
> How would pragma(error) differ from "static assert(false,
> errorMessageHere)"?
>
>

static assert explains that the error occured because of a static 
assertion failure, pragma(error) would not do such a thing.

@topic: +1.



More information about the Digitalmars-d mailing list