|
|
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 |
|
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
|
|
|
|
|
I've just joined the wonderful world of Linux software distribution!
By: cbpporter on Thu, 08 September 2016 17:40
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: cbpporter on Thu, 08 September 2016 20:09
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: Klugier on Thu, 08 September 2016 22:51
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: deep on Fri, 09 September 2016 13:46
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: mirek on Fri, 09 September 2016 20:12
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: coolman on Sat, 10 September 2016 11:20
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: cbpporter on Tue, 13 September 2016 14:54
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: cbpporter on Fri, 09 September 2016 17:49
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: mirek on Fri, 09 September 2016 19:15
|
|
|
Re: I've just joined the wonderful world of Linux software distribution!
By: cbpporter on Fri, 09 September 2016 18:32
|
Goto Forum:
Current Time: Thu Mar 28 21:41:50 CET 2024
Total time taken to generate the page: 0.01182 seconds
|
|
|