FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2018 PLD Team
$Revision: 1.37 $
Powered by /dev/zero.
Your IP: 54.162.239.233

mysql++ d843d1e5-2403-4092-b2f5-3a29c314aff2

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/x86_64/FAIL/mysql++,d843d1e5-2403-4092-b2f5-3a29c314aff2.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2018/03/07 11:30:58
Runtime:0:00:22.232829

Toc:

  • error 1
  • ./examples/load_jpeg.cpp:88:19: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'std::ifstream {aka std::basic_ifstream<char>}')
  • error 2
  • /usr/include/c++/7.3.0/ostream:682:5: error: no type named 'type' in 'struct std::enable_if<false, std::basic_ostream<char>&>'
  • error 3
  • /usr/include/c++/7.3.0/system_error:217:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)
  • error 4
  • /usr/include/c++/7.3.0/system_error:217:5: note: template argument deduction/substitution failed:
  • error 5
  • error: Bad exit status from /tmp/B.G_vVEj/BUILD/tmp/rpm-tmp.52103 (%build)
  • error 6
  • RPM build errors:
  • error 7
  • error: No files produced.

Content:

x86_64-pld-linux-g++ -c -o fieldinf_fieldinf.o -Ilib      -I/usr/include/mysql -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC ./examples/fieldinf.cpp
In file included from lib/cpool.h:31:0,
                 from lib/mysql++.h:57,
                 from ./examples/printdata.h:31,
                 from ./examples/fieldinf.cpp:29:
lib/beemutex.h:64:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  BeecryptMutex() throw (MutexFailed);
                  ^~~~~
lib/beemutex.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void lock() throw (MutexFailed);
              ^~~~~
lib/beemutex.h:77:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  bool trylock() throw (MutexFailed);
                 ^~~~~
lib/beemutex.h:80:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void unlock() throw (MutexFailed);
                ^~~~~
In file included from lib/sql_buffer.h:31:0,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/fieldinf.cpp:29:
lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer<T, Destroyer>::RefCountedPointer(T*)':
lib/refcounted.h:102:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<T> exception_guard(counted_);
        ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:80:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/fieldinf.cpp:29:
/usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from lib/qparms.h:35:0,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/fieldinf.cpp:29:
lib/stadapter.h: At global scope:
lib/stadapter.h:224:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  char at(size_type i) const throw(std::out_of_range);
                             ^~~~~
x86_64-pld-linux-g++ -c -o load_jpeg_load_jpeg.o -Ilib      -I/usr/include/mysql -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC ./examples/load_jpeg.cpp
In file included from lib/cpool.h:31:0,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/beemutex.h:64:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  BeecryptMutex() throw (MutexFailed);
                  ^~~~~
lib/beemutex.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void lock() throw (MutexFailed);
              ^~~~~
lib/beemutex.h:77:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  bool trylock() throw (MutexFailed);
                 ^~~~~
lib/beemutex.h:80:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void unlock() throw (MutexFailed);
                ^~~~~
In file included from lib/sql_buffer.h:31:0,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer<T, Destroyer>::RefCountedPointer(T*)':
lib/refcounted.h:102:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<T> exception_guard(counted_);
        ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:80:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from lib/qparms.h:35:0,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/stadapter.h: At global scope:
lib/stadapter.h:224:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  char at(size_type i) const throw(std::out_of_range);
                             ^~~~~
./examples/load_jpeg.cpp: In function 'int main(int, char**)':
./examples/load_jpeg.cpp:88:19: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'std::ifstream {aka std::basic_ifstream<char>}')
       cerr << '"' << img_file <<
       ~~~~~~~~~~~~^~~~~~~~~~~
