Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Klugier is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Division by 0 in Thread::Priority
Next Topic: Why Cout() and Cerr() work so different?
Goto Forum:
  


Current Time: Sun Jun 22 16:20:58 CEST 2025

Total time taken to generate the page: 0.04116 seconds