Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 110 by
ryandesi...@gmail.com: error: reference to 'set' is
ambiguous
http://code.google.com/p/gpick/issues/detail?id=110
What steps will reproduce the problem?
1. scons && make
What is the expected output? What do you see instead?
Expected successful compile but got:
/usr/bin/clang++ -o build/source/dynv/DynvVarBool.o -c -Wall -O3 -DNDEBUG
-D_REENTRANT -DENABLE_NLS -I/opt/local/include/gtk-2.0
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0
-I/opt/local/include/gio-unix-2.0 -I/opt/local/include
-I/opt/local/include/cairo -I/opt/local/include/atk-1.0
-I/opt/local/include/pixman-1 -I/opt/local/include/libpng16
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/harfbuzz
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/freetype2 source/dynv/DynvVarBool.cpp
source/dynv/DynvVarBool.cpp:72:15: error: reference to 'set' is ambiguous
handler->set=set;
^
source/dynv/DynvVarBool.cpp:39:12: note: candidate found by name lookup
is 'set'
static int set(struct dynvVariable* variable, void* value, bool deref){
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__tree:35:28:
note:
candidate found by name lookup is 'std::__1::set'
class _LIBCPP_TYPE_VIS set;
^
1 error generated.
What version of the product are you using? On what operating system?
gpick 0.2.5, OS X 10.9 Mavericks, Xcode 5.0.2, Apple LLVM version 5.0
(clang-500.2.79) (based on LLVM 3.3svn)
Please provide any additional information below.
OS X 10.9 Mavericks for the first time on OS X uses libc++ instead of
libstdc++ as its C++ library. libc++ includes full C++11 support, but not
support for earlier non-standard C++11 experimental implementation like
libstdc++ did.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings