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 » Community » Coffee corner » I've just joined the wonderful world of Linux software distribution!
Re: I've just joined the wonderful world of Linux software distribution! [message #46907 is a reply to message #46903] Fri, 09 September 2016 13:46 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi

I am getting following error during compile from source

Ubuntu 16.04
UPP10171 & upp10201

./Core/Map.hpp:306:8: error: call of overloaded 'Sort(Upp::Vector<int>&)' is ambiguous Sort(b);

c++ -c -x c++ -O3 -ffunction-sections -fdata-sections  -std=c++0x -I./ -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz   -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/cairo -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX -DflagMAIN  umk/Console.cpp -o _out/umk//home/upp/Scripts/GCCMK.bm-Gcc-Linux-Main-Posix-Shared/Console.o
In file included from ./Core/Core.h:334:0,
                 from ./Esc/Esc.h:4,
                 from ./ide/Core/Core.h:4,
                 from ./ide/Builders/Builders.h:4,
                 from umk/umake.h:4,
                 from umk/Console.cpp:1:
./Core/Map.hpp: In member function 'void Upp::AIndex<T, V>::Sweep()':
./Core/Map.hpp:306:8: error: call of overloaded 'Sort(Upp::Vector<int>&)' is ambiguous
  Sort(b);
        ^
./Core/Map.hpp:306:8: note: candidates are:
In file included from ./Core/Core.h:276:0,
                 from ./Esc/Esc.h:4,
                 from ./ide/Core/Core.h:4,
                 from ./ide/Builders/Builders.h:4,
                 from umk/umake.h:4,
                 from umk/Console.cpp:1:
./Core/Sort.h:119:6: note: void Upp::Sort(Range&) [with Range = Upp::Vector<int>]
 void Sort(Range& c)
      ^
./Core/Sort.h:125:6: note: void Upp::Sort(Range&&) [with Range = Upp::Vector<int>&]
 void Sort(Range&& c) { Sort(c); }
      ^
In file included from ./Core/Core.h:334:0,
                 from ./Esc/Esc.h:4,
                 from ./ide/Core/Core.h:4,
                 from ./ide/Builders/Builders.h:4,
                 from umk/umake.h:4,
                 from umk/Console.cpp:1:
./Core/Map.hpp: In member function 'void Upp::AMap<K, T, V>::Sweep()':
./Core/Map.hpp:628:8: error: call of overloaded 'Sort(Upp::Vector<int>&)' is ambiguous
  Sort(b);
        ^
./Core/Map.hpp:628:8: note: candidates are:
In file included from ./Core/Core.h:276:0,
                 from ./Esc/Esc.h:4,
                 from ./ide/Core/Core.h:4,
                 from ./ide/Builders/Builders.h:4,
                 from umk/umake.h:4,
                 from umk/Console.cpp:1:
./Core/Sort.h:119:6: note: void Upp::Sort(Range&) [with Range = Upp::Vector<int>]
 void Sort(Range& c)
      ^
./Core/Sort.h:125:6: note: void Upp::Sort(Range&&) [with Range = Upp::Vector<int>&]
 void Sort(Range&& c) { Sort(c); }


Warm Regards

Deepak
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What next?
Next Topic: Wonders of C++14
Goto Forum:
  


Current Time: Thu Mar 28 21:41:50 CET 2024

Total time taken to generate the page: 0.01182 seconds