Home » U++ Library support » U++ Core » [GCC][C++11] error: call of overloaded 'pick(Upp::Any&)' is ambiguous
Re: [GCC][C++11] error: call of overloaded 'pick(Upp::Any&)' is ambiguous [message #45004 is a reply to message #45003] |
Sat, 15 August 2015 23:22   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Zbych,
For me it works fine I enable c++11 by common option in build methods. My build method settings look like this (part):
COMMON_OPTIONS = "-std=c++11";
This is my example, which test that c++11 is really enable:
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
// Simply C++11 for each loop - in C++03 compilation error
int tab[3] = {1, 2, 3};
for(int& i : tab)
Cout() << i << "\n";
}
P.S.
I have the same GCC version.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sun, 16 August 2015 22:06] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jun 22 10:20:51 CEST 2025
Total time taken to generate the page: 0.04190 seconds
|