Hello, When I use the uVision 2 (v. 2.31) under WinXP - Home Edition, then from time to time some files cannot be compiled by the C51 compiler (v. 7.01). The OS is then telling me that the C51/CX51 compiler has caused an error and that the program (the compiler, not uVision2) has to be ended. Mostly, it's related to a macro 'ASSERT()' with the following definition:
#define ASSERT(expr) if (expr) { ; } else { printf("Assert failed: " #expr " (file %s line %d)\n", __FILE__, (int) __LINE__ ); while (1); }
Hello, The problem does not exist anymore with the compiler version 7.02b Rgds, Geert