List:MySQL++« Previous MessageNext Message »
From:Joel Fielder Date:June 26 2007 2:13pm
Subject:Recent change to custom.pl breaks examples on mingw
View as plain text  
As promised, more mingw breakage...

I only rebuilt the lib before, so decided to do the examples too, and
got the errors below.  Reversing revision 1596 fixes it, but is there a
better solution?

Joel


examples/stock.h: In function `void populate_stock(stock*, const
mysqlpp::Row&) [with mysqlpp::sql_dummy_type dummy =  sql_dummy]':
examples/stock.h:41:   instantiated from here
examples/stock.h:41: error: ambiguous overload for 'operator=' in
's->stock::item =
*((+row)->mysqlpp::Row::_vptr$const_subscript_container + 12u)(0u)'
E:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h:433: note: candidates
are: std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*)
[with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>]
E:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h:447: note:
std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]

Thread
Recent changes to coldata.hJoel Fielder25 Jun
  • Re: Recent changes to coldata.hWarren Young26 Jun
    • RE: Recent changes to coldata.hJoel Fielder26 Jun
      • Recent change to custom.pl breaks examples on mingwJoel Fielder26 Jun
        • Re: Recent change to custom.pl breaks examples on mingwWarren Young27 Jun
        • RE: Recent change to custom.pl breaks examples on mingwYuantu.Huang27 Jun