Re: [Development] QtCreator, non-Qt project, GCC and C++11 - Apologies for sending to wrong list

2014-06-03 Thread William Hallatt
Morning everybody, Yesterday was obviously not my day, apologies for sending the below to this list. On 2 June 2014 16:13, William Hallatt goblincod...@gmail.com wrote: Sorry, just realised that something went really wobbly in that loop copy and paste of mine, should be: int x[10] = { 1,

[Development] QtCreator, non-Qt project, GCC and C++11

2014-06-02 Thread William Hallatt
Hi everybody, Trying to set up a non-Qt project compatible with C++11 and using GCC, but QtCreator keeps highlighting C++11 syntax with messages such as auto' is a C++11 extension. I am confident that my kits are set up correctly (building Qt applications that use C++11 works fine). For the

Re: [Development] QtCreator, non-Qt project, GCC and C++11

2014-06-02 Thread William Hallatt
Sorry, just realised that something went really wobbly in that loop copy and paste of mine, should be: int x[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; for( auto i : x ) { int bob = 0; } On 2 June 2014 13:27, William Hallatt goblincod...@gmail.com wrote: Hi everybody, Trying to set up a