Skip to content

Instantly share code, notes, and snippets.

@Andrey-VI
Created May 25, 2013 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Andrey-VI/5c85f9948d6d7f8a57f9 to your computer and use it in GitHub Desktop.
Save Andrey-VI/5c85f9948d6d7f8a57f9 to your computer and use it in GitHub Desktop.
g++ -o tests/cpp_tests/agg_blend_src_over_test.o -c -ansi -Wall -pthread -ftemplate-depth-300 -O3 -fno-strict-aliasing -finline-functions -Wno-inline -Wno-parentheses -Wno-char-subscripts -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_TIFF -DBIGINT -DBOOST_REGEX_HAS_ICU -DLINUX -DMAPNIK_THREADSAFE -DNDEBUG -DHAVE_CAIRO -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -Ideps -Ideps/clipper/include -Ideps/agg/include -I. -Iinclude -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/postgresql tests/cpp_tests/agg_blend_src_over_test.cpp
tests/cpp_tests/agg_blend_src_over_test.cpp: In function ‘int main(int, char**)’:
tests/cpp_tests/agg_blend_src_over_test.cpp:141:58: error: no matching function for call to ‘find(std::vector<std::basic_string<char> >::iterator, std::vector<std::basic_string<char> >::iterator, const char [3])’
tests/cpp_tests/agg_blend_src_over_test.cpp:141:58: note: candidate is:
In file included from /usr/include/c++/4.7/bits/locale_facets.h:50:0,
from /usr/include/c++/4.7/bits/basic_ios.h:39,
from /usr/include/c++/4.7/ios:45,
from /usr/include/c++/4.7/ostream:40,
from /usr/include/c++/4.7/iostream:40,
from /usr/include/boost/detail/lightweight_test.hpp:27,
from tests/cpp_tests/agg_blend_src_over_test.cpp:2:
/usr/include/c++/4.7/bits/streambuf_iterator.h:371:5: note: template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> > >::__type std::find(std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >, const _CharT2&)
/usr/include/c++/4.7/bits/streambuf_iterator.h:371:5: note: template argument deduction/substitution failed:
tests/cpp_tests/agg_blend_src_over_test.cpp:141:58: note: ‘__gnu_cxx::__normal_iterator<std::basic_string<char>*, std::vector<std::basic_string<char> > >’ is not derived from ‘std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >’
scons: *** [tests/cpp_tests/agg_blend_src_over_test.o] Error 1
scons: building terminated because of errors.
make: *** [mapnik] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment