List:MySQL++« Previous MessageNext Message »
From:Jonathan Wakely Date:July 23 2008 8:25pm
Subject:Re: "mysqlpp::Connection: incomplete type"?
View as plain text  
2008/7/23 Alex:
> Here's my code:
> mysqlpp::Connection awi_mysql_conn(false);
>
> And here's what my compiler tells me:
>
> ./src/Definitions.cpp:35: error: variable âmysqlpp::Connection
>                   awi_mysql_connâ has initializer but incomplete type
>
> Would anyone happen to know what I'm doing wrong here? I did #include
> "query.h" which should be enough, no?

http://tangentsoft.net/mysql++/doc/html/refman/classmysqlpp_1_1Connection.html
says to include <connection.h>

Jonathan
Thread
"mysqlpp::Connection: incomplete type"?Alex23 Jul
  • Re: "mysqlpp::Connection: incomplete type"?Jonathan Wakely23 Jul
  • Re: "mysqlpp::Connection: incomplete type"?Warren Young24 Jul