List:MySQL++« Previous MessageNext Message »
From:Jonathan Wakely Date:December 29 2007 2:48pm
Subject:the one remaining warning from GCC
View as plain text  
I see there's now only one warning when configured in pedantic mode
and compiling with GCC:

/lib/query.cpp: In copy constructor 'mysqlpp::Query::Query(const
mysqlpp::Query&)':
./lib/query.cpp:53: warning: base class 'struct std::basic_ios<char,
std::char_traits<char> >' should be explicitly initialized in the copy
constructor

I assume this is the one the svn log says you don't know what it's
babbling about.

Very similar situation described here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11159#c13

you can prevent the warning by initialising std::ios() in your ctor,
but IMHO the warning's not much use anyway.

Jon
Thread
the one remaining warning from GCCJonathan Wakely29 Dec
  • Re: the one remaining warning from GCCWarren Young31 Dec