Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Hi, man! Only /Qstd=c++0x because it's c++11 feature.
J:\>icl /Qstd=c++0x main.cpp
Intel(R) C++ Compiler XE for applications running on IA-32, Version 13.0 Build 2
0121008
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
main.cpp
main.cpp(3): internal error: assertion failed at: "shared/cfe/edgcpfe/expr.c", l
ine 39144
And three more verifications with the test-case provided:
[ Borland C++ compiler ]
...
Error E2233 ../../Common/PrtTests.cpp 678: Cannot initialize a class member here
...
[ MinGW C++ compiler ]
...
../../Common/PrtTests.cpp:678: error: ISO C++ forbids initialization of member `a'
../../Common/PrtTests.cpp:678: error: making `a' static
../../Common/PrtTests.cpp:678: error: ISO C++ forbids in-class initialization of non-const static member `a'
...
[ Turbo C++ compiler ]
...
Error ../../Common/PrtTests.cpp 678: Cannot initialize a class member here
...