Breaking changes in Visual C++ 2015

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri May 8 19:10:26 PDT 2015


On 5/8/2015 5:25 PM, Andrei Alexandrescu wrote:
> It's goofy to run the program after unittests,

Goofy, maybe, but it makes things simpler. For anyone who is actually bothered 
by it, the fix is a one liner:

   int main(string args)
   {
     version (unittest) exit(0); // <== insert this line
     ...
   }



More information about the Digitalmars-d mailing list