G
Guest
I was compiling a VC++ application in VS.NET 2003 and got the following error:
The following line #1 will not complied and created the following MS
compiler error.
If I change endl to "\n" s in #2, it got compiled. I believe this is a
compiler bug. Has it been identified as bug and has a fix?
1. cout << "ERROR, invalid severity specified in file: "
<< "my file name" << endl;
INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more
information
2. cout << "ERROR, invalid severity specified in file: "
<< myLogConfigFile << "\n";
Compiled.
The following line #1 will not complied and created the following MS
compiler error.
If I change endl to "\n" s in #2, it got compiled. I believe this is a
compiler bug. Has it been identified as bug and has a fix?
1. cout << "ERROR, invalid severity specified in file: "
<< "my file name" << endl;
INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more
information
2. cout << "ERROR, invalid severity specified in file: "
<< myLogConfigFile << "\n";
Compiled.