Project

General

Profile

Error using Wt::Dbo

Added by Freddy Martinez Garcia over 8 years ago

Guys...

I have this TestTable and UserTable, both of them defined in the files which I give it to all of you as attachment of this message.

When I compile my app I'm getting this error:

In file included from ../../.local/include/Wt/Dbo/Types:10:0,
                 from ../TestStore/db/schema/TestTable.h:4,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/ptr: In instantiation of 'static void Wt::Dbo::DboHelper<C, Enable>::setMeta(C&, Wt::Dbo::MetaDboBase*) [with C = UserTable; Enable = void]':
../../.local/include/Wt/Dbo/ptr_impl.h:215:3:   required from 'Wt::Dbo::MetaDbo<C>::MetaDbo(C*) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:279:5:   required from 'Wt::Dbo::ptr<C>::ptr(C*) [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:4:44:   required from here
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'c' [-Wunused-parameter]
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'm' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:13:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/ptr_impl.h: In instantiation of 'void Wt::Dbo::Impl::setAutogeneratedId(Wt::Dbo::MetaDbo<C>&, const long long int&, long long int) [with C = UserTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:232:3:   required from 'void Wt::Dbo::MetaDbo<C>::setAutogeneratedId(long long int) [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/ptr_impl.h:19:12: warning: unused parameter 'currentId' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::Mapping<C>::init(Wt::Dbo::Session&) [with C = UserTable; Wt::Dbo::Session = Wt::Dbo::Session]':
../../.local/include/Wt/Dbo/Session_impl.h:102:7:   required from 'Wt::Dbo::Session::Mapping<C>* Wt::Dbo::Session::getMapping() const [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:102:69:   required from 'void Wt::Dbo::MetaDbo<C>::bindId(Wt::Dbo::SqlStatement*, int&) [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:411:10: error: no matching function for call to 'UserTable::UserTable()'
../../.local/include/Wt/Dbo/Session_impl.h:411:10: note: candidates are:
In file included from ../TestStore/db/schema/TestTable.h:6:0,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../TestStore/db/schema/UserTable.h:21:9: note: UserTable::UserTable(const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/UserTable.h:21:9: note:   candidate expects 5 arguments, 0 provided
../TestStore/db/schema/UserTable.h:9:7: note: UserTable::UserTable(const UserTable&)
../TestStore/db/schema/UserTable.h:9:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::implLoad(Wt::Dbo::MetaDbo<C>&, Wt::Dbo::SqlStatement*, int&) [with C = UserTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:239:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:313:70:   required from 'void Wt::Dbo::Session::implDelete(Wt::Dbo::MetaDbo<C>&) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:69:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:356:18: error: no matching function for call to 'UserTable::UserTable()'
../../.local/include/Wt/Dbo/Session_impl.h:356:18: note: candidates are:
In file included from ../TestStore/db/schema/TestTable.h:6:0,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../TestStore/db/schema/UserTable.h:21:9: note: UserTable::UserTable(const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/UserTable.h:21:9: note:   candidate expects 5 arguments, 0 provided
../TestStore/db/schema/UserTable.h:9:7: note: UserTable::UserTable(const UserTable&)
../TestStore/db/schema/UserTable.h:9:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Query_impl.h:17:0,
                 from ../../.local/include/Wt/Dbo/Impl:17,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/Field_impl.h: In instantiation of 'void Wt::Dbo::FieldRef<V>::bindValue(Wt::Dbo::SqlStatement*, int) const [with V = Wt::WString]':
../../.local/include/Wt/Dbo/DbAction:346:7:   required from 'void Wt::Dbo::SaveBaseAction::act(const Wt::Dbo::FieldRef<V>&) [with V = Wt::WString]'
../../.local/include/Wt/Dbo/Field_impl.h:144:3:   required from 'void Wt::Dbo::field(Action&, V&, const string&, int) [with Action = Wt::Dbo::SaveDbAction<UserTable>; V = Wt::WString; std::string = std::basic_string<char>]'
../TestStore/db/schema/UserTable.h:41:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::SaveDbAction<UserTable>]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::SaveDbAction<UserTable>; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:468:3:   required from 'void Wt::Dbo::SaveDbAction<C>::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:298:3:   required from 'void Wt::Dbo::Session::implSave(Wt::Dbo::MetaDbo<C>&) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:80:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/Field_impl.h:52:3: error: no matching function for call to 'Wt::Dbo::sql_value_traits<Wt::WString, void>::bind(Wt::WString&, Wt::Dbo::SqlStatement*&, int&, const int&)'
../../.local/include/Wt/Dbo/Field_impl.h:52:3: note: candidate is:
In file included from ../../.local/include/Wt/Dbo/Impl:19:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/SqlTraits_impl.h:17:6: note: static void Wt::Dbo::sql_value_traits<V, Enable>::bind(const char*, Wt::Dbo::SqlStatement*, int, int) [with V = Wt::WString; Enable = void]
../../.local/include/Wt/Dbo/SqlTraits_impl.h:17:6: note:   no known conversion for argument 1 from 'Wt::WString' to 'const char*'
In file included from ../../.local/include/Wt/Dbo/Impl:16:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/DbAction_impl.h: In instantiation of 'void Wt::Dbo::TransactionDoneAction::act(const Wt::Dbo::FieldRef<V>&) [with V = Wt::WString]':
../../.local/include/Wt/Dbo/Field_impl.h:144:3:   required from 'void Wt::Dbo::field(Action&, V&, const string&, int) [with Action = Wt::Dbo::TransactionDoneAction; V = Wt::WString; std::string = std::basic_string<char>]'
../TestStore/db/schema/UserTable.h:41:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::TransactionDoneAction]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::TransactionDoneAction; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:554:3:   required from 'void Wt::Dbo::TransactionDoneAction::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/DbAction_impl.h:571:6: warning: unused parameter 'field' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:19:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/SqlTraits_impl.h: In instantiation of 'static void Wt::Dbo::sql_value_traits<V, Enable>::bind(const char*, Wt::Dbo::SqlStatement*, int, int) [with V = Wt::WString; Enable = void]':
../../.local/include/Wt/Dbo/Field_impl.h:52:3:   required from 'void Wt::Dbo::FieldRef<V>::bindValue(Wt::Dbo::SqlStatement*, int) const [with V = Wt::WString]'
../../.local/include/Wt/Dbo/DbAction:346:7:   required from 'void Wt::Dbo::SaveBaseAction::act(const Wt::Dbo::FieldRef<V>&) [with V = Wt::WString]'
../../.local/include/Wt/Dbo/Field_impl.h:144:3:   required from 'void Wt::Dbo::field(Action&, V&, const string&, int) [with Action = Wt::Dbo::SaveDbAction<UserTable>; V = Wt::WString; std::string = std::basic_string<char>]'
../TestStore/db/schema/UserTable.h:41:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::SaveDbAction<UserTable>]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::SaveDbAction<UserTable>; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:468:3:   required from 'void Wt::Dbo::SaveDbAction<C>::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:298:3:   required from 'void Wt::Dbo::Session::implSave(Wt::Dbo::MetaDbo<C>&) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:80:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/SqlTraits_impl.h:17:6: warning: unused parameter 'size' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::Mapping<C>::init(Wt::Dbo::Session&) [with C = TestTable; Wt::Dbo::Session = Wt::Dbo::Session]':
../../.local/include/Wt/Dbo/Session_impl.h:102:7:   required from 'Wt::Dbo::Session::Mapping<C>* Wt::Dbo::Session::getMapping() const [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:102:69:   required from 'void Wt::Dbo::MetaDbo<C>::bindId(Wt::Dbo::SqlStatement*, int&) [with C = TestTable]'
../../.local/include/Wt/Dbo/DbAction_impl.h:410:6:   required from 'void Wt::Dbo::SaveBaseAction::actCollection(const Wt::Dbo::CollectionRef<C>&) [with C = TestTable]'
../../.local/include/Wt/Dbo/Field_impl.h:194:3:   required from 'void Wt::Dbo::hasMany(Action&, Wt::Dbo::collection<Wt::Dbo::ptr<C> >&, Wt::Dbo::RelationType, const string&) [with Action = Wt::Dbo::SaveDbAction<UserTable>; C = TestTable; std::string = std::basic_string<char>]'
../TestStore/db/schema/UserTable.h:47:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::SaveDbAction<UserTable>]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::SaveDbAction<UserTable>; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:468:3:   required from 'void Wt::Dbo::SaveDbAction<C>::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:298:3:   required from 'void Wt::Dbo::Session::implSave(Wt::Dbo::MetaDbo<C>&) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:80:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:411:10: error: no matching function for call to 'TestTable::TestTable()'
../../.local/include/Wt/Dbo/Session_impl.h:411:10: note: candidates are:
../TestStore/db/schema/TestTable.cpp:3:1: note: TestTable::TestTable(const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/TestTable.cpp:3:1: note:   candidate expects 2 arguments, 0 provided
In file included from ../TestStore/db/schema/TestTable.cpp:1:0:
../TestStore/db/schema/TestTable.h:10:7: note: TestTable::TestTable(const TestTable&)
../TestStore/db/schema/TestTable.h:10:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::implLoad(Wt::Dbo::MetaDbo<C>&, Wt::Dbo::SqlStatement*, int&) [with C = TestTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:239:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:313:70:   required from 'void Wt::Dbo::Session::implDelete(Wt::Dbo::MetaDbo<C>&) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:69:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:458:5:   required from 'void Wt::Dbo::ptr<C>::flush() const [with C = TestTable]'
../../.local/include/Wt/Dbo/DbAction_impl.h:404:6:   [ skipping 2 instantiation contexts ]
../TestStore/db/schema/UserTable.h:47:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::SaveDbAction<UserTable>]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::SaveDbAction<UserTable>; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:468:3:   required from 'void Wt::Dbo::SaveDbAction<C>::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:298:3:   required from 'void Wt::Dbo::Session::implSave(Wt::Dbo::MetaDbo<C>&) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:80:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:356:18: error: no matching function for call to 'TestTable::TestTable()'
../../.local/include/Wt/Dbo/Session_impl.h:356:18: note: candidates are:
../TestStore/db/schema/TestTable.cpp:3:1: note: TestTable::TestTable(const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/TestTable.cpp:3:1: note:   candidate expects 2 arguments, 0 provided
In file included from ../TestStore/db/schema/TestTable.cpp:1:0:
../TestStore/db/schema/TestTable.h:10:7: note: TestTable::TestTable(const TestTable&)
../TestStore/db/schema/TestTable.h:10:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Types:10:0,
                 from ../TestStore/db/schema/TestTable.h:4,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/ptr: In instantiation of 'static void Wt::Dbo::DboHelper<C, Enable>::setMeta(C&, Wt::Dbo::MetaDboBase*) [with C = TestTable; Enable = void]':
../../.local/include/Wt/Dbo/ptr_impl.h:240:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:313:70:   required from 'void Wt::Dbo::Session::implDelete(Wt::Dbo::MetaDbo<C>&) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:69:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:458:5:   required from 'void Wt::Dbo::ptr<C>::flush() const [with C = TestTable]'
../../.local/include/Wt/Dbo/DbAction_impl.h:404:6:   [ skipping 2 instantiation contexts ]
../TestStore/db/schema/UserTable.h:47:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::SaveDbAction<UserTable>]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::SaveDbAction<UserTable>; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:468:3:   required from 'void Wt::Dbo::SaveDbAction<C>::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:298:3:   required from 'void Wt::Dbo::Session::implSave(Wt::Dbo::MetaDbo<C>&) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:80:7:   required from 'void Wt::Dbo::MetaDbo<C>::flush() [with C = UserTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'c' [-Wunused-parameter]
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'm' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:16:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestTable.h:5,
                 from ../TestStore/db/schema/TestTable.cpp:1:
../../.local/include/Wt/Dbo/DbAction_impl.h: In instantiation of 'void Wt::Dbo::TransactionDoneAction::actPtr(const Wt::Dbo::PtrRef<C>&) [with C = UserTable]':
../../.local/include/Wt/Dbo/Field_impl.h:158:5:   required from 'void Wt::Dbo::belongsToImpl(A&, Wt::Dbo::ptr<C>&, const string&, int, int) [with A = Wt::Dbo::TransactionDoneAction; C = UserTable; std::string = std::basic_string<char>]'
../../.local/include/Wt/Dbo/Field_impl.h:167:3:   required from 'void Wt::Dbo::belongsTo(Action&, Wt::Dbo::ptr<C>&, const string&, int) [with Action = Wt::Dbo::TransactionDoneAction; C = UserTable; std::string = std::basic_string<char>]'
../TestStore/db/schema/TestTable.h:33:13:   required from 'void TestTable::persist(Action&) [with Action = Wt::Dbo::TransactionDoneAction]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::TransactionDoneAction; C = TestTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:554:3:   required from 'void Wt::Dbo::TransactionDoneAction::visit(C&) [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/TestTable.cpp:7:1:   required from here
../../.local/include/Wt/Dbo/DbAction_impl.h:575:6: warning: unused parameter 'field' [-Wunused-parameter]
make: *** [TestTable.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::Mapping<C>::init(Wt::Dbo::Session&) [with C = UserTable; Wt::Dbo::Session = Wt::Dbo::Session]':
../../.local/include/Wt/Dbo/Session_impl.h:102:7:   required from 'Wt::Dbo::Session::Mapping<C>* Wt::Dbo::Session::getMapping() const [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:344:69:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:411:10: error: no matching function for call to 'UserTable::UserTable()'
../../.local/include/Wt/Dbo/Session_impl.h:411:10: note: candidates are:
In file included from ../TestStore/db/schema/TestTable.h:6:0,
                 from ../TestStore/db/schema/TestContentTable.h:5,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../TestStore/db/schema/UserTable.h:21:9: note: UserTable::UserTable(const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/UserTable.h:21:9: note:   candidate expects 5 arguments, 0 provided
../TestStore/db/schema/UserTable.h:9:7: note: UserTable::UserTable(const UserTable&)
../TestStore/db/schema/UserTable.h:9:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::implLoad(Wt::Dbo::MetaDbo<C>&, Wt::Dbo::SqlStatement*, int&) [with C = UserTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:239:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:356:18: error: no matching function for call to 'UserTable::UserTable()'
../../.local/include/Wt/Dbo/Session_impl.h:356:18: note: candidates are:
In file included from ../TestStore/db/schema/TestTable.h:6:0,
                 from ../TestStore/db/schema/TestContentTable.h:5,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../TestStore/db/schema/UserTable.h:21:9: note: UserTable::UserTable(const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/UserTable.h:21:9: note:   candidate expects 5 arguments, 0 provided
../TestStore/db/schema/UserTable.h:9:7: note: UserTable::UserTable(const UserTable&)
../TestStore/db/schema/UserTable.h:9:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Types:10:0,
                 from ../../.local/include/Wt/Dbo/Dbo:10,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/ptr: In instantiation of 'static void Wt::Dbo::DboHelper<C, Enable>::setMeta(C&, Wt::Dbo::MetaDboBase*) [with C = UserTable; Enable = void]':
../../.local/include/Wt/Dbo/ptr_impl.h:240:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'c' [-Wunused-parameter]
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'm' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:16:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/DbAction_impl.h: In instantiation of 'void Wt::Dbo::TransactionDoneAction::act(const Wt::Dbo::FieldRef<V>&) [with V = Wt::WString]':
../../.local/include/Wt/Dbo/Field_impl.h:144:3:   required from 'void Wt::Dbo::field(Action&, V&, const string&, int) [with Action = Wt::Dbo::TransactionDoneAction; V = Wt::WString; std::string = std::basic_string<char>]'
../TestStore/db/schema/UserTable.h:41:13:   required from 'void UserTable::persist(Action&) [with Action = Wt::Dbo::TransactionDoneAction]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::TransactionDoneAction; C = UserTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:554:3:   required from 'void Wt::Dbo::TransactionDoneAction::visit(C&) [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/DbAction_impl.h:571:6: warning: unused parameter 'field' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::Mapping<C>::init(Wt::Dbo::Session&) [with C = TestTable; Wt::Dbo::Session = Wt::Dbo::Session]':
../../.local/include/Wt/Dbo/Session_impl.h:102:7:   required from 'Wt::Dbo::Session::Mapping<C>* Wt::Dbo::Session::getMapping() const [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:344:69:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:411:10: error: no matching function for call to 'TestTable::TestTable()'
../../.local/include/Wt/Dbo/Session_impl.h:411:10: note: candidates are:
In file included from ../TestStore/db/schema/UserTable.h:5:0,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../TestStore/db/schema/TestTable.h:19:9: note: TestTable::TestTable(const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/TestTable.h:19:9: note:   candidate expects 2 arguments, 0 provided
../TestStore/db/schema/TestTable.h:10:7: note: TestTable::TestTable(const TestTable&)
../TestStore/db/schema/TestTable.h:10:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::Mapping<C>::init(Wt::Dbo::Session&) [with C = UserTable; Wt::Dbo::Session = Wt::Dbo::Session]':
../../.local/include/Wt/Dbo/Session_impl.h:102:7:   required from 'Wt::Dbo::Session::Mapping<C>* Wt::Dbo::Session::getMapping() const [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:344:69:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:411:10: error: no matching function for call to 'UserTable::UserTable()'
../../.local/include/Wt/Dbo/Session_impl.h:411:10: note: candidates are:
../TestStore/db/schema/UserTable.cpp:5:1: note: UserTable::UserTable(const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/UserTable.cpp:5:1: note:   candidate expects 5 arguments, 0 provided
In file included from ../TestStore/db/schema/UserTable.cpp:1:0:
../TestStore/db/schema/UserTable.h:9:7: note: UserTable::UserTable(const UserTable&)
../TestStore/db/schema/UserTable.h:9:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::implLoad(Wt::Dbo::MetaDbo<C>&, Wt::Dbo::SqlStatement*, int&) [with C = TestTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:239:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:356:18: error: no matching function for call to 'TestTable::TestTable()'
../../.local/include/Wt/Dbo/Session_impl.h:356:18: note: candidates are:
In file included from ../TestStore/db/schema/UserTable.h:5:0,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../TestStore/db/schema/TestTable.h:19:9: note: TestTable::TestTable(const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/TestTable.h:19:9: note:   candidate expects 2 arguments, 0 provided
../TestStore/db/schema/TestTable.h:10:7: note: TestTable::TestTable(const TestTable&)
../TestStore/db/schema/TestTable.h:10:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Types:10:0,
                 from ../../.local/include/Wt/Dbo/Dbo:10,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/ptr: In instantiation of 'static void Wt::Dbo::DboHelper<C, Enable>::setMeta(C&, Wt::Dbo::MetaDboBase*) [with C = TestTable; Enable = void]':
../../.local/include/Wt/Dbo/ptr_impl.h:240:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'c' [-Wunused-parameter]
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'm' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::implLoad(Wt::Dbo::MetaDbo<C>&, Wt::Dbo::SqlStatement*, int&) [with C = UserTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:239:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:356:18: error: no matching function for call to 'UserTable::UserTable()'
../../.local/include/Wt/Dbo/Session_impl.h:356:18: note: candidates are:
../TestStore/db/schema/UserTable.cpp:5:1: note: UserTable::UserTable(const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/UserTable.cpp:5:1: note:   candidate expects 5 arguments, 0 provided
In file included from ../TestStore/db/schema/UserTable.cpp:1:0:
../TestStore/db/schema/UserTable.h:9:7: note: UserTable::UserTable(const UserTable&)
../TestStore/db/schema/UserTable.h:9:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Types:10:0,
                 from ../../.local/include/Wt/Dbo/Dbo:10,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/ptr: In instantiation of 'static void Wt::Dbo::DboHelper<C, Enable>::setMeta(C&, Wt::Dbo::MetaDboBase*) [with C = UserTable; Enable = void]':
../../.local/include/Wt/Dbo/ptr_impl.h:240:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = UserTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = UserTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = UserTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'c' [-Wunused-parameter]
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'm' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::Mapping<C>::init(Wt::Dbo::Session&) [with C = TestTable; Wt::Dbo::Session = Wt::Dbo::Session]':
../../.local/include/Wt/Dbo/Session_impl.h:102:7:   required from 'Wt::Dbo::Session::Mapping<C>* Wt::Dbo::Session::getMapping() const [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:344:69:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:411:10: error: no matching function for call to 'TestTable::TestTable()'
../../.local/include/Wt/Dbo/Session_impl.h:411:10: note: candidates are:
In file included from ../TestStore/db/schema/TestContentTable.h:5:0,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../TestStore/db/schema/TestTable.h:19:9: note: TestTable::TestTable(const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/TestTable.h:19:9: note:   candidate expects 2 arguments, 0 provided
../TestStore/db/schema/TestTable.h:10:7: note: TestTable::TestTable(const TestTable&)
../TestStore/db/schema/TestTable.h:10:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Impl:16:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/UserTable.h:4,
                 from ../TestStore/db/schema/UserTable.cpp:1:
../../.local/include/Wt/Dbo/DbAction_impl.h: In instantiation of 'void Wt::Dbo::TransactionDoneAction::act(const Wt::Dbo::FieldRef<V>&) [with V = Wt::WString]':
../../.local/include/Wt/Dbo/Field_impl.h:144:3:   required from 'void Wt::Dbo::field(Action&, V&, const string&, int) [with Action = Wt::Dbo::TransactionDoneAction; V = Wt::WString; std::string = std::basic_string<char>]'
../TestStore/db/schema/TestTable.h:30:13:   required from 'void TestTable::persist(Action&) [with Action = Wt::Dbo::TransactionDoneAction]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::TransactionDoneAction; C = TestTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:554:3:   required from 'void Wt::Dbo::TransactionDoneAction::visit(C&) [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/DbAction_impl.h:571:6: warning: unused parameter 'field' [-Wunused-parameter]
../../.local/include/Wt/Dbo/DbAction_impl.h: In instantiation of 'void Wt::Dbo::TransactionDoneAction::actPtr(const Wt::Dbo::PtrRef<C>&) [with C = UserTable]':
../../.local/include/Wt/Dbo/Field_impl.h:158:5:   required from 'void Wt::Dbo::belongsToImpl(A&, Wt::Dbo::ptr<C>&, const string&, int, int) [with A = Wt::Dbo::TransactionDoneAction; C = UserTable; std::string = std::basic_string<char>]'
../../.local/include/Wt/Dbo/Field_impl.h:167:3:   required from 'void Wt::Dbo::belongsTo(Action&, Wt::Dbo::ptr<C>&, const string&, int) [with Action = Wt::Dbo::TransactionDoneAction; C = UserTable; std::string = std::basic_string<char>]'
../TestStore/db/schema/TestTable.h:33:13:   required from 'void TestTable::persist(Action&) [with Action = Wt::Dbo::TransactionDoneAction]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::TransactionDoneAction; C = TestTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:554:3:   required from 'void Wt::Dbo::TransactionDoneAction::visit(C&) [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/UserTable.cpp:19:1:   required from here
../../.local/include/Wt/Dbo/DbAction_impl.h:575:6: warning: unused parameter 'field' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:20:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/Session_impl.h: In instantiation of 'void Wt::Dbo::Session::implLoad(Wt::Dbo::MetaDbo<C>&, Wt::Dbo::SqlStatement*, int&) [with C = TestTable]':
../../.local/include/Wt/Dbo/ptr_impl.h:239:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/Session_impl.h:356:18: error: no matching function for call to 'TestTable::TestTable()'
../../.local/include/Wt/Dbo/Session_impl.h:356:18: note: candidates are:
In file included from ../TestStore/db/schema/TestContentTable.h:5:0,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../TestStore/db/schema/TestTable.h:19:9: note: TestTable::TestTable(const Wt::WString&, const Wt::WString&)
../TestStore/db/schema/TestTable.h:19:9: note:   candidate expects 2 arguments, 0 provided
../TestStore/db/schema/TestTable.h:10:7: note: TestTable::TestTable(const TestTable&)
../TestStore/db/schema/TestTable.h:10:7: note:   candidate expects 1 argument, 0 provided
In file included from ../../.local/include/Wt/Dbo/Types:10:0,
                 from ../../.local/include/Wt/Dbo/Dbo:10,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/ptr: In instantiation of 'static void Wt::Dbo::DboHelper<C, Enable>::setMeta(C&, Wt::Dbo::MetaDboBase*) [with C = TestTable; Enable = void]':
../../.local/include/Wt/Dbo/ptr_impl.h:240:3:   required from 'void Wt::Dbo::MetaDbo<C>::doLoad() [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:204:5:   required from 'C* Wt::Dbo::MetaDbo<C>::obj() [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'c' [-Wunused-parameter]
../../.local/include/Wt/Dbo/ptr:380:15: warning: unused parameter 'm' [-Wunused-parameter]
In file included from ../../.local/include/Wt/Dbo/Impl:16:0,
                 from ../../.local/include/Wt/Dbo/Dbo:11,
                 from ../TestStore/utils/definitions.h:4,
                 from ../TestStore/db/schema/TestContentTable.h:4,
                 from ../TestStore/db/schema/TestContentTable.cpp:1:
../../.local/include/Wt/Dbo/DbAction_impl.h: In instantiation of 'void Wt::Dbo::TransactionDoneAction::actPtr(const Wt::Dbo::PtrRef<C>&) [with C = UserTable]':
../../.local/include/Wt/Dbo/Field_impl.h:158:5:   required from 'void Wt::Dbo::belongsToImpl(A&, Wt::Dbo::ptr<C>&, const string&, int, int) [with A = Wt::Dbo::TransactionDoneAction; C = UserTable; std::string = std::basic_string<char>]'
../../.local/include/Wt/Dbo/Field_impl.h:167:3:   required from 'void Wt::Dbo::belongsTo(Action&, Wt::Dbo::ptr<C>&, const string&, int) [with Action = Wt::Dbo::TransactionDoneAction; C = UserTable; std::string = std::basic_string<char>]'
../TestStore/db/schema/TestTable.h:33:13:   required from 'void TestTable::persist(Action&) [with Action = Wt::Dbo::TransactionDoneAction]'
../../.local/include/Wt/Dbo/DbAction_impl.h:27:3:   required from 'static void Wt::Dbo::persist<C, Enable>::apply(C&, A&) [with A = Wt::Dbo::TransactionDoneAction; C = TestTable; Enable = void]'
../../.local/include/Wt/Dbo/DbAction_impl.h:554:3:   required from 'void Wt::Dbo::TransactionDoneAction::visit(C&) [with C = TestTable]'
../../.local/include/Wt/Dbo/Session_impl.h:345:3:   required from 'void Wt::Dbo::Session::implTransactionDone(Wt::Dbo::MetaDbo<C>&, bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:160:5:   required from 'void Wt::Dbo::MetaDbo<C>::transactionDone(bool) [with C = TestTable]'
../../.local/include/Wt/Dbo/ptr_impl.h:538:3:   required from 'void Wt::Dbo::ptr<C>::transactionDone(bool) [with C = TestTable]'
../TestStore/db/schema/TestContentTable.cpp:6:1:   required from here
../../.local/include/Wt/Dbo/DbAction_impl.h:575:6: warning: unused parameter 'field' [-Wunused-parameter]
make: *** [UserTable.o] Error 1
make: *** [TestContentTable.o] Error 1
17:22:36: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project TestStore (kit: Desktop Qt 5.5.0 GCC 64bit)
When executing step "Make"

I'm getting this errors on my job, where I'm working with debian wizzy. When I go to my home and try to compile the same code in OS X Yosemite, I have no error... What it's wrong with my computer on my job What do I need to fix this ??

If I remove the relation from this files I have no error... errors only coming when I have belongTo and hasMany into my persist method of my class..

regards

If I remove

regards


Replies (2)

RE: Error using Wt::Dbo - Added by Koen Deforche over 8 years ago

Hey,

Wt::Dbo requires that your class has a default constructor.

I'm unsure why this could work work on OS X. It's a differen complier (CLang), but still, it should have the same behavior. I do not think anything changed in this respect in C++14 either (which could also explain it).

Koen

[SOLVE]RE: Error using Wt::Dbo - Added by Freddy Martinez Garcia over 8 years ago

Thaks my friend. That was the error.. regard

    (1-2/2)