简体   繁体   中英

cannot compile using g++ 4.2.2 with -std=c++0x

I used features in c++0x, when I compile it with g++ 4.7.2. everything works fine. but I have a restriction to use g++ 4.2.2 to compile and it all started failing. is there a quick remedy that I can use so that my "so"s get compiled.

Nope.

That compiler is way too old, gcc started adding features in 4.3 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM