On Fri, Oct 08, 2004 at 09:23:20PM -0400, Don Thompson wrote:
> /usr/local/mysql++-1.7.15/sqlplusint/sql_query1.hh:178: error: passing `const
> CLdata' as `this' argument of `std::string& CLdata::value_list()' discards
> qualifiers
> /usr/local/mysql++-1.7.15/sqlplusint/sql_query1.hh:178: error: passing `const
> CLdata' as `this' argument of `std::string& CLdata::field_list()' discards
> qualifiers
> /usr/local/mysql++-1.7.15/sqlplusint/sql_query1.hh:178: error: passing `const
> CLdata' as `this' argument of `SQLString& CLdata::table()' discards
> qualifiers
> make[3]: *** [cudb.o] Error 1
>
> Why does is it complaining about 'discards qualifiers'?
value_list(), field_list(), and table() all have to be const member functions.
std::string& value_list() const;
std::string& field_list() const;
std::string& table() const;
- Chris