You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g++ -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o sqlite3_api_wrapper.o sqlite3_api_wrapper.cpp
sqlite3_api_wrapper.cpp:55:2: error: ‘PreservedError’ does not name a type
55 | PreservedError last_error;
| ^~~~~~~~~~~~~~
sqlite3_api_wrapper.cpp: In function ‘int sqlite3_open_v2(const char*, sqlite3**, int, const char*)’:
sqlite3_api_wrapper.cpp:185:9: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
185 | pDb->last_error = PreservedError(ex);
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:185:22: error: ‘PreservedError’ was not declared in this scope
185 | pDb->last_error = PreservedError(ex);
| ^~~~~~~~~~~~~~
sqlite3_api_wrapper.cpp:191:9: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
191 | pDb->last_error = PreservedError(ex);
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:191:22: error: ‘PreservedError’ was not declared in this scope
191 | pDb->last_error = PreservedError(ex);
| ^~~~~~~~~~~~~~
sqlite3_api_wrapper.cpp: In function ‘int sqlite3_prepare_v2(sqlite3*, const char*, int, sqlite3_stmt**, const char**)’:
sqlite3_api_wrapper.cpp:256:9: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
256 | db->last_error = res->GetErrorObject();
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:265:8: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
265 | db->last_error = prepared->error;
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:288:7: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
288 | db->last_error = PreservedError(ex);
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:288:20: error: ‘PreservedError’ was not declared in this scope
288 | db->last_error = PreservedError(ex);
| ^~~~~~~~~~~~~~
sqlite3_api_wrapper.cpp:291:7: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
291 | db->last_error = PreservedError(ex);
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:291:20: error: ‘PreservedError’ was not declared in this scope
291 | db->last_error = PreservedError(ex);
| ^~~~~~~~~~~~~~
sqlite3_api_wrapper.cpp: In function ‘int sqlite3_step(sqlite3_stmt*)’:
sqlite3_api_wrapper.cpp:348:14: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
348 | pStmt->db->last_error = PreservedError("Attempting sqlite3_step() on a non-successfully prepared statement");
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:348:27: error: ‘PreservedError’ was not declared in this scope
348 | pStmt->db->last_error = PreservedError("Attempting sqlite3_step() on a non-successfully prepared statement");
| ^~~~~~~~~~~~~~
sqlite3_api_wrapper.cpp:357:15: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
357 | pStmt->db->last_error = pStmt->result->GetErrorObject();
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:362:65: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
362 | if (!pStmt->result->TryFetch(pStmt->current_chunk, pStmt->db->last_error)) {
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp:391:65: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
391 | if (!pStmt->result->TryFetch(pStmt->current_chunk, pStmt->db->last_error)) {
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp: In function ‘int sqlite3_finalize(sqlite3_stmt*)’:
sqlite3_api_wrapper.cpp:926:15: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
926 | pStmt->db->last_error = pStmt->result->GetErrorObject();
| ^~~~~~~~~~
sqlite3_api_wrapper.cpp: In function ‘const char* sqlite3_errmsg(sqlite3*)’:
sqlite3_api_wrapper.cpp:1048:13: error: ‘sqlite3’ {aka ‘struct sqlite3’} has no member named ‘last_error’
1048 | return db->last_error.Message().c_str();
| ^~~~~~~~~~
make: *** [<builtin>: sqlite3_api_wrapper.o] Error 1
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: