------- Comment #3 from jwakely dot gcc at gmail dot com 2009-07-06 17:21 ------- (In reply to comment #0) > // ERROR: How could i use the auto keyword which exist in GCC 4.4 > auto a1 = A (5);
You need to use -std=c++0x to enable C++0x features. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40655