[odb-users] query::Age --> Incomplete type is not alowed
Boris Kolpackov
boris at codesynthesis.com
Fri Apr 26 03:31:37 EDT 2013
Hi Tarik,
Tarik BENZ <tenchu.tarik at hotmail.fr> writes:
> result r (db->query<User> (query::userName == user && query::userPass == password));
> // ERROR : query::userName --> Incomplete type is not alowed
Have you enabled query support when compiling User.hxx? You need to
pass --generate-query (or -q for short) to the ODB compiler.
Boris
More information about the odb-users
mailing list