test.cpp : fatal error C1001: An internal error has occurred in the compiler.(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c[0x6F01A633:0x00000005]', line 183) To work around this problem, try simplifying or changing the program near the locations listed above.==============================================test.cpp:==============================================#include <string>#include <stdio.h>#define USER_EXCEPTION2(internal_code, details) \ (fprintf(stdout, "asdsdasdasdasdasdasdasdasdasd"), \ SednaUserException(details, internal_code))class SednaException {public: std::string err_msg; SednaException(const char* _err_msg_) : err_msg(_err_msg_) {}};class SednaUserException : public SednaException{public: int internal_code; SednaUserException(const char* _err_msg_, int _internal_code_) : SednaException(_err_msg_), internal_code(_internal_code_) {}};struct tuple_cell{public: ~tuple_cell(); tuple_cell();};struct fnumber {private: int x; int y;public: fnumber(int the_x, int the_y) { if (the_x > the_y || the_x<0 || the_y<=0) throw USER_EXCEPTION2(103, "in fnumber"); x = the_x; y = the_y; }};tuple_cell EMPTY_TUPLE_CELL;fnumber PROPORTION(0,1);
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results