On 1/16/18, Matthew Towler <tow...@ccdc.cam.ac.uk> wrote: > > Firstly, here is a C++11 example application.
Does not compile. These are the errors: x2.cpp:53:2: warning: missing terminating " character R"( SELECT AbundanceId FROM[ABUNDANCE] ^ x2.cpp:53:1: error: missing terminating " character R"( SELECT AbundanceId FROM[ABUNDANCE] ^ x2.cpp:128:6: warning: missing terminating " character )"; ^ x2.cpp:128:5: error: missing terminating " character )"; ^ x2.cpp:246:38: warning: missing terminating " character std::string main_table_insert = R"(INSERT INTO ABUNDANCE(AbundanceId0, AbundanceId1, AbundanceId2, AbundanceId3, AbundanceId4, AbundanceId5, AbundanceId6, AbundanceId7, AbundanceId8, SetAbundanceId0, SetAbundanceId1, SetAbundanceId2) ^ x2.cpp:246:5: error: missing terminating " character std::string main_table_insert = R"(INSERT INTO ABUNDANCE(AbundanceId0, AbundanceId1, AbundanceId2, AbundanceId3, AbundanceId4, AbundanceId5, AbundanceId6, AbundanceId7, AbundanceId8, SetAbundanceId0, SetAbundanceId1, SetAbundanceId2) ^ x2.cpp:247:72: warning: missing terminating " character VALUES(?,?,?,?,?,?,?,?,?,?,?,?) )"; ^ x2.cpp:247:39: error: missing terminating " character VALUES(?,?,?,?,?,?,?,?,?,?,?,?) )"; ^ x2.cpp:7:1: error: ‘R’ was not declared in this scope R"(CREATE TABLE ABUNDANCE(AbundanceId INTEGER PRIMARY KEY NOT NULL, AbundanceId0 INTEGER, AbundanceId1 INTEGER, AbundanceId2 INTEGER, AbundanceId3 INTEGER, AbundanceId4 INTEGER, AbundanceId5 INTEGER, AbundanceId6 INTEGER, AbundanceId7 INTEGER, AbundanceId8 INTEGER, SetAbundanceId0 INTEGER, SetAbundanceId1 INTEGER, SetAbundanceId2 INTEGER))", ^ x2.cpp:7:2: error: expected ‘}’ before string constant R"(CREATE TABLE ABUNDANCE(AbundanceId INTEGER PRIMARY KEY NOT NULL, AbundanceId0 INTEGER, AbundanceId1 INTEGER, AbundanceId2 INTEGER, AbundanceId3 INTEGER, AbundanceId4 INTEGER, AbundanceId5 INTEGER, AbundanceId6 INTEGER, AbundanceId7 INTEGER, AbundanceId8 INTEGER, SetAbundanceId0 INTEGER, SetAbundanceId1 INTEGER, SetAbundanceId2 INTEGER))", ^ x2.cpp:7:2: error: in C++98 ‘query_texts’ must be initialized by constructor, not by ‘{...}’ x2.cpp:7:2: error: could not convert ‘{<expression error>}’ from ‘<brace-enclosed initializer list>’ to ‘const std::vector<std::__cxx11::basic_string<char> >’ x2.cpp:7:2: error: expected ‘,’ or ‘;’ before string constant x2.cpp:50:1: error: expected declaration before ‘}’ token }; ^ -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users