./examples/load_jpeg.cpp:88:19: note: candidate: operator<<(int, int) <built-in>
./examples/load_jpeg.cpp:88:19: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'int'
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(__ostream_type& (*__pf)(__ostream_type&))
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:108:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}'
/usr/include/c++/7.3.0/ostream:117:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
       operator<<(__ios_type& (*__pf)(__ios_type&))
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:117:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}'
/usr/include/c++/7.3.0/ostream:127:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(ios_base& (*__pf) (ios_base&))
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:127:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'std::ios_base& (*)(std::ios_base&)'
/usr/include/c++/7.3.0/ostream:166:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(long __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:166:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'long int'
/usr/include/c++/7.3.0/ostream:170:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned long __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:170:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'long unsigned int'
/usr/include/c++/7.3.0/ostream:174:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(bool __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:174:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool'
In file included from /usr/include/c++/7.3.0/ostream:693:0,
                 from /usr/include/c++/7.3.0/istream:39,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/ostream.tcc:91:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
     basic_ostream<_CharT, _Traits>::
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/7.3.0/bits/ostream.tcc:91:5: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'short int'
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:181:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned short __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:181:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'short unsigned int'
In file included from /usr/include/c++/7.3.0/ostream:693:0,
                 from /usr/include/c++/7.3.0/istream:39,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/ostream.tcc:105:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
     basic_ostream<_CharT, _Traits>::
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/7.3.0/bits/ostream.tcc:105:5: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'int'
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:192:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned int __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:192:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'unsigned int'
/usr/include/c++/7.3.0/ostream:201:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(long long __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:201:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'long long int'
/usr/include/c++/7.3.0/ostream:205:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned long long __n)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:205:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'long long unsigned int'
/usr/include/c++/7.3.0/ostream:220:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(double __f)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:220:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'double'
/usr/include/c++/7.3.0/ostream:224:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(float __f)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:224:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'float'
/usr/include/c++/7.3.0/ostream:232:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(long double __f)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:232:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'long double'
/usr/include/c++/7.3.0/ostream:245:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(const void* __p)
       ^~~~~~~~
/usr/include/c++/7.3.0/ostream:245:7: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'const void*'
In file included from /usr/include/c++/7.3.0/ostream:693:0,
                 from /usr/include/c++/7.3.0/istream:39,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/ostream.tcc:119:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
     basic_ostream<_CharT, _Traits>::
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/7.3.0/bits/ostream.tcc:119:5: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}'
In file included from ./examples/images.h:27:0,
                 from ./examples/load_jpeg.cpp:29:
lib/ssqls.h:3832:16: note: candidate: template<class Manip> std::ostream& operator<<(std::ostream&, const images_value_list<Manip>&)
  std::ostream& operator <<(std::ostream& s, const NAME##_value_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
lib/ssqls.h:3832:16: note:   template argument deduction/substitution failed:
  std::ostream& operator <<(std::ostream& s, const NAME##_value_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const images_value_list<Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from ./examples/images.h:27:0,
                 from ./examples/load_jpeg.cpp:29:
lib/ssqls.h:3839:16: note: candidate: template<class Manip> std::ostream& operator<<(std::ostream&, const images_field_list<Manip>&)
  std::ostream& operator <<(std::ostream& s, const NAME##_field_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
lib/ssqls.h:3839:16: note:   template argument deduction/substitution failed:
  std::ostream& operator <<(std::ostream& s, const NAME##_field_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const images_field_list<Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from ./examples/images.h:27:0,
                 from ./examples/load_jpeg.cpp:29:
lib/ssqls.h:3846:16: note: candidate: template<class Manip> std::ostream& operator<<(std::ostream&, const images_equal_list<Manip>&)
  std::ostream& operator <<(std::ostream& s, const NAME##_equal_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
lib/ssqls.h:3846:16: note:   template argument deduction/substitution failed:
  std::ostream& operator <<(std::ostream& s, const NAME##_equal_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const images_equal_list<Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from ./examples/images.h:27:0,
                 from ./examples/load_jpeg.cpp:29:
lib/ssqls.h:3853:16: note: candidate: template<class Manip> std::ostream& operator<<(std::ostream&, const images_cus_value_list<Manip>&)
  std::ostream& operator <<(std::ostream& s, const NAME##_cus_value_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
lib/ssqls.h:3853:16: note:   template argument deduction/substitution failed:
  std::ostream& operator <<(std::ostream& s, const NAME##_cus_value_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const images_cus_value_list<Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from ./examples/images.h:27:0,
                 from ./examples/load_jpeg.cpp:29:
lib/ssqls.h:3867:16: note: candidate: template<class Manip> std::ostream& operator<<(std::ostream&, const images_cus_field_list<Manip>&)
  std::ostream& operator <<(std::ostream& s, const NAME##_cus_field_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
lib/ssqls.h:3867:16: note:   template argument deduction/substitution failed:
  std::ostream& operator <<(std::ostream& s, const NAME##_cus_field_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const images_cus_field_list<Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from ./examples/images.h:27:0,
                 from ./examples/load_jpeg.cpp:29:
lib/ssqls.h:3881:16: note: candidate: template<class Manip> std::ostream& operator<<(std::ostream&, const images_cus_equal_list<Manip>&)
  std::ostream& operator <<(std::ostream& s, const NAME##_cus_equal_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
lib/ssqls.h:3881:16: note:   template argument deduction/substitution failed:
  std::ostream& operator <<(std::ostream& s, const NAME##_cus_equal_list<Manip>& obj)\
                ^
lib/ssqls.h:3969:3: note: in expansion of macro 'sql_create_complete_2'
   sql_create_complete_2(NAME, CMP, CONTR, T1, I1, #I1, T2, I2, #I2) \
   ^~~~~~~~~~~~~~~~~~~~~
./examples/images.h:29:1: note: in expansion of macro 'sql_create_2'
 sql_create_2(images,
 ^~~~~~~~~~~~
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const images_cus_equal_list<Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/mysql++.h:58:0,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/query.h:1089:22: note: candidate: std::ostream& mysqlpp::operator<<(std::ostream&, mysqlpp::Query&)
 inline std::ostream& operator <<(std::ostream& os, Query& q)
                      ^~~~~~~~
lib/query.h:1089:22: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'mysqlpp::Query&'
In file included from lib/row.h:36:0,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/vallist.h:353:15: note: candidate: template<class Seq, class Manip> std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::value_list_b<Seq, Manip>&)
 std::ostream& operator <<(std::ostream& o,
               ^~~~~~~~
lib/vallist.h:353:15: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::value_list_b<Seq, Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/row.h:36:0,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/vallist.h:330:15: note: candidate: template<class Seq, class Manip> std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::value_list_ba<Seq, Manip>&)
 std::ostream& operator <<(std::ostream& o,
               ^~~~~~~~
lib/vallist.h:330:15: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::value_list_ba<Seq, Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/row.h:36:0,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/vallist.h:297:15: note: candidate: template<class Seq1, class Seq2, class Manip> std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::equal_list_b<Seq1, Seq2, Manip>&)
 std::ostream& operator <<(std::ostream& o,
               ^~~~~~~~
lib/vallist.h:297:15: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::equal_list_b<Seq1, Seq2, Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/row.h:36:0,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/vallist.h:273:15: note: candidate: template<class Seq1, class Seq2, class Manip> std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::equal_list_ba<Seq1, Seq2, Manip>&)
 std::ostream& operator <<(std::ostream& o,
               ^~~~~~~~
lib/vallist.h:273:15: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::equal_list_ba<Seq1, Seq2, Manip>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/vallist.h:31:0,
                 from lib/row.h:36,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/manip.h:481:31: note: candidate: mysqlpp::SQLQueryParms& mysqlpp::operator<<(mysqlpp::ignore_type2, mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT SQLQueryParms& operator <<(ignore_type2 p,
                               ^~~~~~~~
lib/manip.h:481:31: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::ignore_type2'
lib/manip.h:472:1: note: candidate: mysqlpp::ignore_type2 mysqlpp::operator<<(mysqlpp::SQLQueryParms&, mysqlpp::ignore_type0)
 operator <<(SQLQueryParms& p, ignore_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:472:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::SQLQueryParms&'
lib/manip.h:436:31: note: candidate: mysqlpp::SQLQueryParms& mysqlpp::operator<<(mysqlpp::do_nothing_type2, mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT SQLQueryParms& operator <<(do_nothing_type2 p,
                               ^~~~~~~~
lib/manip.h:436:31: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::do_nothing_type2'
lib/manip.h:427:1: note: candidate: mysqlpp::do_nothing_type2 mysqlpp::operator<<(mysqlpp::SQLQueryParms&, mysqlpp::do_nothing_type0)
 operator <<(SQLQueryParms& p, do_nothing_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:427:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::SQLQueryParms&'
lib/manip.h:413:1: note: candidate: std::ostream& mysqlpp::operator<<(mysqlpp::do_nothing_type1, const mysqlpp::SQLTypeAdapter&)
 operator <<(do_nothing_type1 o, const SQLTypeAdapter& in);
 ^~~~~~~~
lib/manip.h:413:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::do_nothing_type1'
lib/manip.h:406:1: note: candidate: mysqlpp::do_nothing_type1 mysqlpp::operator<<(std::ostream&, mysqlpp::do_nothing_type0)
 operator <<(std::ostream& o, do_nothing_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:406:1: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'mysqlpp::do_nothing_type0'
lib/manip.h:371:30: note: candidate: std::ostream& mysqlpp::operator<<(mysqlpp::escape_type1, const mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT std::ostream& operator <<(escape_type1 o,
                              ^~~~~~~~
lib/manip.h:371:30: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::escape_type1'
lib/manip.h:364:31: note: candidate: mysqlpp::SQLQueryParms& mysqlpp::operator<<(mysqlpp::escape_type2, mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT SQLQueryParms& operator <<(escape_type2 p,
                               ^~~~~~~~
lib/manip.h:364:31: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::escape_type2'
lib/manip.h:349:1: note: candidate: mysqlpp::escape_type2 mysqlpp::operator<<(mysqlpp::SQLQueryParms&, mysqlpp::escape_type0)
 operator <<(SQLQueryParms& p, escape_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:349:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::SQLQueryParms&'
lib/manip.h:332:1: note: candidate: mysqlpp::escape_type1 mysqlpp::operator<<(std::ostream&, mysqlpp::escape_type0)
 operator <<(std::ostream& o, escape_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:332:1: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'mysqlpp::escape_type0'
lib/manip.h:296:1: note: candidate: template<class ST> std::ostream& mysqlpp::operator<<(mysqlpp::quote_double_only_type1, const mysqlpp::Set<Container>&)
 operator <<(quote_double_only_type1 o, const Set<ST>& in)
 ^~~~~~~~
lib/manip.h:296:1: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::Set<Container>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/vallist.h:31:0,
                 from lib/row.h:36,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/manip.h:291:1: note: candidate: std::ostream& mysqlpp::operator<<(mysqlpp::quote_double_only_type1, const mysqlpp::SQLTypeAdapter&)
 operator <<(quote_double_only_type1 o, const SQLTypeAdapter& in);
 ^~~~~~~~
lib/manip.h:291:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::quote_double_only_type1'
lib/manip.h:287:1: note: candidate: mysqlpp::SQLQueryParms& mysqlpp::operator<<(mysqlpp::quote_double_only_type2, mysqlpp::SQLTypeAdapter&)
 operator <<(quote_double_only_type2 p, SQLTypeAdapter& in);
 ^~~~~~~~
lib/manip.h:287:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::quote_double_only_type2'
lib/manip.h:273:1: note: candidate: mysqlpp::quote_double_only_type2 mysqlpp::operator<<(mysqlpp::SQLQueryParms&, mysqlpp::quote_double_only_type0)
 operator <<(SQLQueryParms& p, quote_double_only_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:273:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::SQLQueryParms&'
lib/manip.h:256:1: note: candidate: mysqlpp::quote_double_only_type1 mysqlpp::operator<<(std::ostream&, mysqlpp::quote_double_only_type0)
 operator <<(std::ostream& o, quote_double_only_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:256:1: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'mysqlpp::quote_double_only_type0'
lib/manip.h:215:1: note: candidate: template<class ST> std::ostream& mysqlpp::operator<<(mysqlpp::quote_only_type1, const mysqlpp::Set<Container>&)
 operator <<(quote_only_type1 o, const Set<ST>& in)
 ^~~~~~~~
lib/manip.h:215:1: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::Set<Container>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/vallist.h:31:0,
                 from lib/row.h:36,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/manip.h:210:15: note: candidate: std::ostream& mysqlpp::operator<<(mysqlpp::quote_only_type1, const mysqlpp::SQLTypeAdapter&)
 std::ostream& operator <<(quote_only_type1 o, const SQLTypeAdapter& in);
               ^~~~~~~~
lib/manip.h:210:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::quote_only_type1'
lib/manip.h:206:31: note: candidate: mysqlpp::SQLQueryParms& mysqlpp::operator<<(mysqlpp::quote_only_type2, mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT SQLQueryParms& operator <<(quote_only_type2 p,
                               ^~~~~~~~
lib/manip.h:206:31: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::quote_only_type2'
lib/manip.h:193:1: note: candidate: mysqlpp::quote_only_type2 mysqlpp::operator<<(mysqlpp::SQLQueryParms&, mysqlpp::quote_only_type0)
 operator <<(SQLQueryParms& p, quote_only_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:193:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::SQLQueryParms&'
lib/manip.h:176:1: note: candidate: mysqlpp::quote_only_type1 mysqlpp::operator<<(std::ostream&, mysqlpp::quote_only_type0)
 operator <<(std::ostream& o, quote_only_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:176:1: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'mysqlpp::quote_only_type0'
lib/manip.h:140:1: note: candidate: template<class ST> std::ostream& mysqlpp::operator<<(mysqlpp::quote_type1, const mysqlpp::Set<Container>&)
 operator <<(quote_type1 o, const Set<ST>& in)
 ^~~~~~~~
lib/manip.h:140:1: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::Set<Container>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/vallist.h:31:0,
                 from lib/row.h:36,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/manip.h:134:30: note: candidate: std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT std::ostream& operator <<(std::ostream& o,
                              ^~~~~~~~
lib/manip.h:134:30: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'const mysqlpp::SQLTypeAdapter&'
lib/manip.h:123:30: note: candidate: std::ostream& mysqlpp::operator<<(mysqlpp::quote_type1, const mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT std::ostream& operator <<(quote_type1 o,
                              ^~~~~~~~
lib/manip.h:123:30: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::quote_type1'
lib/manip.h:116:31: note: candidate: mysqlpp::SQLQueryParms& mysqlpp::operator<<(mysqlpp::quote_type2, mysqlpp::SQLTypeAdapter&)
 MYSQLPP_EXPORT SQLQueryParms& operator <<(quote_type2 p,
                               ^~~~~~~~
lib/manip.h:116:31: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::quote_type2'
lib/manip.h:107:1: note: candidate: mysqlpp::quote_type2 mysqlpp::operator<<(mysqlpp::SQLQueryParms&, mysqlpp::quote_type0)
 operator <<(SQLQueryParms& p, quote_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:107:1: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::SQLQueryParms&'
lib/manip.h:90:1: note: candidate: mysqlpp::quote_type1 mysqlpp::operator<<(std::ostream&, mysqlpp::quote_type0)
 operator <<(std::ostream& o, quote_type0 /* esc */)
 ^~~~~~~~
lib/manip.h:90:1: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'mysqlpp::quote_type0'
In file included from lib/manip.h:46:0,
                 from lib/vallist.h:31,
                 from lib/row.h:36,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/myset.h:106:22: note: candidate: template<class Container> std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::Set<Container>&)
 inline std::ostream& operator <<(std::ostream& s,
                      ^~~~~~~~
lib/myset.h:106:22: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::Set<Container>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/row.h:33:0,
                 from lib/result.h:40,
                 from lib/query.h:36,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/mystring.h:670:15: note: candidate: mysqlpp::ulonglong mysqlpp::operator<<(mysqlpp::ulonglong, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:712:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(ulonglong, ulonglong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::ulonglong {aka long long unsigned int}'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:712:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(ulonglong, ulonglong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: mysqlpp::ulonglong mysqlpp::operator<<(mysqlpp::String, mysqlpp::ulonglong)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:712:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(ulonglong, ulonglong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:712:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(ulonglong, ulonglong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: mysqlpp::longlong mysqlpp::operator<<(mysqlpp::longlong, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:711:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(longlong, longlong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::longlong {aka long long int}'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:711:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(longlong, longlong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: mysqlpp::longlong mysqlpp::operator<<(mysqlpp::String, mysqlpp::longlong)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:711:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(longlong, longlong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:711:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(longlong, longlong)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: long unsigned int mysqlpp::operator<<(long unsigned int, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:704:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned long int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'long unsigned int'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:704:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned long int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: long unsigned int mysqlpp::operator<<(mysqlpp::String, long unsigned int)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:704:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned long int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:704:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned long int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: short unsigned int mysqlpp::operator<<(short unsigned int, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:703:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned short int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'short unsigned int'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:703:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned short int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: short unsigned int mysqlpp::operator<<(mysqlpp::String, short unsigned int)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:703:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned short int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:703:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned short int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: unsigned int mysqlpp::operator<<(unsigned int, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:702:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'unsigned int'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:702:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: unsigned int mysqlpp::operator<<(mysqlpp::String, unsigned int)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:702:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:702:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned int, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: unsigned char mysqlpp::operator<<(unsigned char, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:701:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned char, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'unsigned char'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:701:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned char, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: unsigned char mysqlpp::operator<<(mysqlpp::String, unsigned char)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:701:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned char, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:701:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(unsigned char, unsigned long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: long int mysqlpp::operator<<(long int, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:699:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(long int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'long int'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:699:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(long int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: long int mysqlpp::operator<<(mysqlpp::String, long int)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:699:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(long int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:699:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(long int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: short int mysqlpp::operator<<(short int, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:698:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(short int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'short int'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:698:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(short int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: short int mysqlpp::operator<<(mysqlpp::String, short int)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:698:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(short int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:698:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(short int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: int mysqlpp::operator<<(int, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:697:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'int'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:697:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: int mysqlpp::operator<<(mysqlpp::String, int)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:697:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:697:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(int, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note: candidate: char mysqlpp::operator<<(char, mysqlpp::String)
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:696:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(char, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:670:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'char'
  inline other operator opr (other x, String y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:696:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(char, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note: candidate: char mysqlpp::operator<<(mysqlpp::String, char)
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:696:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(char, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:668:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'mysqlpp::String'
  inline other operator opr (String x, other y) \
               ^
lib/mystring.h:685:2: note: in expansion of macro 'oprsw'
  oprsw(<<, other, conv) \
  ^~~~~
lib/mystring.h:696:1: note: in expansion of macro 'operator_binary_int'
 operator_binary_int(char, long int)
 ^~~~~~~~~~~~~~~~~~~
lib/mystring.h:657:30: note: candidate: std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::String&)
 MYSQLPP_EXPORT std::ostream& operator <<(std::ostream& o,
                              ^~~~~~~~
lib/mystring.h:657:30: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'const mysqlpp::String&'
In file included from lib/sql_types.h:35:0,
                 from lib/stadapter.h:36,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/tiny_int.h:267:15: note: candidate: template<class VT> std::ostream& mysqlpp::operator<<(std::ostream&, mysqlpp::tiny_int<VT>)
 std::ostream& operator <<(std::ostream& os, tiny_int<VT> i)
               ^~~~~~~~
lib/tiny_int.h:267:15: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::basic_ifstream<char>' is not derived from 'mysqlpp::tiny_int<VT>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/stadapter.h:34:0,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/null.h:348:22: note: candidate: template<class Type, class Behavior> std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::Null<Type, Behavior>&)
 inline std::ostream& operator <<(std::ostream& o,
                      ^~~~~~~~
lib/null.h:348:22: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const mysqlpp::Null<Type, Behavior>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/stadapter.h:33:0,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
lib/datetime.h:443:30: note: candidate: std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::Time&)
 MYSQLPP_EXPORT std::ostream& operator <<(std::ostream& os,
                              ^~~~~~~~
lib/datetime.h:443:30: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'const mysqlpp::Time&'
lib/datetime.h:329:30: note: candidate: std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::Date&)
 MYSQLPP_EXPORT std::ostream& operator <<(std::ostream& os,
                              ^~~~~~~~
lib/datetime.h:329:30: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'const mysqlpp::Date&'
lib/datetime.h:211:30: note: candidate: std::ostream& mysqlpp::operator<<(std::ostream&, const mysqlpp::DateTime&)
 MYSQLPP_EXPORT std::ostream& operator <<(std::ostream& os,
                              ^~~~~~~~
lib/datetime.h:211:30: note:   no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'const mysqlpp::DateTime&'
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:363:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:363:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::basic_ifstream<char>' is not derived from 'std::_Put_time<_CharT>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:311:5: note: candidate: template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_money<_MoneyT>)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:311:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::basic_ifstream<char>' is not derived from 'std::_Put_money<_MoneyT>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:238:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setw)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:238:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'std::_Setw'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:208:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setprecision)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:208:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'std::_Setprecision'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:178:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setfill<_CharT>)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:178:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::basic_ifstream<char>' is not derived from 'std::_Setfill<_CharT>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:143:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setbase)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:143:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'std::_Setbase'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:109:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setiosflags)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:109:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'std::_Setiosflags'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from lib/query.h:41:0,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/iomanip:79:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Resetiosflags)
     operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f)
     ^~~~~~~~
/usr/include/c++/7.3.0/iomanip:79:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'std::_Resetiosflags'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:81:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/shared_ptr.h:66:5: note: candidate: template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)
     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
     ^~~~~~~~
/usr/include/c++/7.3.0/bits/shared_ptr.h:66:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:682:5: note: candidate: template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&)
     operator<<(_Ostream&& __os, const _Tp& __x)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:682:5: note:   template argument deduction/substitution failed:
/usr/include/c++/7.3.0/ostream: In substitution of 'template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp = std::basic_ifstream<char>]':
./examples/load_jpeg.cpp:88:22:   required from here
/usr/include/c++/7.3.0/ostream:682:5: error: no type named 'type' in 'struct std::enable_if<false, std::basic_ostream<char>&>'
/usr/include/c++/7.3.0/ostream:574:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
     operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:574:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'const unsigned char*'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:569:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
     operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:569:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'const signed char*'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:556:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
     operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:556:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'const char*'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/ostream:693:0,
                 from /usr/include/c++/7.3.0/istream:39,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/ostream.tcc:321:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
     operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
     ^~~~~~~~
/usr/include/c++/7.3.0/bits/ostream.tcc:321:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'const char*'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:539:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
     operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:539:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   mismatched types 'const _CharT*' and 'std::basic_ifstream<char>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:519:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
     operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:519:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'unsigned char'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:514:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
     operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:514:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'signed char'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:508:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
     operator<<(basic_ostream<char, _Traits>& __out, char __c)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:508:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'char'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:502:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
     operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:502:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'char'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/istream:39:0,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/ostream:497:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
     operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
     ^~~~~~~~
/usr/include/c++/7.3.0/ostream:497:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   deduced conflicting types for parameter '_CharT' ('char' and 'std::basic_ifstream<char>')
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/bits/ios_base.h:46:0,
                 from /usr/include/c++/7.3.0/ios:42,
                 from /usr/include/c++/7.3.0/istream:38,
                 from /usr/include/c++/7.3.0/sstream:38,
                 from lib/exceptions.h:38,
                 from lib/beemutex.h:46,
                 from lib/cpool.h:31,
                 from lib/mysql++.h:57,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/system_error:217:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)
     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
     ^~~~~~~~
/usr/include/c++/7.3.0/system_error:217:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   cannot convert 'img_file' (type 'std::ifstream {aka std::basic_ifstream<char>}') to type 'const std::error_code&'
       cerr << '"' << img_file <<
                      ^~~~~~~~
In file included from /usr/include/c++/7.3.0/string:52:0,
                 from lib/options.h:40,
                 from lib/connection.h:41,
                 from lib/mysql++.h:56,
                 from ./examples/images.h:26,
                 from ./examples/load_jpeg.cpp:29:
/usr/include/c++/7.3.0/bits/basic_string.h:6272:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<<(basic_ostream<_CharT, _Traits>& __os,
     ^~~~~~~~
/usr/include/c++/7.3.0/bits/basic_string.h:6272:5: note:   template argument deduction/substitution failed:
./examples/load_jpeg.cpp:88:22: note:   'std::ifstream {aka std::basic_ifstream<char>}' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>'
       cerr << '"' << img_file <<
                      ^~~~~~~~
make: *** [Makefile:785: load_jpeg_load_jpeg.o] Error 1
make: *** Waiting for unfinished jobs....
x86_64-pld-linux-g++ -c -o for_each_for_each.o -Ilib      -I/usr/include/mysql -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC ./examples/for_each.cpp
In file included from lib/cpool.h:31:0,
                 from lib/mysql++.h:57,
                 from ./examples/printdata.h:31,
                 from ./examples/for_each.cpp:29:
lib/beemutex.h:64:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  BeecryptMutex() throw (MutexFailed);
                  ^~~~~
lib/beemutex.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void lock() throw (MutexFailed);
              ^~~~~
lib/beemutex.h:77:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  bool trylock() throw (MutexFailed);
                 ^~~~~
lib/beemutex.h:80:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void unlock() throw (MutexFailed);
                ^~~~~
In file included from lib/sql_buffer.h:31:0,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/for_each.cpp:29:
lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer<T, Destroyer>::RefCountedPointer(T*)':
lib/refcounted.h:102:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<T> exception_guard(counted_);
        ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:80:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/for_each.cpp:29:
/usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from lib/qparms.h:35:0,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/for_each.cpp:29:
lib/stadapter.h: At global scope:
lib/stadapter.h:224:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  char at(size_type i) const throw(std::out_of_range);
                             ^~~~~
x86_64-pld-linux-g++ -c -o multiquery_multiquery.o -Ilib      -I/usr/include/mysql -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC ./examples/multiquery.cpp
In file included from lib/cpool.h:31:0,
                 from lib/mysql++.h:57,
                 from ./examples/printdata.h:31,
                 from ./examples/multiquery.cpp:33:
lib/beemutex.h:64:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  BeecryptMutex() throw (MutexFailed);
                  ^~~~~
lib/beemutex.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void lock() throw (MutexFailed);
              ^~~~~
lib/beemutex.h:77:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  bool trylock() throw (MutexFailed);
                 ^~~~~
lib/beemutex.h:80:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void unlock() throw (MutexFailed);
                ^~~~~
In file included from lib/sql_buffer.h:31:0,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/multiquery.cpp:33:
lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer<T, Destroyer>::RefCountedPointer(T*)':
lib/refcounted.h:102:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<T> exception_guard(counted_);
        ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:80:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/multiquery.cpp:33:
/usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from lib/qparms.h:35:0,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/multiquery.cpp:33:
lib/stadapter.h: At global scope:
lib/stadapter.h:224:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  char at(size_type i) const throw(std::out_of_range);
                             ^~~~~
x86_64-pld-linux-g++ -c -o resetdb_resetdb.o -Ilib      -I/usr/include/mysql -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC ./examples/resetdb.cpp
In file included from lib/cpool.h:31:0,
                 from lib/mysql++.h:57,
                 from ./examples/printdata.h:31,
                 from ./examples/resetdb.cpp:31:
lib/beemutex.h:64:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  BeecryptMutex() throw (MutexFailed);
                  ^~~~~
lib/beemutex.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void lock() throw (MutexFailed);
              ^~~~~
lib/beemutex.h:77:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  bool trylock() throw (MutexFailed);
                 ^~~~~
lib/beemutex.h:80:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void unlock() throw (MutexFailed);
                ^~~~~
In file included from lib/sql_buffer.h:31:0,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/resetdb.cpp:31:
lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer<T, Destroyer>::RefCountedPointer(T*)':
lib/refcounted.h:102:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<T> exception_guard(counted_);
        ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:80:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/resetdb.cpp:31:
/usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from lib/qparms.h:35:0,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/resetdb.cpp:31:
lib/stadapter.h: At global scope:
lib/stadapter.h:224:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  char at(size_type i) const throw(std::out_of_range);
                             ^~~~~
./examples/resetdb.cpp: In function 'std::__cxx11::string version_str(int)':
./examples/resetdb.cpp:48:1: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 5 [-Wformat-truncation=]
 version_str(int packed)
 ^~~~~~~~~~~
./examples/resetdb.cpp:48:1: note: directive argument in the range [0, 255]
In file included from /usr/include/stdio.h:862:0,
                 from /usr/include/c++/7.3.0/cstdio:42,
                 from /usr/include/c++/7.3.0/ext/string_conversions.h:43,
                 from /usr/include/c++/7.3.0/bits/basic_string.h:6349,
                 from /usr/include/c++/7.3.0/string:52,
                 from lib/options.h:40,
                 from lib/connection.h:41,
                 from lib/mysql++.h:56,
                 from ./examples/printdata.h:31,
                 from ./examples/resetdb.cpp:31:
/usr/include/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output between 6 and 12 bytes into a destination of size 9
        __bos (__s), __fmt, __va_arg_pack ());
                                            ^
x86_64-pld-linux-g++ -c -o simple1_simple1.o -Ilib      -I/usr/include/mysql -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC ./examples/simple1.cpp
In file included from lib/cpool.h:31:0,
                 from lib/mysql++.h:57,
                 from ./examples/printdata.h:31,
                 from ./examples/simple1.cpp:29:
lib/beemutex.h:64:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  BeecryptMutex() throw (MutexFailed);
                  ^~~~~
lib/beemutex.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void lock() throw (MutexFailed);
              ^~~~~
lib/beemutex.h:77:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  bool trylock() throw (MutexFailed);
                 ^~~~~
lib/beemutex.h:80:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  void unlock() throw (MutexFailed);
                ^~~~~
In file included from lib/sql_buffer.h:31:0,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/simple1.cpp:29:
lib/refcounted.h: In constructor 'mysqlpp::RefCountedPointer<T, Destroyer>::RefCountedPointer(T*)':
lib/refcounted.h:102:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<T> exception_guard(counted_);
        ^~~~~~~~
In file included from /usr/include/c++/7.3.0/memory:80:0,
                 from lib/refcounted.h:31,
                 from lib/sql_buffer.h:31,
                 from lib/stadapter.h:35,
                 from lib/qparms.h:35,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/simple1.cpp:29:
/usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from lib/qparms.h:35:0,
                 from lib/query.h:34,
                 from lib/mysql++.h:58,
                 from ./examples/printdata.h:31,
                 from ./examples/simple1.cpp:29:
lib/stadapter.h: At global scope:
lib/stadapter.h:224:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
  char at(size_type i) const throw(std::out_of_range);
                             ^~~~~
error: Bad exit status from /tmp/B.G_vVEj/BUILD/tmp/rpm-tmp.52103 (%build)


RPM build errors:
    Bad exit status from /tmp/B.G_vVEj/BUILD/tmp/rpm-tmp.52103 (%build)
ended at: Wed Mar  7 11:30:57 2018, done in 0:00:22.232829
error: No files produced.
mesg: ttyname failed: Inappropriate ioctl for device
+ chmod -R u+rwX /tmp/B.G_vVEj/BUILD
+ rm -rf /tmp/B.G_vVEj/tmp /tmp/B.G_vVEj/BUILD
mesg: ttyname failed: Inappropriate ioctl for device
+ rm -rf /tmp/B.G_vVEj
Begin-PLD-Builder-Info
Build-Time: user:68.88s sys:6.41s real:26.37s (faults io:0 non-io:1834128)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]