Hi!
Why the following program fails to compile with the option -ffreestanding? (Without -ffreestanding there is no errors.)
//test.cpp
#include <climits>
int main() {
char buf[MB_LEN_MAX];
return 0;
}
Command: icpc test.cpp -ffreestanding -o test.exe
Output:
error: identifier "MB_LEN_MAX" is undefined