Temporary header file '/tmp/SI1qY4AsBR/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/lib/gcc/arm-linux-gnueabihf/12/include/stddef.h" #include "/usr/include/stdlib.h" #include "/usr/include/dtl/Diff.hpp" #include "/usr/include/dtl/Diff3.hpp" #include "/usr/include/dtl/Lcs.hpp" #include "/usr/include/dtl/Sequence.hpp" #include "/usr/include/dtl/Ses.hpp" #include "/usr/include/dtl/dtl.hpp" #include "/usr/include/dtl/functors.hpp" #include "/usr/include/dtl/variables.hpp" // add namespaces namespace dtl{typedef int tmp_add_type_1;} dtl::tmp_add_type_1 tmp_add_func_1(){return 0;}; // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/SI1qY4AsBR/dump1.h" In file included from /tmp/SI1qY4AsBR/dump1.h:14: /usr/include/dtl/Diff.hpp:47:50: error: ‘vector’ does not name a type 47 | template , typename comparator = Compare< elem > > | ^~~~~~ /usr/include/dtl/Diff.hpp:47:56: error: expected ‘>’ before ‘<’ token 47 | template , typename comparator = Compare< elem > > | ^ /usr/include/dtl/Diff.hpp:51:36: error: expected ‘;’ at end of member declaration 51 | dtl_typedefs(elem, sequence) | ^ | ; /usr/include/dtl/Diff.hpp:60:9: error: ‘Lcs’ does not name a type 60 | Lcs< elem > lcs; | ^~~ /usr/include/dtl/Diff.hpp:61:9: error: ‘Ses’ does not name a type 61 | Ses< elem > ses; | ^~~ /usr/include/dtl/Diff.hpp:62:9: error: ‘editPath’ does not name a type 62 | editPath path; | ^~~~~~~~ /usr/include/dtl/Diff.hpp:63:9: error: ‘editPathCordinates’ does not name a type 63 | editPathCordinates pathCordinates; | ^~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:68:9: error: ‘uniHunkVec’ does not name a type 68 | uniHunkVec uniHunks; | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:69:9: error: ‘comparator’ does not name a type 69 | comparator cmp; | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:88:21: error: ‘comparator’ does not name a type 88 | const comparator& comp) : A(a), B(b), ses(false), cmp(comp) { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:95:21: error: ‘comparator’ does not name a type 95 | const comparator& comp) : A(a), B(b), ses(deleteFirst), cmp(comp) { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:105:9: error: ‘Lcs’ does not name a type 105 | Lcs< elem > getLcs () const { | ^~~ /usr/include/dtl/Diff.hpp:109:9: error: ‘elemVec’ does not name a type; did you mean ‘elem’? 109 | elemVec getLcsVec () const { | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:113:9: error: ‘Ses’ does not name a type 113 | Ses< elem > getSes () const { | ^~~ /usr/include/dtl/Diff.hpp:117:9: error: ‘uniHunkVec’ does not name a type 117 | uniHunkVec getUniHunks () const { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:321:24: error: ‘ostream’ has not been declared 321 | void printSES (ostream& out = cout) const { | ^~~~~~~ /usr/include/dtl/Diff.hpp:329:37: error: ‘Ses’ does not name a type 329 | static void printSES (const Ses< elem >& s, stream& out) { | ^~~ /usr/include/dtl/Diff.hpp:329:40: error: expected ‘,’ or ‘...’ before ‘<’ token 329 | static void printSES (const Ses< elem >& s, stream& out) { | ^ /usr/include/dtl/Diff.hpp:334:37: error: ‘Ses’ does not name a type 334 | static void printSES (const Ses< elem >& s, ostream& out = cout) { | ^~~ /usr/include/dtl/Diff.hpp:334:40: error: expected ‘,’ or ‘...’ before ‘<’ token 334 | static void printSES (const Ses< elem >& s, ostream& out = cout) { | ^ /usr/include/dtl/Diff.hpp:364:34: error: ‘ostream’ has not been declared 364 | void printUnifiedFormat (ostream& out = cout) const { | ^~~~~~~ /usr/include/dtl/Diff.hpp:372:47: error: ‘uniHunkVec’ does not name a type 372 | static void printUnifiedFormat (const uniHunkVec& hunks, stream& out) { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:376:47: error: ‘uniHunkVec’ does not name a type 376 | static void printUnifiedFormat (const uniHunkVec& hunks, ostream& out = cout) { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:376:66: error: ‘ostream’ has not been declared 376 | static void printUnifiedFormat (const uniHunkVec& hunks, ostream& out = cout) { | ^~~~~~~ /usr/include/dtl/Diff.hpp:519:16: error: ‘Ses’ does not name a type 519 | static Ses< elem > composeSesFromStream (stream& st) | ^~~ /usr/include/dtl/Diff.hpp:589:36: error: ‘editPathCordinates’ does not name a type 589 | bool recordSequence (const editPathCordinates& v) { | ^~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:674:73: error: ‘sequence_const_iter’ has not been declared 674 | void inline recordOddSequence (long long idx, long long length, sequence_const_iter it, const edit_t et) { | ^~~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:674:103: error: ‘edit_t’ does not name a type; did you mean ‘ldiv_t’? 674 | void inline recordOddSequence (long long idx, long long length, sequence_const_iter it, const edit_t et) { | ^~~~~~ | ldiv_t /usr/include/dtl/Diff.hpp:688:33: error: ‘sesElemVec’ has not been declared 688 | void inline joinSesVec (sesElemVec& s1, sesElemVec& s2) const { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:688:49: error: ‘sesElemVec’ has not been declared 688 | void inline joinSesVec (sesElemVec& s1, sesElemVec& s2) const { | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:321:39: error: ‘cout’ was not declared in this scope; did you mean ‘out’? 321 | void printSES (ostream& out = cout) const { | ^~~~ | out /usr/include/dtl/Diff.hpp:364:49: error: ‘cout’ was not declared in this scope; did you mean ‘out’? 364 | void printUnifiedFormat (ostream& out = cout) const { | ^~~~ | out /usr/include/dtl/Diff.hpp:376:81: error: ‘cout’ was not declared in this scope; did you mean ‘out’? 376 | static void printUnifiedFormat (const uniHunkVec& hunks, ostream& out = cout) { | ^~~~ | out /usr/include/dtl/Diff.hpp: In constructor ‘dtl::Diff::Diff(const sequence&, const sequence&)’: /usr/include/dtl/Diff.hpp:76:48: error: class ‘dtl::Diff’ does not have any field named ‘ses’ 76 | const sequence& b) : A(a), B(b), ses(false) { | ^~~ /usr/include/dtl/Diff.hpp: In constructor ‘dtl::Diff::Diff(const sequence&, const sequence&, bool)’: /usr/include/dtl/Diff.hpp:82:48: error: class ‘dtl::Diff’ does not have any field named ‘ses’ 82 | bool deletesFirst) : A(a), B(b), ses(deletesFirst) { | ^~~ /usr/include/dtl/Diff.hpp: In constructor ‘dtl::Diff::Diff(const sequence&, const sequence&, const int&)’: /usr/include/dtl/Diff.hpp:88:53: error: class ‘dtl::Diff’ does not have any field named ‘ses’ 88 | const comparator& comp) : A(a), B(b), ses(false), cmp(comp) { | ^~~ /usr/include/dtl/Diff.hpp:88:65: error: class ‘dtl::Diff’ does not have any field named ‘cmp’ 88 | const comparator& comp) : A(a), B(b), ses(false), cmp(comp) { | ^~~ /usr/include/dtl/Diff.hpp: In constructor ‘dtl::Diff::Diff(const sequence&, const sequence&, bool, const int&)’: /usr/include/dtl/Diff.hpp:95:53: error: class ‘dtl::Diff’ does not have any field named ‘ses’ 95 | const comparator& comp) : A(a), B(b), ses(deleteFirst), cmp(comp) { | ^~~ /usr/include/dtl/Diff.hpp:95:71: error: class ‘dtl::Diff’ does not have any field named ‘cmp’ 95 | const comparator& comp) : A(a), B(b), ses(deleteFirst), cmp(comp) { | ^~~ /usr/include/dtl/Diff.hpp: In member function ‘sequence dtl::Diff::uniPatch(const sequence&)’: /usr/include/dtl/Diff.hpp:183:13: error: ‘elemList’ was not declared in this scope 183 | elemList seqLst(seq.begin(), seq.end()); | ^~~~~~~~ /usr/include/dtl/Diff.hpp:184:13: error: ‘sesElemVec’ was not declared in this scope 184 | sesElemVec shunk; | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:185:13: error: ‘sesElemVec_iter’ was not declared in this scope 185 | sesElemVec_iter vsesIt; | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:186:13: error: ‘elemList_iter’ was not declared in this scope 186 | elemList_iter lstIt = seqLst.begin(); | ^~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:189:18: error: ‘uniHunkVec_iter’ was not declared in this scope 189 | for (uniHunkVec_iter it=uniHunks.begin();it!=uniHunks.end();++it) { | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:189:54: error: ‘it’ was not declared in this scope; did you mean ‘int’? 189 | for (uniHunkVec_iter it=uniHunks.begin();it!=uniHunks.end();++it) { | ^~ | int /usr/include/dtl/Diff.hpp:189:58: error: ‘uniHunks’ was not declared in this scope 189 | for (uniHunkVec_iter it=uniHunks.begin();it!=uniHunks.end();++it) { | ^~~~~~~~ /usr/include/dtl/Diff.hpp:190:28: error: ‘shunk’ was not declared in this scope 190 | joinSesVec(shunk, it->common[0]); | ^~~~~ /usr/include/dtl/Diff.hpp:196:23: error: ‘lstIt’ was not declared in this scope 196 | ++lstIt; | ^~~~~ /usr/include/dtl/Diff.hpp:199:17: error: ‘vsesIt’ was not declared in this scope 199 | vsesIt = shunk.begin(); | ^~~~~~ /usr/include/dtl/Diff.hpp:202:26: error: ‘SES_ADD’ was not declared in this scope 202 | case SES_ADD : | ^~~~~~~ /usr/include/dtl/Diff.hpp:203:25: error: ‘seqLst’ was not declared in this scope 203 | seqLst.insert(lstIt, vsesIt->first); | ^~~~~~ /usr/include/dtl/Diff.hpp:203:39: error: ‘lstIt’ was not declared in this scope 203 | seqLst.insert(lstIt, vsesIt->first); | ^~~~~ /usr/include/dtl/Diff.hpp:205:26: error: ‘SES_DELETE’ was not declared in this scope 205 | case SES_DELETE : | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:210:26: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 210 | case SES_COMMON : | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff.hpp:224:33: error: ‘seqLst’ was not declared in this scope 224 | sequence patchedSeq(seqLst.begin(), seqLst.end()); | ^~~~~~ /usr/include/dtl/Diff.hpp: In member function ‘sequence dtl::Diff::patch(const sequence&) const’: /usr/include/dtl/Diff.hpp:232:13: error: ‘sesElemVec’ was not declared in this scope 232 | sesElemVec sesSeq = ses.getSequence(); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:233:13: error: ‘elemList’ was not declared in this scope 233 | elemList seqLst(seq.begin(), seq.end()); | ^~~~~~~~ /usr/include/dtl/Diff.hpp:234:13: error: ‘elemList_iter’ was not declared in this scope 234 | elemList_iter lstIt = seqLst.begin(); | ^~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:235:18: error: ‘sesElemVec_iter’ was not declared in this scope 235 | for (sesElemVec_iter sesIt=sesSeq.begin();sesIt!=sesSeq.end();++sesIt) { | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:235:55: error: ‘sesIt’ was not declared in this scope 235 | for (sesElemVec_iter sesIt=sesSeq.begin();sesIt!=sesSeq.end();++sesIt) { | ^~~~~ /usr/include/dtl/Diff.hpp:235:62: error: ‘sesSeq’ was not declared in this scope 235 | for (sesElemVec_iter sesIt=sesSeq.begin();sesIt!=sesSeq.end();++sesIt) { | ^~~~~~ /usr/include/dtl/Diff.hpp:237:22: error: ‘SES_ADD’ was not declared in this scope 237 | case SES_ADD : | ^~~~~~~ /usr/include/dtl/Diff.hpp:238:21: error: ‘seqLst’ was not declared in this scope 238 | seqLst.insert(lstIt, sesIt->first); | ^~~~~~ /usr/include/dtl/Diff.hpp:238:35: error: ‘lstIt’ was not declared in this scope 238 | seqLst.insert(lstIt, sesIt->first); | ^~~~~ /usr/include/dtl/Diff.hpp:240:22: error: ‘SES_DELETE’ was not declared in this scope 240 | case SES_DELETE : | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:243:22: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 243 | case SES_COMMON : | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff.hpp:251:33: error: ‘seqLst’ was not declared in this scope 251 | sequence patchedSeq(seqLst.begin(), seqLst.end()); | ^~~~~~ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::compose()’: /usr/include/dtl/Diff.hpp:263:17: error: ‘pathCordinates’ was not declared in this scope 263 | pathCordinates.reserve(MAX_CORDINATES_SIZE); | ^~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:263:40: error: ‘MAX_CORDINATES_SIZE’ was not declared in this scope 263 | pathCordinates.reserve(MAX_CORDINATES_SIZE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:270:13: error: ‘path’ was not declared in this scope; did you mean ‘patch’? 270 | path = editPath(M + N + 3); | ^~~~ | patch /usr/include/dtl/Diff.hpp:282:71: error: ‘pathCordinates’ was not declared in this scope 282 | } while (fp[delta+offset] != static_cast(N) && pathCordinates.size() < MAX_CORDINATES_SIZE); | ^~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:282:95: error: ‘MAX_CORDINATES_SIZE’ was not declared in this scope 282 | } while (fp[delta+offset] != static_cast(N) && pathCordinates.size() < MAX_CORDINATES_SIZE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:286:13: error: ‘P’ was not declared in this scope 286 | P cordinate; | ^ /usr/include/dtl/Diff.hpp:287:13: error: ‘editPathCordinates’ was not declared in this scope 287 | editPathCordinates epc(0); | ^~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:296:17: error: ‘cordinate’ was not declared in this scope 296 | cordinate.x = pathCordinates[(size_t)r].x; | ^~~~~~~~~ /usr/include/dtl/Diff.hpp:298:17: error: ‘epc’ was not declared in this scope 298 | epc.push_back(cordinate); | ^~~ /usr/include/dtl/Diff.hpp:303:33: error: ‘epc’ was not declared in this scope 303 | if (!recordSequence(epc)) { | ^~~ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::printSES(stream&) const’: /usr/include/dtl/Diff.hpp:317:13: error: ‘sesElemVec’ was not declared in this scope 317 | sesElemVec ses_v = ses.getSequence(); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:318:22: error: ‘ses_v’ was not declared in this scope 318 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~~~ /usr/include/dtl/Diff.hpp:318:50: error: ‘ChangePrinter’ was not declared in this scope 318 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:318:65: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 318 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:318:81: error: expected primary-expression before ‘>’ token 318 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::printSES(int&) const’: /usr/include/dtl/Diff.hpp:322:23: error: ‘ostream’ was not declared in this scope 322 | printSES< ostream >(out); | ^~~~~~~ /usr/include/dtl/Diff.hpp: In static member function ‘static void dtl::Diff::printSES(int)’: /usr/include/dtl/Diff.hpp:330:13: error: ‘sesElemVec’ was not declared in this scope 330 | sesElemVec ses_v = s.getSequence(); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:331:22: error: ‘ses_v’ was not declared in this scope 331 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~~~ /usr/include/dtl/Diff.hpp:331:50: error: ‘ChangePrinter’ was not declared in this scope 331 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:331:65: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 331 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:331:81: error: expected primary-expression before ‘>’ token 331 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^ /usr/include/dtl/Diff.hpp:331:83: error: ‘out’ was not declared in this scope 331 | for_each(ses_v.begin(), ses_v.end(), ChangePrinter< sesElem, stream >(out)); | ^~~ /usr/include/dtl/Diff.hpp: In static member function ‘static void dtl::Diff::printSES(int)’: /usr/include/dtl/Diff.hpp:335:23: error: ‘ostream’ was not declared in this scope 335 | printSES< ostream >(s, out); | ^~~~~~~ /usr/include/dtl/Diff.hpp:335:33: error: ‘s’ was not declared in this scope 335 | printSES< ostream >(s, out); | ^ /usr/include/dtl/Diff.hpp:335:36: error: ‘out’ was not declared in this scope 335 | printSES< ostream >(s, out); | ^~~ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::printSES(stream&) const’: /usr/include/dtl/Diff.hpp:343:13: error: ‘sesElemVec’ was not declared in this scope 343 | sesElemVec ses_v = ses.getSequence (); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:344:23: error: ‘ses_v’ was not declared in this scope 344 | for_each (ses_v.begin (), ses_v.end(), PT < sesElem, stream > (out)); | ^~~~~ /usr/include/dtl/Diff.hpp:344:57: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 344 | for_each (ses_v.begin (), ses_v.end(), PT < sesElem, stream > (out)); | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:344:73: error: template argument 1 is invalid 344 | for_each (ses_v.begin (), ses_v.end(), PT < sesElem, stream > (out)); | ^ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::storeSES(storedData&) const’: /usr/include/dtl/Diff.hpp:352:13: error: ‘sesElemVec’ was not declared in this scope 352 | sesElemVec ses_v = ses.getSequence(); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:353:22: error: ‘ses_v’ was not declared in this scope 353 | for_each(ses_v.begin(), ses_v.end(), ST < sesElem, storedData >(sd)); | ^~~~~ /usr/include/dtl/Diff.hpp:353:55: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 353 | for_each(ses_v.begin(), ses_v.end(), ST < sesElem, storedData >(sd)); | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:353:75: error: template argument 1 is invalid 353 | for_each(ses_v.begin(), ses_v.end(), ST < sesElem, storedData >(sd)); | ^ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::printUnifiedFormat(stream&) const’: /usr/include/dtl/Diff.hpp:361:22: error: ‘uniHunks’ was not declared in this scope 361 | for_each(uniHunks.begin(), uniHunks.end(), UniHunkPrinter< sesElem, stream >(out)); | ^~~~~~~~ /usr/include/dtl/Diff.hpp:361:56: error: ‘UniHunkPrinter’ was not declared in this scope 361 | for_each(uniHunks.begin(), uniHunks.end(), UniHunkPrinter< sesElem, stream >(out)); | ^~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:361:72: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 361 | for_each(uniHunks.begin(), uniHunks.end(), UniHunkPrinter< sesElem, stream >(out)); | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:361:88: error: expected primary-expression before ‘>’ token 361 | for_each(uniHunks.begin(), uniHunks.end(), UniHunkPrinter< sesElem, stream >(out)); | ^ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::printUnifiedFormat(int&) const’: /usr/include/dtl/Diff.hpp:365:33: error: ‘ostream’ was not declared in this scope 365 | printUnifiedFormat< ostream >(out); | ^~~~~~~ /usr/include/dtl/Diff.hpp: In static member function ‘static void dtl::Diff::printUnifiedFormat(const int&, stream&)’: /usr/include/dtl/Diff.hpp:373:28: error: request for member ‘begin’ in ‘hunks’, which is of non-class type ‘const int’ 373 | for_each(hunks.begin(), hunks.end(), UniHunkPrinter< sesElem >(out)); | ^~~~~ /usr/include/dtl/Diff.hpp:373:43: error: request for member ‘end’ in ‘hunks’, which is of non-class type ‘const int’ 373 | for_each(hunks.begin(), hunks.end(), UniHunkPrinter< sesElem >(out)); | ^~~ /usr/include/dtl/Diff.hpp:373:50: error: ‘UniHunkPrinter’ was not declared in this scope 373 | for_each(hunks.begin(), hunks.end(), UniHunkPrinter< sesElem >(out)); | ^~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:373:66: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 373 | for_each(hunks.begin(), hunks.end(), UniHunkPrinter< sesElem >(out)); | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp: In static member function ‘static void dtl::Diff::printUnifiedFormat(const int&, int&)’: /usr/include/dtl/Diff.hpp:377:33: error: ‘ostream’ was not declared in this scope 377 | printUnifiedFormat< ostream >(hunks, out); | ^~~~~~~ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::composeUnifiedHunks()’: /usr/include/dtl/Diff.hpp:384:13: error: ‘sesElemVec’ was not declared in this scope 384 | sesElemVec common[2]; | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:385:32: error: expected ‘;’ before ‘change’ 385 | sesElemVec change; | ^~~~~~ /usr/include/dtl/Diff.hpp:386:32: error: expected ‘;’ before ‘ses_v’ 386 | sesElemVec ses_v = ses.getSequence(); | ^~~~~ /usr/include/dtl/Diff.hpp:388:50: error: ‘ses_v’ was not declared in this scope 388 | long long length = distance(ses_v.begin(), ses_v.end()); | ^~~~~ /usr/include/dtl/Diff.hpp:391:13: error: ‘elemInfo’ was not declared in this scope 391 | elemInfo einfo; | ^~~~~~~~ /usr/include/dtl/Diff.hpp:394:13: error: ‘uniHunk’ was not declared in this scope; did you mean ‘union’? 394 | uniHunk< sesElem > hunk; | ^~~~~~~ | union /usr/include/dtl/Diff.hpp:394:22: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 394 | uniHunk< sesElem > hunk; | ^~~~~~~ | elem /usr/include/dtl/Diff.hpp:394:32: error: ‘hunk’ was not declared in this scope 394 | uniHunk< sesElem > hunk; | ^~~~ /usr/include/dtl/Diff.hpp:395:32: error: expected ‘;’ before ‘adds’ 395 | sesElemVec adds; | ^~~~ /usr/include/dtl/Diff.hpp:396:32: error: expected ‘;’ before ‘deletes’ 396 | sesElemVec deletes; | ^~~~~~~ /usr/include/dtl/Diff.hpp:401:18: error: ‘sesElemVec_iter’ was not declared in this scope 401 | for (sesElemVec_iter it=ses_v.begin();it!=ses_v.end();++it, ++l_cnt) { | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:401:51: error: ‘it’ was not declared in this scope; did you mean ‘int’? 401 | for (sesElemVec_iter it=ses_v.begin();it!=ses_v.end();++it, ++l_cnt) { | ^~ | int /usr/include/dtl/Diff.hpp:402:17: error: ‘einfo’ was not declared in this scope 402 | einfo = it->second; | ^~~~~ /usr/include/dtl/Diff.hpp:404:22: error: ‘SES_ADD’ was not declared in this scope 404 | case SES_ADD : | ^~~~~~~ /usr/include/dtl/Diff.hpp:407:21: error: ‘adds’ was not declared in this scope 407 | adds.push_back(*it); | ^~~~ /usr/include/dtl/Diff.hpp:411:36: error: ‘change’ was not declared in this scope 411 | joinSesVec(change, deletes); | ^~~~~~ /usr/include/dtl/Diff.hpp:411:44: error: ‘deletes’ was not declared in this scope; did you mean ‘delta’? 411 | joinSesVec(change, deletes); | ^~~~~~~ | delta /usr/include/dtl/Diff.hpp:416:22: error: ‘SES_DELETE’ was not declared in this scope 416 | case SES_DELETE : | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:419:21: error: ‘deletes’ was not declared in this scope; did you mean ‘delta’? 419 | deletes.push_back(*it); | ^~~~~~~ | delta /usr/include/dtl/Diff.hpp:423:36: error: ‘change’ was not declared in this scope 423 | joinSesVec(change, deletes); | ^~~~~~ /usr/include/dtl/Diff.hpp:428:22: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 428 | case SES_COMMON : | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff.hpp:430:25: error: ‘common’ was not declared in this scope 430 | if (common[1].empty() && adds.empty() && deletes.empty() && change.empty()) { | ^~~~~~ /usr/include/dtl/Diff.hpp:430:81: error: ‘change’ was not declared in this scope 430 | if (common[1].empty() && adds.empty() && deletes.empty() && change.empty()) { | ^~~~~~ /usr/include/dtl/Diff.hpp:431:72: error: ‘DTL_CONTEXT_SIZE’ was not declared in this scope 431 | if (static_cast(common[0].size()) < DTL_CONTEXT_SIZE) { | ^~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:452:36: error: ‘change’ was not declared in this scope 452 | joinSesVec(change, deletes); | ^~~~~~ /usr/include/dtl/Diff.hpp:455:39: error: ‘DTL_SEPARATE_SIZE’ was not declared in this scope 455 | if (middle >= DTL_SEPARATE_SIZE || l_cnt >= length) { | ^~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:467:33: error: ‘change’ was not declared in this scope 467 | if (isAfter && !change.empty()) { | ^~~~~~ /usr/include/dtl/Diff.hpp:468:37: error: expected ‘;’ before ‘cit’ 468 | sesElemVec_iter cit = it; | ^~~ /usr/include/dtl/Diff.hpp:470:42: error: ‘DTL_SEPARATE_SIZE’ was not declared in this scope 470 | for (long long i=0;isecond.type == SES_COMMON) { | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff.hpp:475:31: error: ‘DTL_SEPARATE_SIZE’ was not declared in this scope 475 | if (cnt < DTL_SEPARATE_SIZE && l_cnt < length) { | ^~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:480:48: error: ‘common’ was not declared in this scope 480 | if (static_cast(common[0].size()) >= DTL_SEPARATE_SIZE) { | ^~~~~~ /usr/include/dtl/Diff.hpp:480:69: error: ‘DTL_SEPARATE_SIZE’ was not declared in this scope 480 | if (static_cast(common[0].size()) >= DTL_SEPARATE_SIZE) { | ^~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:498:42: error: ‘common’ was not declared in this scope 498 | hunk.common[0] = common[0]; | ^~~~~~ /usr/include/dtl/Diff.hpp:502:21: error: ‘uniHunks’ was not declared in this scope 502 | uniHunks.push_back(hunk); | ^~~~~~~~ /usr/include/dtl/Diff.hpp:507:21: error: ‘adds’ was not declared in this scope 507 | adds.clear(); | ^~~~ /usr/include/dtl/Diff.hpp:508:21: error: ‘deletes’ was not declared in this scope; did you mean ‘delta’? 508 | deletes.clear(); | ^~~~~~~ | delta /usr/include/dtl/Diff.hpp: In member function ‘long long int dtl::Diff::snake(const long long int&, const long long int&, const long long int&)’: /usr/include/dtl/Diff.hpp:570:43: error: ‘path’ was not declared in this scope; did you mean ‘patch’? 570 | long long r = above > below ? path[(size_t)k-1+offset] : path[(size_t)k+1+offset]; | ^~~~ | patch /usr/include/dtl/Diff.hpp:573:65: error: ‘cmp’ was not declared in this scope 573 | while ((size_t)x < M && (size_t)y < N && (swapped ? cmp.impl(B[(size_t)y], A[(size_t)x]) : cmp.impl(A[(size_t)x], B[(size_t)y]))) { | ^~~ /usr/include/dtl/Diff.hpp:577:61: error: ‘pathCordinates’ was not declared in this scope 577 | path[(size_t)k+offset] = static_cast(pathCordinates.size()); | ^~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:579:17: error: ‘P’ was not declared in this scope 579 | P p; | ^ /usr/include/dtl/Diff.hpp:580:17: error: ‘p’ was not declared in this scope 580 | p.x = x;p.y = y;p.k = r; | ^ /usr/include/dtl/Diff.hpp: In member function ‘bool dtl::Diff::recordSequence(const int&)’: /usr/include/dtl/Diff.hpp:590:13: error: ‘sequence_const_iter’ was not declared in this scope 590 | sequence_const_iter x(A.begin()); | ^~~~~~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:591:33: error: expected ‘;’ before ‘y’ 591 | sequence_const_iter y(B.begin()); | ^ /usr/include/dtl/Diff.hpp:597:29: error: request for member ‘size’ in ‘v’, which is of non-class type ‘const int’ 597 | for (size_t i=v.size()-1;!complete;--i) { | ^~~~ /usr/include/dtl/Diff.hpp:598:33: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript 598 | while(px_idx < v[i].x || py_idx < v[i].y) { | ^ /usr/include/dtl/Diff.hpp:598:52: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript 598 | while(px_idx < v[i].x || py_idx < v[i].y) { | ^ /usr/include/dtl/Diff.hpp:599:26: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript 599 | if (v[i].y - v[i].x > py_idx - px_idx) { | ^ /usr/include/dtl/Diff.hpp:599:35: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript 599 | if (v[i].y - v[i].x > py_idx - px_idx) { | ^ /usr/include/dtl/Diff.hpp:601:29: error: ‘ses’ was not declared in this scope 601 | ses.addSequence(*y, 0, y_idx + oy, SES_ADD); | ^~~ /usr/include/dtl/Diff.hpp:601:46: error: ‘y’ was not declared in this scope 601 | ses.addSequence(*y, 0, y_idx + oy, SES_ADD); | ^ /usr/include/dtl/Diff.hpp:601:64: error: ‘SES_ADD’ was not declared in this scope 601 | ses.addSequence(*y, 0, y_idx + oy, SES_ADD); | ^~~~~~~ /usr/include/dtl/Diff.hpp:603:29: error: ‘ses’ was not declared in this scope 603 | ses.addSequence(*y, y_idx + oy, 0, SES_DELETE); | ^~~ /usr/include/dtl/Diff.hpp:603:46: error: ‘y’ was not declared in this scope 603 | ses.addSequence(*y, y_idx + oy, 0, SES_DELETE); | ^ /usr/include/dtl/Diff.hpp:603:64: error: ‘SES_DELETE’ was not declared in this scope 603 | ses.addSequence(*y, y_idx + oy, 0, SES_DELETE); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:605:27: error: ‘y’ was not declared in this scope 605 | ++y; | ^ /usr/include/dtl/Diff.hpp:608:33: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript 608 | } else if (v[i].y - v[i].x < py_idx - px_idx) { | ^ /usr/include/dtl/Diff.hpp:608:42: error: invalid types ‘const int[size_t {aka unsigned int}]’ for array subscript 608 | } else if (v[i].y - v[i].x < py_idx - px_idx) { | ^ /usr/include/dtl/Diff.hpp:610:29: error: ‘ses’ was not declared in this scope 610 | ses.addSequence(*x, x_idx + ox, 0, SES_DELETE); | ^~~ /usr/include/dtl/Diff.hpp:610:46: error: ‘x’ was not declared in this scope 610 | ses.addSequence(*x, x_idx + ox, 0, SES_DELETE); | ^ /usr/include/dtl/Diff.hpp:610:64: error: ‘SES_DELETE’ was not declared in this scope 610 | ses.addSequence(*x, x_idx + ox, 0, SES_DELETE); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:612:29: error: ‘ses’ was not declared in this scope 612 | ses.addSequence(*x, 0, x_idx + ox, SES_ADD); | ^~~ /usr/include/dtl/Diff.hpp:612:46: error: ‘x’ was not declared in this scope 612 | ses.addSequence(*x, 0, x_idx + ox, SES_ADD); | ^ /usr/include/dtl/Diff.hpp:612:64: error: ‘SES_ADD’ was not declared in this scope 612 | ses.addSequence(*x, 0, x_idx + ox, SES_ADD); | ^~~~~~~ /usr/include/dtl/Diff.hpp:614:27: error: ‘x’ was not declared in this scope 614 | ++x; | ^ /usr/include/dtl/Diff.hpp:619:29: error: ‘lcs’ was not declared in this scope 619 | lcs.addSequence(*x); | ^~~ /usr/include/dtl/Diff.hpp:619:46: error: ‘x’ was not declared in this scope 619 | lcs.addSequence(*x); | ^ /usr/include/dtl/Diff.hpp:620:29: error: ‘ses’ was not declared in this scope 620 | ses.addSequence(*x, x_idx + ox, y_idx + oy, SES_COMMON); | ^~~ /usr/include/dtl/Diff.hpp:620:73: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 620 | ses.addSequence(*x, x_idx + ox, y_idx + oy, SES_COMMON); | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff.hpp:622:29: error: ‘lcs’ was not declared in this scope 622 | lcs.addSequence(*y); | ^~~ /usr/include/dtl/Diff.hpp:622:46: error: ‘y’ was not declared in this scope 622 | lcs.addSequence(*y); | ^ /usr/include/dtl/Diff.hpp:623:29: error: ‘ses’ was not declared in this scope 623 | ses.addSequence(*y, y_idx + oy, x_idx + ox, SES_COMMON); | ^~~ /usr/include/dtl/Diff.hpp:623:73: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 623 | ses.addSequence(*y, y_idx + oy, x_idx + ox, SES_COMMON); | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff.hpp:625:27: error: ‘x’ was not declared in this scope 625 | ++x; | ^ /usr/include/dtl/Diff.hpp:626:27: error: ‘y’ was not declared in this scope 626 | ++y; | ^ /usr/include/dtl/Diff.hpp:642:53: error: ‘x’ was not declared in this scope 642 | recordOddSequence(x_idx, M, x, SES_DELETE); | ^ /usr/include/dtl/Diff.hpp:642:56: error: ‘SES_DELETE’ was not declared in this scope 642 | recordOddSequence(x_idx, M, x, SES_DELETE); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:643:53: error: ‘y’ was not declared in this scope 643 | recordOddSequence(y_idx, N, y, SES_ADD); | ^ /usr/include/dtl/Diff.hpp:643:56: error: ‘SES_ADD’ was not declared in this scope 643 | recordOddSequence(y_idx, N, y, SES_ADD); | ^~~~~~~ /usr/include/dtl/Diff.hpp:645:53: error: ‘x’ was not declared in this scope 645 | recordOddSequence(x_idx, M, x, SES_ADD); | ^ /usr/include/dtl/Diff.hpp:645:56: error: ‘SES_ADD’ was not declared in this scope 645 | recordOddSequence(x_idx, M, x, SES_ADD); | ^~~~~~~ /usr/include/dtl/Diff.hpp:646:53: error: ‘y’ was not declared in this scope 646 | recordOddSequence(y_idx, N, y, SES_DELETE); | ^ /usr/include/dtl/Diff.hpp:646:56: error: ‘SES_DELETE’ was not declared in this scope 646 | recordOddSequence(y_idx, N, y, SES_DELETE); | ^~~~~~~~~~ /usr/include/dtl/Diff.hpp:663:22: error: ‘path’ was not declared in this scope; did you mean ‘patch’? 663 | fill(path.begin(), path.end(), -1); | ^~~~ | patch /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::recordOddSequence(long long int, long long int, int, int)’: /usr/include/dtl/Diff.hpp:676:17: error: ‘ses’ was not declared in this scope 676 | ses.addSequence(*it, idx, 0, et); | ^~~ /usr/include/dtl/Diff.hpp:676:33: error: invalid type argument of unary ‘*’ (have ‘int’) 676 | ses.addSequence(*it, idx, 0, et); | ^~~ /usr/include/dtl/Diff.hpp:681:13: error: ‘ses’ was not declared in this scope 681 | ses.addSequence(*it, idx, 0, et); | ^~~ /usr/include/dtl/Diff.hpp:681:29: error: invalid type argument of unary ‘*’ (have ‘int’) 681 | ses.addSequence(*it, idx, 0, et); | ^~~ /usr/include/dtl/Diff.hpp: In member function ‘void dtl::Diff::joinSesVec(int&, int&) const’: /usr/include/dtl/Diff.hpp:689:21: error: request for member ‘empty’ in ‘s2’, which is of non-class type ‘int’ 689 | if (!s2.empty()) { | ^~~~~ /usr/include/dtl/Diff.hpp:690:22: error: ‘sesElemVec_iter’ was not declared in this scope 690 | for (sesElemVec_iter vit=s2.begin();vit!=s2.end();++vit) { | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff.hpp:690:53: error: ‘vit’ was not declared in this scope 690 | for (sesElemVec_iter vit=s2.begin();vit!=s2.end();++vit) { | ^~~ /usr/include/dtl/Diff.hpp:690:61: error: request for member ‘end’ in ‘s2’, which is of non-class type ‘int’ 690 | for (sesElemVec_iter vit=s2.begin();vit!=s2.end();++vit) { | ^~~ /usr/include/dtl/Diff.hpp:691:24: error: request for member ‘push_back’ in ‘s1’, which is of non-class type ‘int’ 691 | s1.push_back(*vit); | ^~~~~~~~~ In file included from /tmp/SI1qY4AsBR/dump1.h:15: /usr/include/dtl/Diff3.hpp: At global scope: /usr/include/dtl/Diff3.hpp:47:50: error: ‘vector’ does not name a type 47 | template , typename comparator = Compare< elem > > | ^~~~~~ /usr/include/dtl/Diff3.hpp:47:56: error: expected ‘>’ before ‘<’ token 47 | template , typename comparator = Compare< elem > > | ^ /usr/include/dtl/Diff3.hpp:51:36: error: expected ‘;’ at end of member declaration 51 | dtl_typedefs(elem, sequence) | ^ | ; /usr/include/dtl/Diff3.hpp:56:31: error: ‘comparator’ was not declared in this scope 56 | Diff< elem, sequence, comparator > diff_ba; | ^~~~~~~~~~ /usr/include/dtl/Diff3.hpp:56:42: error: wrong number of template arguments (3, should be at least 1) 56 | Diff< elem, sequence, comparator > diff_ba; | ^ /usr/include/dtl/Diff.hpp:48:11: note: provided for ‘template class dtl::Diff’ 48 | class Diff | ^~~~ /usr/include/dtl/Diff3.hpp:57:31: error: ‘comparator’ was not declared in this scope 57 | Diff< elem, sequence, comparator > diff_bc; | ^~~~~~~~~~ /usr/include/dtl/Diff3.hpp:57:42: error: wrong number of template arguments (3, should be at least 1) 57 | Diff< elem, sequence, comparator > diff_bc; | ^ /usr/include/dtl/Diff.hpp:48:11: note: provided for ‘template class dtl::Diff’ 48 | class Diff | ^~~~ /usr/include/dtl/Diff3.hpp:208:34: error: ‘elemVec’ has not been declared 208 | void inline joinElemVec (elemVec& s1, elemVec& s2) const { | ^~~~~~~ /usr/include/dtl/Diff3.hpp:208:47: error: ‘elemVec’ has not been declared 208 | void inline joinElemVec (elemVec& s1, elemVec& s2) const { | ^~~~~~~ /usr/include/dtl/Diff3.hpp:235:46: error: ‘sesElemVec_iter’ does not name a type 235 | void inline addDecentSequence (const sesElemVec_iter& end, sesElemVec_iter& it, elemVec& seq) const { | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp:235:68: error: ‘sesElemVec_iter’ has not been declared 235 | void inline addDecentSequence (const sesElemVec_iter& end, sesElemVec_iter& it, elemVec& seq) const { | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp:235:89: error: ‘elemVec’ has not been declared 235 | void inline addDecentSequence (const sesElemVec_iter& end, sesElemVec_iter& it, elemVec& seq) const { | ^~~~~~~ /usr/include/dtl/Diff3.hpp: In member function ‘bool dtl::Diff3::merge()’: /usr/include/dtl/Diff3.hpp:84:25: error: request for member ‘getEditDistance’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_ba’, which is of non-class type ‘int’ 84 | if (diff_ba.getEditDistance() == 0) { // A == B | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp:85:29: error: request for member ‘getEditDistance’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_bc’, which is of non-class type ‘int’ 85 | if (diff_bc.getEditDistance() == 0) { // A == B == C | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp:92:29: error: request for member ‘getEditDistance’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_bc’, which is of non-class type ‘int’ 92 | if (diff_bc.getEditDistance() == 0) { // A != B == C | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp: In member function ‘void dtl::Diff3::compose()’: /usr/include/dtl/Diff3.hpp:109:21: error: request for member ‘compose’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_ba’, which is of non-class type ‘int’ 109 | diff_ba.compose(); | ^~~~~~~ /usr/include/dtl/Diff3.hpp:110:21: error: request for member ‘compose’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_bc’, which is of non-class type ‘int’ 110 | diff_bc.compose(); | ^~~~~~~ /usr/include/dtl/Diff3.hpp: In member function ‘sequence dtl::Diff3::merge_()’: /usr/include/dtl/Diff3.hpp:118:13: error: ‘elemVec’ was not declared in this scope; did you mean ‘elem’? 118 | elemVec seq; | ^~~~~~~ | elem /usr/include/dtl/Diff3.hpp:119:13: error: ‘Ses’ was not declared in this scope 119 | Ses< elem > ses_ba = diff_ba.getSes(); | ^~~ /usr/include/dtl/Diff3.hpp:119:23: error: expected primary-expression before ‘>’ token 119 | Ses< elem > ses_ba = diff_ba.getSes(); | ^ /usr/include/dtl/Diff3.hpp:119:29: error: ‘ses_ba’ was not declared in this scope 119 | Ses< elem > ses_ba = diff_ba.getSes(); | ^~~~~~ /usr/include/dtl/Diff3.hpp:119:48: error: request for member ‘getSes’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_ba’, which is of non-class type ‘int’ 119 | Ses< elem > ses_ba = diff_ba.getSes(); | ^~~~~~ /usr/include/dtl/Diff3.hpp:120:23: error: expected primary-expression before ‘>’ token 120 | Ses< elem > ses_bc = diff_bc.getSes(); | ^ /usr/include/dtl/Diff3.hpp:120:29: error: ‘ses_bc’ was not declared in this scope 120 | Ses< elem > ses_bc = diff_bc.getSes(); | ^~~~~~ /usr/include/dtl/Diff3.hpp:120:48: error: request for member ‘getSes’ in ‘((dtl::Diff3*)this)->dtl::Diff3::diff_bc’, which is of non-class type ‘int’ 120 | Ses< elem > ses_bc = diff_bc.getSes(); | ^~~~~~ /usr/include/dtl/Diff3.hpp:121:13: error: ‘sesElemVec’ was not declared in this scope 121 | sesElemVec ses_ba_v = ses_ba.getSequence(); | ^~~~~~~~~~ /usr/include/dtl/Diff3.hpp:122:29: error: expected ‘;’ before ‘ses_bc_v’ 122 | sesElemVec ses_bc_v = ses_bc.getSequence(); | ^~~~~~~~ /usr/include/dtl/Diff3.hpp:123:13: error: ‘sesElemVec_iter’ was not declared in this scope 123 | sesElemVec_iter ba_it = ses_ba_v.begin(); | ^~~~~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp:124:29: error: expected ‘;’ before ‘bc_it’ 124 | sesElemVec_iter bc_it = ses_bc_v.begin(); | ^~~~~ /usr/include/dtl/Diff3.hpp:125:29: error: expected ‘;’ before ‘ba_end’ 125 | sesElemVec_iter ba_end = ses_ba_v.end(); | ^~~~~~ /usr/include/dtl/Diff3.hpp:126:29: error: expected ‘;’ before ‘bc_end’ 126 | sesElemVec_iter bc_end = ses_bc_v.end(); | ^~~~~~ /usr/include/dtl/Diff3.hpp:128:27: error: ‘ba_end’ was not declared in this scope 128 | while (!isEnd(ba_end, ba_it) || !isEnd(bc_end, bc_it)) { | ^~~~~~ /usr/include/dtl/Diff3.hpp:128:35: error: ‘ba_it’ was not declared in this scope 128 | while (!isEnd(ba_end, ba_it) || !isEnd(bc_end, bc_it)) { | ^~~~~ /usr/include/dtl/Diff3.hpp:128:52: error: ‘bc_end’ was not declared in this scope 128 | while (!isEnd(ba_end, ba_it) || !isEnd(bc_end, bc_it)) { | ^~~~~~ /usr/include/dtl/Diff3.hpp:128:60: error: ‘bc_it’ was not declared in this scope 128 | while (!isEnd(ba_end, ba_it) || !isEnd(bc_end, bc_it)) { | ^~~~~ /usr/include/dtl/Diff3.hpp:133:47: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 133 | ba_it->second.type == SES_COMMON && | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff3.hpp:139:53: error: ‘seq’ was not declared in this scope 139 | if (!isEnd(ba_end, ba_it)) seq.push_back(ba_it->first); | ^~~ /usr/include/dtl/Diff3.hpp:140:53: error: ‘seq’ was not declared in this scope 140 | else if (!isEnd(bc_end, bc_it)) seq.push_back(bc_it->first); | ^~~ /usr/include/dtl/Diff3.hpp:145:46: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 145 | if ( ba_it->second.type == SES_COMMON | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Diff3.hpp:146:49: error: ‘SES_DELETE’ was not declared in this scope 146 | && bc_it->second.type == SES_DELETE) { | ^~~~~~~~~~ /usr/include/dtl/Diff3.hpp:150:50: error: ‘SES_ADD’ was not declared in this scope 150 | bc_it->second.type == SES_ADD) { | ^~~~~~~ /usr/include/dtl/Diff3.hpp:151:21: error: ‘seq’ was not declared in this scope 151 | seq.push_back(bc_it->first); | ^~~ /usr/include/dtl/Diff3.hpp:174:21: error: ‘seq’ was not declared in this scope 174 | seq.push_back(ba_it->first); | ^~~ /usr/include/dtl/Diff3.hpp:184:25: error: ‘seq’ was not declared in this scope 184 | seq.push_back(ba_it->first); | ^~~ /usr/include/dtl/Diff3.hpp:195:23: error: ‘ba_end’ was not declared in this scope 195 | if (isEnd(ba_end, ba_it)) { | ^~~~~~ /usr/include/dtl/Diff3.hpp:195:31: error: ‘ba_it’ was not declared in this scope 195 | if (isEnd(ba_end, ba_it)) { | ^~~~~ /usr/include/dtl/Diff3.hpp:196:35: error: ‘bc_end’ was not declared in this scope 196 | addDecentSequence(bc_end, bc_it, seq); | ^~~~~~ /usr/include/dtl/Diff3.hpp:196:43: error: ‘bc_it’ was not declared in this scope 196 | addDecentSequence(bc_end, bc_it, seq); | ^~~~~ /usr/include/dtl/Diff3.hpp:196:50: error: ‘seq’ was not declared in this scope 196 | addDecentSequence(bc_end, bc_it, seq); | ^~~ /usr/include/dtl/Diff3.hpp:197:30: error: ‘bc_end’ was not declared in this scope 197 | } else if (isEnd(bc_end, bc_it)) { | ^~~~~~ /usr/include/dtl/Diff3.hpp:197:38: error: ‘bc_it’ was not declared in this scope 197 | } else if (isEnd(bc_end, bc_it)) { | ^~~~~ /usr/include/dtl/Diff3.hpp:198:50: error: ‘seq’ was not declared in this scope 198 | addDecentSequence(ba_end, ba_it, seq); | ^~~ /usr/include/dtl/Diff3.hpp:201:32: error: ‘seq’ was not declared in this scope 201 | sequence mergedSeq(seq.begin(), seq.end()); | ^~~ /usr/include/dtl/Diff3.hpp: In member function ‘void dtl::Diff3::joinElemVec(int&, int&) const’: /usr/include/dtl/Diff3.hpp:209:21: error: request for member ‘empty’ in ‘s2’, which is of non-class type ‘int’ 209 | if (!s2.empty()) { | ^~~~~ /usr/include/dtl/Diff3.hpp:210:22: error: ‘elemVec_iter’ was not declared in this scope 210 | for (elemVec_iter vit=s2.begin();vit!=s2.end();++vit) { | ^~~~~~~~~~~~ /usr/include/dtl/Diff3.hpp:210:50: error: ‘vit’ was not declared in this scope 210 | for (elemVec_iter vit=s2.begin();vit!=s2.end();++vit) { | ^~~ /usr/include/dtl/Diff3.hpp:210:58: error: request for member ‘end’ in ‘s2’, which is of non-class type ‘int’ 210 | for (elemVec_iter vit=s2.begin();vit!=s2.end();++vit) { | ^~~ /usr/include/dtl/Diff3.hpp:211:24: error: request for member ‘push_back’ in ‘s1’, which is of non-class type ‘int’ 211 | s1.push_back(*vit); | ^~~~~~~~~ /usr/include/dtl/Diff3.hpp: In member function ‘void dtl::Diff3::addDecentSequence(const int&, int&, int&) const’: /usr/include/dtl/Diff3.hpp:237:23: error: base operand of ‘->’ is not a pointer 237 | if (it->second.type == SES_ADD) seq.push_back(it->first); | ^~ /usr/include/dtl/Diff3.hpp:237:40: error: ‘SES_ADD’ was not declared in this scope 237 | if (it->second.type == SES_ADD) seq.push_back(it->first); | ^~~~~~~ /usr/include/dtl/Diff3.hpp:237:53: error: request for member ‘push_back’ in ‘seq’, which is of non-class type ‘int’ 237 | if (it->second.type == SES_ADD) seq.push_back(it->first); | ^~~~~~~~~ /usr/include/dtl/Diff3.hpp:237:65: error: base operand of ‘->’ is not a pointer 237 | if (it->second.type == SES_ADD) seq.push_back(it->first); | ^~ In file included from /tmp/SI1qY4AsBR/dump1.h:16: /usr/include/dtl/Lcs.hpp: At global scope: /usr/include/dtl/Lcs.hpp:47:32: error: expected template-name before ‘<’ token 47 | class Lcs : public Sequence< elem > | ^ /usr/include/dtl/Lcs.hpp:47:32: error: expected ‘{’ before ‘<’ token In file included from /tmp/SI1qY4AsBR/dump1.h:17: /usr/include/dtl/Sequence.hpp:50:17: error: ‘vector’ does not name a type 50 | typedef vector< elem > elemVec; | ^~~~~~ /usr/include/dtl/Sequence.hpp:54:9: error: ‘elemVec’ does not name a type; did you mean ‘elem’? 54 | elemVec getSequence () const { | ^~~~~~~ | elem /usr/include/dtl/Sequence.hpp:61:9: error: ‘elemVec’ does not name a type; did you mean ‘elem’? 61 | elemVec sequence; | ^~~~~~~ | elem /usr/include/dtl/Sequence.hpp: In member function ‘void dtl::Sequence::addSequence(elem)’: /usr/include/dtl/Sequence.hpp:58:13: error: ‘sequence’ was not declared in this scope; did you mean ‘Sequence’? 58 | sequence.push_back(e); | ^~~~~~~~ | Sequence In file included from /tmp/SI1qY4AsBR/dump1.h:18: /usr/include/dtl/Ses.hpp: At global scope: /usr/include/dtl/Ses.hpp:50:17: error: ‘pair’ does not name a type 50 | typedef pair< elem, elemInfo > sesElem; | ^~~~ /usr/include/dtl/Ses.hpp:51:17: error: ‘vector’ does not name a type 51 | typedef vector< sesElem > sesElemVec; | ^~~~~~ /usr/include/dtl/Ses.hpp:83:82: error: ‘edit_t’ does not name a type; did you mean ‘ldiv_t’? 83 | void addSequence (elem e, long long beforeIdx, long long afterIdx, const edit_t type) { | ^~~~~~ | ldiv_t /usr/include/dtl/Ses.hpp:119:9: error: ‘sesElemVec’ does not name a type 119 | sesElemVec getSequence () const { | ^~~~~~~~~~ /usr/include/dtl/Ses.hpp:123:9: error: ‘sesElemVec’ does not name a type 123 | sesElemVec sequence; | ^~~~~~~~~~ /usr/include/dtl/Ses.hpp: In member function ‘void dtl::Ses::addSequence(elem, long long int, long long int, int)’: /usr/include/dtl/Ses.hpp:84:13: error: ‘elemInfo’ was not declared in this scope 84 | elemInfo info; | ^~~~~~~~ /usr/include/dtl/Ses.hpp:85:13: error: ‘info’ was not declared in this scope 85 | info.beforeIdx = beforeIdx; | ^~~~ /usr/include/dtl/Ses.hpp:88:13: error: ‘sesElem’ was not declared in this scope; did you mean ‘elem’? 88 | sesElem pe(e, info); | ^~~~~~~ | elem /usr/include/dtl/Ses.hpp:90:17: error: ‘sequence’ was not declared in this scope; did you mean ‘Sequence’? 90 | sequence.push_back(pe); | ^~~~~~~~ | Sequence /usr/include/dtl/Ses.hpp:90:36: error: ‘pe’ was not declared in this scope; did you mean ‘e’? 90 | sequence.push_back(pe); | ^~ | e /usr/include/dtl/Ses.hpp:93:18: error: ‘SES_DELETE’ was not declared in this scope 93 | case SES_DELETE: | ^~~~~~~~~~ /usr/include/dtl/Ses.hpp:97:21: error: ‘sequence’ was not declared in this scope; did you mean ‘Sequence’? 97 | sequence.insert(sequence.begin() + nextDeleteIdx, pe); | ^~~~~~~~ | Sequence /usr/include/dtl/Ses.hpp:97:71: error: ‘pe’ was not declared in this scope; did you mean ‘e’? 97 | sequence.insert(sequence.begin() + nextDeleteIdx, pe); | ^~ | e /usr/include/dtl/Ses.hpp:101:18: error: ‘SES_COMMON’ was not declared in this scope; did you mean ‘SES_MARK_COMMON’? 101 | case SES_COMMON: | ^~~~~~~~~~ | SES_MARK_COMMON /usr/include/dtl/Ses.hpp:105:21: error: ‘sequence’ was not declared in this scope; did you mean ‘Sequence’? 105 | sequence.push_back(pe); | ^~~~~~~~ | Sequence /usr/include/dtl/Ses.hpp:105:40: error: ‘pe’ was not declared in this scope; did you mean ‘e’? 105 | sequence.push_back(pe); | ^~ | e /usr/include/dtl/Ses.hpp:109:18: error: ‘SES_ADD’ was not declared in this scope 109 | case SES_ADD: | ^~~~~~~ /usr/include/dtl/Ses.hpp:113:21: error: ‘sequence’ was not declared in this scope; did you mean ‘Sequence’? 113 | sequence.push_back(pe); | ^~~~~~~~ | Sequence /usr/include/dtl/Ses.hpp:113:40: error: ‘pe’ was not declared in this scope; did you mean ‘e’? 113 | sequence.push_back(pe); | ^~ | e