// test.cpp
namespace A
{
void F();
}
int main()
{
A::F::
return 0;
}
test.cpp(8) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2844)
Это у меня только на машине или у всех?
Здравствуйте, comer, Вы писали:
C>C>// test.cpp
C>namespace A
C>{
C>void F();
C>}
C>int main()
C>{
C> A::F::
C> return 0;
C>}
C>
C>C>test.cpp(8) : fatal error C1001: INTERNAL COMPILER ERROR
C> (compiler file 'msc1.cpp', line 2844)
C>
C>Это у меня только на машине или у всех?
Наверное только у тебя... IMHO
У меня вот так...
test.cpp
test.cpp(10) : error C2589: 'return' : illegal token on right side of '::'
test.cpp(10) : error C2143: syntax error : missing ';' before '::'
test.cpp(11) : warning C4508: 'main' : function should return a value; 'void' return type assumed