CL craches for the code below (with not defined 'MIN' macro). After defining 'MIN' macro (e.g. after uncommenting presented line) CL successfully compiles this code.//------------------------------------------------------//#define MIN(a,b) ((a)>(b)?(b):(a))size_t Calc(unsigned a1, unsigned a2){ return size_t(MIN(a1, a2) - a1);}//------------------------------------------------------
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...