That's the error I get when I run this code :
if(mysqlpp::UseQueryResult res = conn.query(sql).use())
Whats more interesting is that the next line doesn't have any problems
while(mysqlpp::Row row = res.fetch_row())
Really driving me crazy. I've even manually included result.h
I tried all combos of these
include result.h, mysql++.h, connection.h