Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 520202 Details for
Bug 648180
dev-cpp/ETL-0.04.15 fails test: fprintf(stderr, fixed: Failed test on line %d in _FILE_ .\n ,_LINE_);
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-cpp:ETL-0.04.15:20180219-154436.log
dev-cpp:ETL-0.04.15:20180219-154436.log (text/plain), 53.46 KB, created by
Toralf Förster
on 2018-02-19 18:55:35 UTC
(
hide
)
Description:
dev-cpp:ETL-0.04.15:20180219-154436.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-02-19 18:55:35 UTC
Size:
53.46 KB
patch
obsolete
> * Package: dev-cpp/ETL-0.04.15 > * Repository: gentoo > * Maintainer: lu_zero@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie ssp test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking ETL-0.04.15.tar.gz to /var/tmp/portage/dev-cpp/ETL-0.04.15/work >>>> Source unpacked in /var/tmp/portage/dev-cpp/ETL-0.04.15/work >>>> Preparing source in /var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15 ... > * Running eautoreconf in '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15' ... > * Running aclocal -I m4 ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running automake --add-missing --copy --force-missing ... > [ ok ] > * Running elibtoolize in: ETL-0.04.15/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15 ... > * econf: updating ETL-0.04.15/config/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating ETL-0.04.15/config/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for compiler warning flags to use... -W -Wall >checking for debug flags... -DNDEBUG >checking for optimization flags... -O2 >checking for profiling... no >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for main in -luser32... no >checking for CreateMutex in -lkernel32... no >checking for pthread_mutex_init in -lpthread... yes >checking for ANSI C header files... (cached) yes >checking pthread.h usability... yes >checking pthread.h presence... yes >checking for pthread.h... yes >checking sched.h usability... yes >checking sched.h presence... yes >checking for sched.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking windows.h usability... no >checking windows.h presence... no >checking for windows.h... no >checking for pthread_create... yes >checking for pthread_rwlock_init... yes >checking for sched_yield... yes >checking for CreateThread... no >checking for QueryPerformanceCounter... no >checking for gettimeofday... yes >checking for sscanf... yes >checking for vsscanf... yes >checking for vsprintf... yes >checking for vasprintf... yes >checking for vsnprintf... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating ETL-config >config.status: creating Makefile >config.status: creating ETL/Makefile >config.status: creating test/Makefile >config.status: creating ETL.pc >config.status: creating doxygen.cfg >config.status: creating ETL/etl_profile_.h >config.status: executing depfiles commands > >Extended Template Library v.0.04.15 >Configuration Summary >- - - - - - > >Install Prefix -------------------> /usr >Target Platform ------------------> x86_64-pc-linux-gnu >Debug Mode -----------------------> no > >$CXX ------------------------------> 'x86_64-pc-linux-gnu-g++' >$CXXFLAGS -------------------------> ' -pipe -march=native -W -Wall -O2' > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15 ... >make -j 1 >Making all in ETL >make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/ETL' >make all-am >make[2]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/ETL' >sed "s/PACKAGE/ETL/g;" < ../ETL/etl_profile_.h > ../ETL/etl_profile.h >make[2]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/ETL' >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/ETL' >Making all in test >make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/test' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/test' >make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15' >make[1]: Nothing to be done for 'all-am'. >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15' >>>> Source compiled. >>>> Test phase: dev-cpp/ETL-0.04.15 >make -j 1 -j1 check >Making check in ETL >make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/ETL' >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/ETL' >Making check in test >make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/test' >make fixed handle clock angle random hermite stringf pen surface smart_ptr benchmark smach spline value >make[2]: Entering directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/test' >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o fixed.o fixed.cpp >fixed.cpp:133:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > fprintf(stderr,"fixed: abs() failure on line %d in "__FILE__".\n",__LINE__); > ^ >fixed.cpp:142:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > fprintf(stderr,"fixed: Failed test on line %d in "__FILE__".\n",__LINE__); > ^ >fixed.cpp:160:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > fprintf(stderr,"fixed: Failed test on line %d in "__FILE__".\n",__LINE__); > ^ >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o fixed fixed.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o handle.o handle.cpp >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o handle handle.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o clock.o clock.cpp >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o clock clock.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o angle.o angle.cpp >angle.cpp: In instantiation of âvoid angle_cos_speed_test() [with Angle = etl::angle]â: >angle.cpp:373:30: required from here >angle.cpp:283:12: warning: variable âtmp2â set but not used [-Wunused-but-set-variable] > float tmp,tmp2; > ^~~~ >angle.cpp: In instantiation of âvoid angle_cos_speed_test() [with Angle = etl::fastangle]â: >angle.cpp:378:34: required from here >angle.cpp:283:12: warning: variable âtmp2â set but not used [-Wunused-but-set-variable] >angle.cpp: In instantiation of âvoid angle_sin_speed_test() [with Angle = etl::angle]â: >angle.cpp:384:30: required from here >angle.cpp:301:12: warning: variable âtmp2â set but not used [-Wunused-but-set-variable] > float tmp,tmp2; > ^~~~ >angle.cpp: In instantiation of âvoid angle_sin_speed_test() [with Angle = etl::fastangle]â: >angle.cpp:389:34: required from here >angle.cpp:301:12: warning: variable âtmp2â set but not used [-Wunused-but-set-variable] >angle.cpp: In instantiation of âvoid angle_tan_speed_test() [with Angle = etl::angle]â: >angle.cpp:395:30: required from here >angle.cpp:319:12: warning: variable âtmp2â set but not used [-Wunused-but-set-variable] > float tmp,tmp2; > ^~~~ >angle.cpp: In instantiation of âvoid angle_tan_speed_test() [with Angle = etl::fastangle]â: >angle.cpp:400:34: required from here >angle.cpp:319:12: warning: variable âtmp2â set but not used [-Wunused-but-set-variable] >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o angle angle.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o random.o random.cpp >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o random random.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o hermite.o hermite.cpp >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o hermite hermite.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o stringf.o stringf.cpp >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o stringf stringf.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o pen.o pen.cpp >pen.cpp:50:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("Um..... malloc failure on line %d of "__FILE__"...\n",__LINE__); > ^ >pen.cpp:59:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: On pen bool test\n",__LINE__); > ^ >pen.cpp:65:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: On request for horizontal iterator\n",__LINE__); > ^ >pen.cpp:71:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: On request for vertical iterator\n",__LINE__); > ^ >pen.cpp:80:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: On pen assignment or pen comparison\n",__LINE__); > ^ >pen.cpp:89:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: pen difference inconsistency ([%d,%d]!=[%d,%d])\n",__LINE__,diff.x,diff.y,w,h); > ^ >pen.cpp:95:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: iterator_x inconsistency (%ld!=%d)\n",__LINE__,pen.end_x()-pen.x(),w); > ^ >pen.cpp:101:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: iterator_y inconsistency (%d!=%d)\n",__LINE__,pen.end_y()-pen.y(),h); > ^ >pen.cpp:107:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: iterator_y inconsistency\n",__LINE__); > ^ >pen.cpp:113:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: iterator_x inconsistency\n",__LINE__); > ^ >pen.cpp:228:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("Um..... malloc failure on line %d of "__FILE__"...\n",__LINE__); > ^ >pen.cpp:284:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] > printf("FAILURE! "__FILE__"@%d: blur result contained %d bad values\n",__LINE__,bad_values); > ^ >pen.cpp: In function âint generic_pen_test(int, int)â: >pen.cpp:47:2: warning: âtemplate<class> class std::auto_ptrâ is deprecated [-Wdeprecated-declarations] > auto_ptr<float> data(new float[w*h]); > ^~~~~~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/memory:80:0, > from pen.cpp:29: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/unique_ptr.h:51:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >pen.cpp: In function âvoid emptyfunction(int)â: >pen.cpp:211:13: warning: variable âstupidâ set but not used [-Wunused-but-set-variable] > static int stupid = 0; > ^~~~~~ >pen.cpp: In function âint box_blur_test()â: >pen.cpp:224:2: warning: âtemplate<class> class std::auto_ptrâ is deprecated [-Wdeprecated-declarations] > auto_ptr<boxblur_float> data(new boxblur_float[w*h]); > ^~~~~~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/memory:80:0, > from pen.cpp:29: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/unique_ptr.h:51:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >pen.cpp:225:2: warning: âtemplate<class> class std::auto_ptrâ is deprecated [-Wdeprecated-declarations] > auto_ptr<boxblur_float> data2(new boxblur_float[w*h]); > ^~~~~~~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/memory:80:0, > from pen.cpp:29: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/unique_ptr.h:51:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ >x86_64-pc-linux-gnu-g++ -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -Wl,-O1 -Wl,--as-needed -o pen pen.o -lpthread >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I../ETL -pipe -march=native -W -Wall -O2 -I.. -I../ETL -pipe -march=native -W -Wall -O2 -c -o surface.o surface.cpp >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h: In member function âvoid etl::surface<T, AT, VP>::swap(const etl::surface<T, AT, VP>&)â: >../ETL/_surface.h:93:20: error: no matching function for call to âswap(int&, const int&)â > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/nested_exception.h:40:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/exception:143, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:187:5: note: candidate: template<class _Tp> typename std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> >::value>::type std::swap(_Tp&, _Tp&) > swap(_Tp& __a, _Tp& __b) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:187:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: deduced conflicting types for parameter â_Tpâ (âintâ and âconst intâ) > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/nested_exception.h:40:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/exception:143, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:210:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<std::__is_swappable<_Tp>::value>::type std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm]) > swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:210:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types â_Tp [_Nm]â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:490:5: note: candidate: template<class _T1, class _T2> typename std::enable_if<std::__and_<std::__is_swappable<_T1>, std::__is_swappable<_T2> >::value>::type std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) > swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:490:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::pair<_T1, _T2>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:498:5: note: candidate: template<class _T1, class _T2> typename std::enable_if<(! std::__and_<std::__is_swappable<_T1>, std::__is_swappable<_T2> >::value)>::type std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) <deleted> > swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:498:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::pair<_T1, _T2>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/string:52:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/locale_classes.h:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/ios_base.h:41, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:42, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6234:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) > swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6234:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::__cxx11::basic_string<_CharT, _Traits, _Alloc>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:294:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<typename std::__array_traits<_Tp, _Nm>::_Is_swappable:: value>::type std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) > swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:294:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::array<_Tp, _Nm>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:302:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<(! typename std::__array_traits<_Tp, _Nm>::_Is_swappable:: value)>::type std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) <deleted> > swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:302:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::array<_Tp, _Nm>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1602:5: note: candidate: template<class ... _Elements> typename std::enable_if<std::__and_<std::__is_swappable<_Elements>...>::value>::type std::swap(std::tuple<_Tps ...>&, std::tuple<_Tps ...>&) > swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1602:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::tuple<_Tps ...>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1609:5: note: candidate: template<class ... _Elements> typename std::enable_if<(! std::__and_<std::__is_swappable<_Elements>...>::value)>::type std::swap(std::tuple<_Tps ...>&, std::tuple<_Tps ...>&) <deleted> > swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1609:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::tuple<_Tps ...>â and âintâ > std::swap(w_,x.w_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:58:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/std_function.h:803:5: note: candidate: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&) > swap(function<_Res(_Args...)>& __x, function<_Res(_Args...)>& __y) noexcept > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/std_function.h:803:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:93:20: note: mismatched types âstd::function<_Res(_ArgTypes ...)>â and âintâ > std::swap(w_,x.w_); > ^ >../ETL/_surface.h:94:20: error: no matching function for call to âswap(int&, const int&)â > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/nested_exception.h:40:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/exception:143, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:187:5: note: candidate: template<class _Tp> typename std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> >::value>::type std::swap(_Tp&, _Tp&) > swap(_Tp& __a, _Tp& __b) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:187:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: deduced conflicting types for parameter â_Tpâ (âintâ and âconst intâ) > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/nested_exception.h:40:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/exception:143, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:210:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<std::__is_swappable<_Tp>::value>::type std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm]) > swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:210:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types â_Tp [_Nm]â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:490:5: note: candidate: template<class _T1, class _T2> typename std::enable_if<std::__and_<std::__is_swappable<_T1>, std::__is_swappable<_T2> >::value>::type std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) > swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:490:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::pair<_T1, _T2>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:498:5: note: candidate: template<class _T1, class _T2> typename std::enable_if<(! std::__and_<std::__is_swappable<_T1>, std::__is_swappable<_T2> >::value)>::type std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) <deleted> > swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:498:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::pair<_T1, _T2>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/string:52:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/locale_classes.h:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/ios_base.h:41, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:42, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6234:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) > swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6234:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::__cxx11::basic_string<_CharT, _Traits, _Alloc>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:294:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<typename std::__array_traits<_Tp, _Nm>::_Is_swappable:: value>::type std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) > swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:294:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::array<_Tp, _Nm>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:302:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<(! typename std::__array_traits<_Tp, _Nm>::_Is_swappable:: value)>::type std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) <deleted> > swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:302:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::array<_Tp, _Nm>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1602:5: note: candidate: template<class ... _Elements> typename std::enable_if<std::__and_<std::__is_swappable<_Elements>...>::value>::type std::swap(std::tuple<_Tps ...>&, std::tuple<_Tps ...>&) > swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1602:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::tuple<_Tps ...>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1609:5: note: candidate: template<class ... _Elements> typename std::enable_if<(! std::__and_<std::__is_swappable<_Elements>...>::value)>::type std::swap(std::tuple<_Tps ...>&, std::tuple<_Tps ...>&) <deleted> > swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1609:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::tuple<_Tps ...>â and âintâ > std::swap(h_,x.h_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:58:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/std_function.h:803:5: note: candidate: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&) > swap(function<_Res(_Args...)>& __x, function<_Res(_Args...)>& __y) noexcept > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/std_function.h:803:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:94:20: note: mismatched types âstd::function<_Res(_ArgTypes ...)>â and âintâ > std::swap(h_,x.h_); > ^ >../ETL/_surface.h:95:36: error: no matching function for call to âswap(bool&, const bool&)â > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/nested_exception.h:40:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/exception:143, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:187:5: note: candidate: template<class _Tp> typename std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> >::value>::type std::swap(_Tp&, _Tp&) > swap(_Tp& __a, _Tp& __b) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:187:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: deduced conflicting types for parameter â_Tpâ (âboolâ and âconst boolâ) > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/nested_exception.h:40:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/exception:143, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:210:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<std::__is_swappable<_Tp>::value>::type std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm]) > swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/move.h:210:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types â_Tp [_Nm]â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:490:5: note: candidate: template<class _T1, class _T2> typename std::enable_if<std::__and_<std::__is_swappable<_T1>, std::__is_swappable<_T2> >::value>::type std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) > swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:490:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::pair<_T1, _T2>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:498:5: note: candidate: template<class _T1, class _T2> typename std::enable_if<(! std::__and_<std::__is_swappable<_T1>, std::__is_swappable<_T2> >::value)>::type std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&) <deleted> > swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_pair.h:498:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::pair<_T1, _T2>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/string:52:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/locale_classes.h:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/ios_base.h:41, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ios:42, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39, > from surface.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6234:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) > swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/basic_string.h:6234:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::__cxx11::basic_string<_CharT, _Traits, _Alloc>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:294:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<typename std::__array_traits<_Tp, _Nm>::_Is_swappable:: value>::type std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) > swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:294:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::array<_Tp, _Nm>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:39:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:302:5: note: candidate: template<class _Tp, long unsigned int _Nm> typename std::enable_if<(! typename std::__array_traits<_Tp, _Nm>::_Is_swappable:: value)>::type std::swap(std::array<_Tp, _Nm>&, std::array<_Tp, _Nm>&) <deleted> > swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/array:302:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::array<_Tp, _Nm>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1602:5: note: candidate: template<class ... _Elements> typename std::enable_if<std::__and_<std::__is_swappable<_Elements>...>::value>::type std::swap(std::tuple<_Tps ...>&, std::tuple<_Tps ...>&) > swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1602:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::tuple<_Tps ...>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:54:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1609:5: note: candidate: template<class ... _Elements> typename std::enable_if<(! std::__and_<std::__is_swappable<_Elements>...>::value)>::type std::swap(std::tuple<_Tps ...>&, std::tuple<_Tps ...>&) <deleted> > swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete; > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/tuple:1609:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::tuple<_Tps ...>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/functional:58:0, > from ../ETL/_curve_func.h:32, > from ../ETL/_pen.h:32, > from ../ETL/_surface.h:33, > from ../ETL/surface:32, > from surface.cpp:25: >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/std_function.h:803:5: note: candidate: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&) > swap(function<_Res(_Args...)>& __x, function<_Res(_Args...)>& __y) noexcept > ^~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/std_function.h:803:5: note: template argument deduction/substitution failed: >In file included from ../ETL/surface:32:0, > from surface.cpp:25: >../ETL/_surface.h:95:36: note: mismatched types âstd::function<_Res(_ArgTypes ...)>â and âboolâ > std::swap(deletable_,x.deletable_); > ^ >../ETL/_surface.h: In instantiation of âetl::surface<T, AT, VP>::value_type etl::surface<T, AT, VP>::cubic_sample(float, float) const [with T = float; AT = float; VP = etl::value_prep<float, float>; etl::surface<T, AT, VP>::value_type = float]â: >surface.cpp:182:5: required from here >../ETL/_surface.h:464:10: warning: narrowing conversion of â((5.0e-1 * ((double)((float)xf))) * ((double)((((float)xf) * ((((float)xf) * (float)-1) + (float)2)) - (float)1)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*xf*(xf*(xf*(-1) + 2) - 1), //-t + 2t^2 -t^3 > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >../ETL/_surface.h:465:7: warning: narrowing conversion of â(5.0e-1 * ((double)((((float)xf) * (((float)xf) * (((float)3 * ((float)xf)) - (float)5))) + (float)2)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*(xf*(xf*(3*xf - 5)) + 2), //2 - 5t^2 + 3t^3 > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >../ETL/_surface.h:466:10: warning: narrowing conversion of â((5.0e-1 * ((double)((float)xf))) * ((double)((((float)xf) * (((float)-3 * ((float)xf)) + (float)4)) + (float)1)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*xf*(xf*(-3*xf + 4) + 1), //t + 4t^2 - 3t^3 > ~~~~~~^~~~~~~~~~~~~~~~~~~~~ >../ETL/_surface.h:467:13: warning: narrowing conversion of â(((5.0e-1 * ((double)((float)xf))) * ((double)((float)xf))) * ((double)(((float)xf) - (float)1)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*xf*xf*(xf-1) //-t^2 + t^3 > ~~~~~~~~~^~~~~~~ >../ETL/_surface.h:472:10: warning: narrowing conversion of â((5.0e-1 * ((double)((float)yf))) * ((double)((((float)yf) * ((((float)yf) * (float)-1) + (float)2)) - (float)1)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*yf*(yf*(yf*(-1) + 2) - 1), //-t + 2t^2 -t^3 > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >../ETL/_surface.h:473:7: warning: narrowing conversion of â(5.0e-1 * ((double)((((float)yf) * (((float)yf) * (((float)3 * ((float)yf)) - (float)5))) + (float)2)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*(yf*(yf*(3*yf - 5)) + 2), //2 - 5t^2 + 3t^3 > ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >../ETL/_surface.h:474:10: warning: narrowing conversion of â((5.0e-1 * ((double)((float)yf))) * ((double)((((float)yf) * (((float)-3 * ((float)yf)) + (float)4)) + (float)1)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*yf*(yf*(-3*yf + 4) + 1), //t + 4t^2 - 3t^3 > ~~~~~~^~~~~~~~~~~~~~~~~~~~~ >../ETL/_surface.h:475:13: warning: narrowing conversion of â(((5.0e-1 * ((double)((float)yf))) * ((double)((float)yf))) * ((double)(((float)yf) - (float)1)))â from âdoubleâ to âfloatâ inside { } [-Wnarrowing] > 0.5*yf*yf*(yf-1) //-t^2 + t^3 > ~~~~~~~~~^~~~~~~ >make[2]: *** [Makefile:681: surface.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/test' >make[1]: *** [Makefile:1020: check-am] Error 2 >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15/test' >make: *** [Makefile:513: check-recursive] Error 1 > * ERROR: dev-cpp/ETL-0.04.15::gentoo failed (test phase): > * Make check failed. See above for details. > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 1166: Called default > * phase-functions.sh, line 853: Called default_src_test > * phase-functions.sh, line 882: Called __eapi0_src_test > * phase-helpers.sh, line 764: Called die > * The specific snippet of code: > * $emake_cmd ${internal_opts} check || \ > * die "Make check failed. See above for details." > * > * If you need support, post the output of `emerge --info '=dev-cpp/ETL-0.04.15::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-cpp/ETL-0.04.15::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-cpp:ETL-0.04.15:20180219-154436.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-cpp/ETL-0.04.15/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/ETL-0.04.15/temp/environment'. > * Working directory: '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15' > * S: '/var/tmp/portage/dev-cpp/ETL-0.04.15/work/ETL-0.04.15'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 648180
:
520200
| 520202 |
520204
|
520206
|
520208
|
520210
|
520212