Created
October 11, 2017 02:31
-
-
Save PierreRochard/65bfadccebdf279743100a127197b0bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ enterprisebitcoin git:(odb) ✗ make | |
Making all in src | |
CXX wallet/libbitcoin_wallet_a-walletdb.o | |
In file included from wallet/walletdb.cpp:18: | |
./wallet/sql/database.h:14:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] | |
char *argv[] = {"./driver", "--user", "odb_test", "--database", "odb_test"}; | |
^ | |
./wallet/sql/database.h:14:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] | |
char *argv[] = {"./driver", "--user", "odb_test", "--database", "odb_test"}; | |
^ | |
./wallet/sql/database.h:14:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] | |
char *argv[] = {"./driver", "--user", "odb_test", "--database", "odb_test"}; | |
^ | |
./wallet/sql/database.h:14:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] | |
char *argv[] = {"./driver", "--user", "odb_test", "--database", "odb_test"}; | |
^ | |
./wallet/sql/database.h:14:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] | |
char *argv[] = {"./driver", "--user", "odb_test", "--database", "odb_test"}; | |
^ | |
In file included from wallet/walletdb.cpp:19: | |
./wallet/sql/transactions.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] | |
#pragma db object | |
^ | |
./wallet/sql/transactions.h:30:9: warning: unknown pragma ignored [-Wunknown-pragmas] | |
#pragma db id auto | |
^ | |
wallet/walletdb.cpp:61:9: error: unknown type name 'transactions'; did you mean 'CTransaction'? | |
transactions bt(std::string("tx"), 0); | |
^~~~~~~~~~~~ | |
CTransaction | |
./script/sign.h:14:7: note: 'CTransaction' declared here | |
class CTransaction; | |
^ | |
wallet/walletdb.cpp:61:22: error: no matching constructor for initialization of 'CTransaction' | |
transactions bt(std::string("tx"), 0); | |
^ ~~~~~~~~~~~~~~~~~~~~ | |
./primitives/transaction.h:308:5: note: candidate constructor [with Stream = int] not viable: no known conversion from 'std::string' (aka 'basic_string<char, char_traits<char>, | |
allocator<char> >') to 'deserialize_type' for 1st argument | |
CTransaction(deserialize_type, Stream& s) : CTransaction(CMutableTransaction(deserialize, s)) {} | |
^ | |
./primitives/transaction.h:297:5: note: candidate constructor not viable: requires single argument 'tx', but 2 arguments were provided | |
CTransaction(const CMutableTransaction &tx); | |
^ | |
./primitives/transaction.h:298:5: note: candidate constructor not viable: requires single argument 'tx', but 2 arguments were provided | |
CTransaction(CMutableTransaction &&tx); | |
^ | |
./primitives/transaction.h:264:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided | |
class CTransaction | |
^ | |
./primitives/transaction.h:264:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided | |
./primitives/transaction.h:294:5: note: candidate constructor not viable: requires 0 arguments, but 2 were provided | |
CTransaction(); | |
^ | |
wallet/walletdb.cpp:62:9: error: reference to 'transaction' is ambiguous | |
transaction t(db->begin()); | |
^ | |
./wallet/sql/transactions.h:8:7: note: candidate found by name lookup is 'transaction' | |
class transaction { | |
^ | |
/usr/local/include/odb/forward.hxx:54:16: note: candidate found by name lookup is 'odb::core::transaction' | |
using odb::transaction; | |
^ | |
wallet/walletdb.cpp:64:9: error: use of undeclared identifier 't' | |
t.commit(); | |
^ | |
7 warnings and 4 errors generated. | |
make[2]: *** [wallet/libbitcoin_wallet_a-walletdb.o] Error 1 | |
make[1]: *** [all-recursive] Error 1 | |
make: *** [all-recursive] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment