Hi,
Compiling the c++11 code will cause armcc crashed, any suggestion?
struct T{ inline ~T(){ ptr; //Remove this line will be OK. } T() : ptr(nullptr){ } void *ptr; }; void test(T &t){ auto f = [t](){ }; }
It will depend on which armcc compiler version you are using. You might try the latest armcc v5.06 u4 from this link developer.arm.com/.../downloads
Have tested with V5.06 update 4, build 422 and v6.6
Both have the same bug -- compiler crashed.
看來arm的工程师太好混了,很容易å¤çŽ°çš„问题,测都ä¸æµ‹ï¼Œæƒ³å½“然就敷è¡ä¸‹ã€‚