Hi there,
I try to compile the 1.74 tag with your recommendations:
c++ -o jtc -Wall -std=c++14 -Ofast jtc.cpp
it fail. i use gcc version 9.1.0.
complete log cannot be possible due of the github limitations, but it should be relevant for you anyway. If not i can send you the complete log by email.
In file included from lib/Json.hpp:477, from jtc.cpp:9: lib/dbg.hpp: In constructor โDebug::Debug(X&)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:385:41: note: in expansion of macro โDBGโ 385 | template<class X> Debug(X &x) { x.DBG().severity(x); }; | ^~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:385:41: note: in expansion of macro โDBGโ 385 | template<class X> Debug(X &x) { x.DBG().severity(x); }; | ^~~ lib/dbg.hpp:385:46: error: expected primary-expression before โ.โ token 385 | template<class X> Debug(X &x) { x.DBG().severity(x); }; | ^ lib/dbg.hpp: In member function โtypename std::enable_if<__is_dbg_propagatable__<Subclass>(0), void>::type Debug::severity(Subclass&, Rest&& ...)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:422:32: note: in expansion of macro โDBGโ 422 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:422:32: error: expected โ)โ before โifโ 422 | if(&s.DBG() != this) // updating foreign debuggable | ~ ^ | ) lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:422:32: note: in expansion of macro โDBGโ 422 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:422:38: error: expected primary-expression before โ!=โ token 422 | if(&s.DBG() != this) // updating foreign debuggable | ^~ lib/dbg.hpp:423:34: error: expected primary-expression before โ.โ token 423 | s.DBG().severity(severity()+1); // compel s' severity to mine | ^ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:424:48: note: in expansion of macro โDBGโ 424 | s.__dbg_propagate__(s.DBG().severity()); // propagate down s' members | ^~~ lib/dbg.hpp:424:53: error: expected primary-expression before โ.โ token 424 | s.__dbg_propagate__(s.DBG().severity()); // propagate down s' members | ^ lib/dbg.hpp: In member function โtypename std::enable_if<((! __is_dbg_propagatable__<Subclass>(0)) && std::is_class<_Tp>::value), void>::type Debug::severity(Subclass&, Rest&& ...)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:431:32: note: in expansion of macro โDBGโ 431 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:431:32: error: expected โ)โ before โifโ 431 | if(&s.DBG() != this) // updating foreign debuggable | ~ ^ | ) lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:431:32: note: in expansion of macro โDBGโ 431 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:431:38: error: expected primary-expression before โ!=โ token 431 | if(&s.DBG() != this) // updating foreign debuggable | ^~ lib/dbg.hpp:432:34: error: expected primary-expression before โ.โ token 432 | s.DBG().severity(severity()+1); // compel s' severity to mine | ^ lib/dbg.hpp: In member function โtypename std::enable_if<__is_dbg_propagatable__<Subclass>(0), void>::type Debug::increment(Subclass&, Rest&& ...)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:444:32: note: in expansion of macro โDBGโ 444 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:444:32: error: expected โ)โ before โifโ 444 | if(&s.DBG() != this) // updating foreign debuggable | ~ ^ | ) lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:444:32: note: in expansion of macro โDBGโ 444 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:444:38: error: expected primary-expression before โ!=โ token 444 | if(&s.DBG() != this) // updating foreign debuggable | ^~ lib/dbg.hpp:445:34: error: expected primary-expression before โ.โ token 445 | s.DBG().severity(severity()+1); // compel s' severity to mine | ^ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:446:48: note: in expansion of macro โDBGโ 446 | s.__dbg_propagate__(s.DBG().severity()); // propagate down s' members | ^~~ lib/dbg.hpp:446:53: error: expected primary-expression before โ.โ token 446 | s.__dbg_propagate__(s.DBG().severity()); // propagate down s' members | ^ lib/dbg.hpp: In member function โtypename std::enable_if<((! __is_dbg_propagatable__<Subclass>(0)) && std::is_class<_Tp>::value), void>::type Debug::increment(Subclass&, Rest&& ...)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:453:32: note: in expansion of macro โDBGโ 453 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:453:32: error: expected โ)โ before โifโ 453 | if(&s.DBG() != this) // updating foreign debuggable | ~ ^ | ) lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:453:32: note: in expansion of macro โDBGโ 453 | if(&s.DBG() != this) // updating foreign debuggable | ^~~ lib/dbg.hpp:453:38: error: expected primary-expression before โ!=โ token 453 | if(&s.DBG() != this) // updating foreign debuggable | ^~ lib/dbg.hpp:454:34: error: expected primary-expression before โ.โ token 454 | s.DBG().severity(severity()+1); // compel s' severity to mine | ^ lib/Streamstr.hpp: In member function โvoid Streamstr::__dbg_propagate__(int)โ: lib/dbg.hpp:310:38: error: expected primary-expression before โ.โ token 310 | #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(sev + 1, X); | ^ lib/macrolib.h:91:30: note: in expansion of macro โ__DEBUGGABLE_PROPAGATE__โ 91 | #define _XM_01(__macro__, x) __macro__(x) | ^~~~~~~~~ lib/macrolib.h:57:33: note: in expansion of macro โ_XM_01โ 57 | N, ...) N | ^ lib/macrolib.h:211:5: note: in expansion of macro โ__XMACRO_TO_ARGS__โ 211 | __XMACRO_TO_ARGS__(macro_args) | ^~~~~~~~~~~~~~~~~~ lib/macrolib.h:230:5: note: in expansion of macro โ__MACRO_TO_ARGS__โ 230 | __MACRO_TO_ARGS__(macro, ##macro_args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:316:16: note: in expansion of macro โMACRO_TO_ARGSโ 316 | { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##args) } | ^~~~~~~~~~~~~ lib/dbg.hpp:309:39: note: in expansion of macro โ__DEBUGGABLE_true__โ 309 | #define __DEBUGGABLE_IF__(X, args...) __DEBUGGABLE_##X##__(args) | ^~~~~~~~~~~~~ lib/dbg.hpp:308:40: note: in expansion of macro โ__DEBUGGABLE_IF__โ 308 | #define __DEBUGGABLE_ARG__(X, args...) __DEBUGGABLE_IF__(X, args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:307:29: note: in expansion of macro โ__DEBUGGABLE_ARG__โ 307 | #define DEBUGGABLE(args...) __DEBUGGABLE_ARG__(IF_ARGS(args), args) | ^~~~~~~~~~~~~~~~~~ lib/Streamstr.hpp:122:5: note: in expansion of macro โDEBUGGABLEโ 122 | DEBUGGABLE() | ^~~~~~~~~~ lib/dbg.hpp:310:66: error: expected primary-expression before โ)โ token 310 | #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(sev + 1, X); | ^ lib/macrolib.h:91:30: note: in expansion of macro โ__DEBUGGABLE_PROPAGATE__โ 91 | #define _XM_01(__macro__, x) __macro__(x) | ^~~~~~~~~ lib/macrolib.h:57:33: note: in expansion of macro โ_XM_01โ 57 | N, ...) N | ^ lib/macrolib.h:211:5: note: in expansion of macro โ__XMACRO_TO_ARGS__โ 211 | __XMACRO_TO_ARGS__(macro_args) | ^~~~~~~~~~~~~~~~~~ lib/macrolib.h:230:5: note: in expansion of macro โ__MACRO_TO_ARGS__โ 230 | __MACRO_TO_ARGS__(macro, ##macro_args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:316:16: note: in expansion of macro โMACRO_TO_ARGSโ 316 | { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##args) } | ^~~~~~~~~~~~~ lib/dbg.hpp:309:39: note: in expansion of macro โ__DEBUGGABLE_true__โ 309 | #define __DEBUGGABLE_IF__(X, args...) __DEBUGGABLE_##X##__(args) | ^~~~~~~~~~~~~ lib/dbg.hpp:308:40: note: in expansion of macro โ__DEBUGGABLE_IF__โ 308 | #define __DEBUGGABLE_ARG__(X, args...) __DEBUGGABLE_IF__(X, args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:307:29: note: in expansion of macro โ__DEBUGGABLE_ARG__โ 307 | #define DEBUGGABLE(args...) __DEBUGGABLE_ARG__(IF_ARGS(args), args) | ^~~~~~~~~~~~~~~~~~ lib/Streamstr.hpp:122:5: note: in expansion of macro โDEBUGGABLEโ 122 | DEBUGGABLE() | ^~~~~~~~~~ lib/Streamstr.hpp: In member function โvoid Streamstr::ss_init_(Streamstr::const_iterator&)โ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:225:9: note: in expansion of macro โDOUTโ 225 | DBG(0) DOUT() << "initializing: " << ENUMS(Streamstr::Strmod, mod_) << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:225:9: note: in expansion of macro โDOUTโ 225 | DBG(0) DOUT() << "initializing: " << ENUMS(Streamstr::Strmod, mod_) << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:225:9: note: in expansion of macro โDOUTโ 225 | DBG(0) DOUT() << "initializing: " << ENUMS(Streamstr::Strmod, mod_) << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:225:9: note: in expansion of macro โDOUTโ 225 | DBG(0) DOUT() << "initializing: " << ENUMS(Streamstr::Strmod, mod_) << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:225:9: note: in expansion of macro โDOUTโ 225 | DBG(0) DOUT() << "initializing: " << ENUMS(Streamstr::Strmod, mod_) << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:225:9: note: in expansion of macro โDOUTโ 225 | DBG(0) DOUT() << "initializing: " << ENUMS(Streamstr::Strmod, mod_) << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:262:9: note: in expansion of macro โDOUTโ 262 | DBG(0) DOUT() << "read file: " << (is_buffered_cin()? "<stdin>":filename()) | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:262:9: note: in expansion of macro โDOUTโ 262 | DBG(0) DOUT() << "read file: " << (is_buffered_cin()? "<stdin>":filename()) | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:262:9: note: in expansion of macro โDOUTโ 262 | DBG(0) DOUT() << "read file: " << (is_buffered_cin()? "<stdin>":filename()) | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:262:9: note: in expansion of macro โDOUTโ 262 | DBG(0) DOUT() << "read file: " << (is_buffered_cin()? "<stdin>":filename()) | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Streamstr.hpp:262:9: note: in expansion of macro โDOUTโ 262 | DBG(0) DOUT() << "read file: " << (is_buffered_cin()? "<stdin>":filename()) | ^~~~ lib/Json.hpp: In member function โJson& Json::parse(std::string, Json::ParseTrailing)โ: lib/dbg.hpp:332:15: error: no match for call to โ(Debug) ()โ 332 | if( __dbg__(X) ) \ | ^ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/Json.hpp:1462:26: note: in expansion of macro โDBGโ 1462 | DBG().severity(tmp); | ^~~ lib/dbg.hpp:509:6: note: candidate: โbool Debug::operator()(short int, const char*) constโ 509 | bool Debug::operator()(short d, const char * fn) const { | ^~~~~ lib/dbg.hpp:509:6: note: candidate expects 2 arguments, 0 provided lib/dbg.hpp:334:20: error: expected primary-expression before โ,โ token 334 | if( __dbg__(X, __func__) ); // now print the prompt | ^ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/Json.hpp:1462:26: note: in expansion of macro โDBGโ 1462 | DBG().severity(tmp); | ^~~ In file included from jtc.cpp:9: lib/Json.hpp:1462:31: error: expected primary-expression before โ.โ token 1462 | DBG().severity(tmp); | ^ In file included from lib/Json.hpp:477, from jtc.cpp:9: lib/Json.hpp: In member function โvoid Json::__dbg_propagate__(int)โ: lib/dbg.hpp:310:38: error: expected primary-expression before โ.โ token 310 | #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(sev + 1, X); | ^ lib/macrolib.h:91:30: note: in expansion of macro โ__DEBUGGABLE_PROPAGATE__โ 91 | #define _XM_01(__macro__, x) __macro__(x) | ^~~~~~~~~ lib/macrolib.h:57:33: note: in expansion of macro โ_XM_01โ 57 | N, ...) N | ^ lib/macrolib.h:211:5: note: in expansion of macro โ__XMACRO_TO_ARGS__โ 211 | __XMACRO_TO_ARGS__(macro_args) | ^~~~~~~~~~~~~~~~~~ lib/macrolib.h:230:5: note: in expansion of macro โ__MACRO_TO_ARGS__โ 230 | __MACRO_TO_ARGS__(macro, ##macro_args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:316:16: note: in expansion of macro โMACRO_TO_ARGSโ 316 | { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##args) } | ^~~~~~~~~~~~~ lib/dbg.hpp:309:39: note: in expansion of macro โ__DEBUGGABLE_true__โ 309 | #define __DEBUGGABLE_IF__(X, args...) __DEBUGGABLE_##X##__(args) | ^~~~~~~~~~~~~ lib/dbg.hpp:308:40: note: in expansion of macro โ__DEBUGGABLE_IF__โ 308 | #define __DEBUGGABLE_ARG__(X, args...) __DEBUGGABLE_IF__(X, args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:307:29: note: in expansion of macro โ__DEBUGGABLE_ARG__โ 307 | #define DEBUGGABLE(args...) __DEBUGGABLE_ARG__(IF_ARGS(args), args) | ^~~~~~~~~~~~~~~~~~ lib/Json.hpp:1562:5: note: in expansion of macro โDEBUGGABLEโ 1562 | DEBUGGABLE() | ^~~~~~~~~~ lib/dbg.hpp:310:66: error: expected primary-expression before โ)โ token 310 | #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(sev + 1, X); | ^ lib/macrolib.h:91:30: note: in expansion of macro โ__DEBUGGABLE_PROPAGATE__โ 91 | #define _XM_01(__macro__, x) __macro__(x) | ^~~~~~~~~ lib/macrolib.h:57:33: note: in expansion of macro โ_XM_01โ 57 | N, ...) N | ^ lib/macrolib.h:211:5: note: in expansion of macro โ__XMACRO_TO_ARGS__โ 211 | __XMACRO_TO_ARGS__(macro_args) | ^~~~~~~~~~~~~~~~~~ lib/macrolib.h:230:5: note: in expansion of macro โ__MACRO_TO_ARGS__โ 230 | __MACRO_TO_ARGS__(macro, ##macro_args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:316:16: note: in expansion of macro โMACRO_TO_ARGSโ 316 | { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##args) } | ^~~~~~~~~~~~~ lib/dbg.hpp:309:39: note: in expansion of macro โ__DEBUGGABLE_true__โ 309 | #define __DEBUGGABLE_IF__(X, args...) __DEBUGGABLE_##X##__(args) | ^~~~~~~~~~~~~ lib/dbg.hpp:308:40: note: in expansion of macro โ__DEBUGGABLE_IF__โ 308 | #define __DEBUGGABLE_ARG__(X, args...) __DEBUGGABLE_IF__(X, args) | ^~~~~~~~~~~~~~~~~ lib/dbg.hpp:307:29: note: in expansion of macro โ__DEBUGGABLE_ARG__โ 307 | #define DEBUGGABLE(args...) __DEBUGGABLE_ARG__(IF_ARGS(args), args) | ^~~~~~~~~~~~~~~~~~ lib/Json.hpp:1562:5: note: in expansion of macro โDEBUGGABLEโ 1562 | DEBUGGABLE() | ^~~~~~~~~~ lib/Json.hpp: In member function โJson& Json::parse(Streamstr::const_iterator&, Json::ParseTrailing)โ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2365:9: note: in expansion of macro โDOUTโ 2365 | DBG(1) DOUT() << "finished parsing json" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2365:9: note: in expansion of macro โDOUTโ 2365 | DBG(1) DOUT() << "finished parsing json" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2365:9: note: in expansion of macro โDOUTโ 2365 | DBG(1) DOUT() << "finished parsing json" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2365:9: note: in expansion of macro โDOUTโ 2365 | DBG(1) DOUT() << "finished parsing json" << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2365:9: note: in expansion of macro โDOUTโ 2365 | DBG(1) DOUT() << "finished parsing json" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2365:9: note: in expansion of macro โDOUTโ 2365 | DBG(1) DOUT() << "finished parsing json" << std::endl; | ^~~~ lib/Json.hpp: In member function โvoid Json::parse_(Jnode&, Streamstr::const_iterator&)โ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2405:3: note: in expansion of macro โDOUTโ 2405 | DOUT() << (jsp.is_streamed()? std::string(""): pfx + " ->") | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2405:3: note: in expansion of macro โDOUTโ 2405 | DOUT() << (jsp.is_streamed()? std::string(""): pfx + " ->") | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2405:3: note: in expansion of macro โDOUTโ 2405 | DOUT() << (jsp.is_streamed()? std::string(""): pfx + " ->") | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2405:3: note: in expansion of macro โDOUTโ 2405 | DOUT() << (jsp.is_streamed()? std::string(""): pfx + " ->") | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2405:3: note: in expansion of macro โDOUTโ 2405 | DOUT() << (jsp.is_streamed()? std::string(""): pfx + " ->") | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2405:3: note: in expansion of macro โDOUTโ 2405 | DOUT() << (jsp.is_streamed()? std::string(""): pfx + " ->") | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2410:11: note: in expansion of macro โDOUTโ 2410 | DBG(5) { DOUT() << "classified as: " << ENUMS(Jnode::Jtype, node.type()) << std::endl; } | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2410:11: note: in expansion of macro โDOUTโ 2410 | DBG(5) { DOUT() << "classified as: " << ENUMS(Jnode::Jtype, node.type()) << std::endl; } | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2410:11: note: in expansion of macro โDOUTโ 2410 | DBG(5) { DOUT() << "classified as: " << ENUMS(Jnode::Jtype, node.type()) << std::endl; } | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2410:11: note: in expansion of macro โDOUTโ 2410 | DBG(5) { DOUT() << "classified as: " << ENUMS(Jnode::Jtype, node.type()) << std::endl; } | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2410:11: note: in expansion of macro โDOUTโ 2410 | DBG(5) { DOUT() << "classified as: " << ENUMS(Jnode::Jtype, node.type()) << std::endl; } | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2410:11: note: in expansion of macro โDOUTโ 2410 | DBG(5) { DOUT() << "classified as: " << ENUMS(Jnode::Jtype, node.type()) << std::endl; } | ^~~~ lib/Json.hpp: In static member function โstatic Jnode::Jtype Json::json_number_definition(std::__cxx11::basic_string<char>::const_iterator&)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/Json.hpp:2544:5: note: in expansion of macro โDBGโ 2544 | ss.DBG().severity(NDBG); | ^~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/Json.hpp:2544:5: note: in expansion of macro โDBGโ 2544 | ss.DBG().severity(NDBG); | ^~~ In file included from jtc.cpp:9: lib/Json.hpp:2544:10: error: expected primary-expression before โ.โ token 2544 | ss.DBG().severity(NDBG); | ^ In file included from lib/Json.hpp:477, from jtc.cpp:9: lib/Json.hpp: In member function โJson::iterator Json::walk(const string&, Json::CacheState)โ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2698:9: note: in expansion of macro โDOUTโ 2698 | DBG(0) DOUT() << "walk string: '" << wstr << "'" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2698:9: note: in expansion of macro โDOUTโ 2698 | DBG(0) DOUT() << "walk string: '" << wstr << "'" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2698:9: note: in expansion of macro โDOUTโ 2698 | DBG(0) DOUT() << "walk string: '" << wstr << "'" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2698:9: note: in expansion of macro โDOUTโ 2698 | DBG(0) DOUT() << "walk string: '" << wstr << "'" << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2698:9: note: in expansion of macro โDOUTโ 2698 | DBG(0) DOUT() << "walk string: '" << wstr << "'" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2698:9: note: in expansion of macro โDOUTโ 2698 | DBG(0) DOUT() << "walk string: '" << wstr << "'" << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2704:9: note: in expansion of macro โDOUTโ 2704 | DBG(0) DOUT() << "dump of completed lexemes:" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2704:9: note: in expansion of macro โDOUTโ 2704 | DBG(0) DOUT() << "dump of completed lexemes:" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2704:9: note: in expansion of macro โDOUTโ 2704 | DBG(0) DOUT() << "dump of completed lexemes:" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2704:9: note: in expansion of macro โDOUTโ 2704 | DBG(0) DOUT() << "dump of completed lexemes:" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2704:9: note: in expansion of macro โDOUTโ 2704 | DBG(0) DOUT() << "dump of completed lexemes:" << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2706:10: note: in expansion of macro โDOUTโ 2706 | DBG(0) DOUT() << '[' << i << "]: " << it.walk_path_()[i] << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2706:10: note: in expansion of macro โDOUTโ 2706 | DBG(0) DOUT() << '[' << i << "]: " << it.walk_path_()[i] << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2706:10: note: in expansion of macro โDOUTโ 2706 | DBG(0) DOUT() << '[' << i << "]: " << it.walk_path_()[i] << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2706:10: note: in expansion of macro โDOUTโ 2706 | DBG(0) DOUT() << '[' << i << "]: " << it.walk_path_()[i] << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2706:10: note: in expansion of macro โDOUTโ 2706 | DBG(0) DOUT() << '[' << i << "]: " << it.walk_path_()[i] << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2710:10: note: in expansion of macro โDOUTโ 2710 | DBG(0) DOUT() << "invalidated search cache" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2710:10: note: in expansion of macro โDOUTโ 2710 | DBG(0) DOUT() << "invalidated search cache" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2710:10: note: in expansion of macro โDOUTโ 2710 | DBG(0) DOUT() << "invalidated search cache" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2710:10: note: in expansion of macro โDOUTโ 2710 | DBG(0) DOUT() << "invalidated search cache" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2710:10: note: in expansion of macro โDOUTโ 2710 | DBG(0) DOUT() << "invalidated search cache" << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2715:10: note: in expansion of macro โDOUTโ 2715 | DBG(0) DOUT() << "initial walk: successful match" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2715:10: note: in expansion of macro โDOUTโ 2715 | DBG(0) DOUT() << "initial walk: successful match" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2715:10: note: in expansion of macro โDOUTโ 2715 | DBG(0) DOUT() << "initial walk: successful match" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2715:10: note: in expansion of macro โDOUTโ 2715 | DBG(0) DOUT() << "initial walk: successful match" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2715:10: note: in expansion of macro โDOUTโ 2715 | DBG(0) DOUT() << "initial walk: successful match" << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2720:9: note: in expansion of macro โDOUTโ 2720 | DBG(0) DOUT() << "initial walk requires iteration" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2720:9: note: in expansion of macro โDOUTโ 2720 | DBG(0) DOUT() << "initial walk requires iteration" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2720:9: note: in expansion of macro โDOUTโ 2720 | DBG(0) DOUT() << "initial walk requires iteration" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2720:9: note: in expansion of macro โDOUTโ 2720 | DBG(0) DOUT() << "initial walk requires iteration" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2720:9: note: in expansion of macro โDOUTโ 2720 | DBG(0) DOUT() << "initial walk requires iteration" << std::endl; | ^~~~ lib/Json.hpp: In member function โvoid Json::parse_lexemes_(const string&, Json::iterator&) constโ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2781:4: note: in expansion of macro โDOUTโ 2781 | DOUT() << "walked string: " << wstr << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2781:4: note: in expansion of macro โDOUTโ 2781 | DOUT() << "walked string: " << wstr << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2781:4: note: in expansion of macro โDOUTโ 2781 | DOUT() << "walked string: " << wstr << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2781:4: note: in expansion of macro โDOUTโ 2781 | DOUT() << "walked string: " << wstr << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2781:4: note: in expansion of macro โDOUTโ 2781 | DOUT() << "walked string: " << wstr << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2781:4: note: in expansion of macro โDOUTโ 2781 | DOUT() << "walked string: " << wstr << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2782:4: note: in expansion of macro โDOUTโ 2782 | DOUT() << DBG_PROMPT(1) << "parsing here: " | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2782:4: note: in expansion of macro โDOUTโ 2782 | DOUT() << DBG_PROMPT(1) << "parsing here: " | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2782:4: note: in expansion of macro โDOUTโ 2782 | DOUT() << DBG_PROMPT(1) << "parsing here: " | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2782:4: note: in expansion of macro โDOUTโ 2782 | DOUT() << DBG_PROMPT(1) << "parsing here: " | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2782:4: note: in expansion of macro โDOUTโ 2782 | DOUT() << DBG_PROMPT(1) << "parsing here: " | ^~~~ lib/dbg.hpp:364:28: error: expected primary-expression before โ.โ token 364 | #define DBG_PROMPT(X) DBG().prompt(__func__, X+1) | ^ lib/Json.hpp:2782:14: note: in expansion of macro โDBG_PROMPTโ 2782 | DOUT() << DBG_PROMPT(1) << "parsing here: " | ^~~~~~~~~~ lib/Json.hpp: In member function โstd::string Json::extract_lexeme_(std::__cxx11::basic_string<char>::const_iterator&, char) constโ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2831:9: note: in expansion of macro โDOUTโ 2831 | DBG(1) DOUT() << "parsed lexeme: " << lexeme << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2831:9: note: in expansion of macro โDOUTโ 2831 | DBG(1) DOUT() << "parsed lexeme: " << lexeme << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2831:9: note: in expansion of macro โDOUTโ 2831 | DBG(1) DOUT() << "parsed lexeme: " << lexeme << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2831:9: note: in expansion of macro โDOUTโ 2831 | DBG(1) DOUT() << "parsed lexeme: " << lexeme << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2831:9: note: in expansion of macro โDOUTโ 2831 | DBG(1) DOUT() << "parsed lexeme: " << lexeme << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2831:9: note: in expansion of macro โDOUTโ 2831 | DBG(1) DOUT() << "parsed lexeme: " << lexeme << std::endl; | ^~~~ lib/Json.hpp: In member function โvoid Json::parse_suffix_(std::__cxx11::basic_string<char>::const_iterator&, Json::iterator&, Json::vec_str&) constโ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2866:10: note: in expansion of macro โDOUTโ 2866 | DBG(1) DOUT() << "search type sfx: " << ENUMS(Jsearch, sfx) << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2866:10: note: in expansion of macro โDOUTโ 2866 | DBG(1) DOUT() << "search type sfx: " << ENUMS(Jsearch, sfx) << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2866:10: note: in expansion of macro โDOUTโ 2866 | DBG(1) DOUT() << "search type sfx: " << ENUMS(Jsearch, sfx) << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2866:10: note: in expansion of macro โDOUTโ 2866 | DBG(1) DOUT() << "search type sfx: " << ENUMS(Jsearch, sfx) << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2866:10: note: in expansion of macro โDOUTโ 2866 | DBG(1) DOUT() << "search type sfx: " << ENUMS(Jsearch, sfx) << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2866:10: note: in expansion of macro โDOUTโ 2866 | DBG(1) DOUT() << "search type sfx: " << ENUMS(Jsearch, sfx) << std::endl; | ^~~~ lib/Json.hpp: In member function โstd::__cxx11::basic_regex<char>::flag_type Json::parse_RE_flags_(std::string&) constโ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2909:12: note: in expansion of macro โDOUTโ 2909 | DBG(1) DOUT() << "RE flag: '" << c_flg[1] << "' is set" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2909:12: note: in expansion of macro โDOUTโ 2909 | DBG(1) DOUT() << "RE flag: '" << c_flg[1] << "' is set" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2909:12: note: in expansion of macro โDOUTโ 2909 | DBG(1) DOUT() << "RE flag: '" << c_flg[1] << "' is set" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2909:12: note: in expansion of macro โDOUTโ 2909 | DBG(1) DOUT() << "RE flag: '" << c_flg[1] << "' is set" << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2909:12: note: in expansion of macro โDOUTโ 2909 | DBG(1) DOUT() << "RE flag: '" << c_flg[1] << "' is set" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2909:12: note: in expansion of macro โDOUTโ 2909 | DBG(1) DOUT() << "RE flag: '" << c_flg[1] << "' is set" << std::endl; | ^~~~ lib/Json.hpp: In member function โvoid Json::parse_quantifier_(std::__cxx11::basic_string<char>::const_iterator&, Json::iterator&) constโ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2955:9: note: in expansion of macro โDOUTโ 2955 | DBG(2) DOUT() << "offset / range: " << back_ws.ofst() << " / " << back_ws.range() << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2955:9: note: in expansion of macro โDOUTโ 2955 | DBG(2) DOUT() << "offset / range: " << back_ws.ofst() << " / " << back_ws.range() << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2955:9: note: in expansion of macro โDOUTโ 2955 | DBG(2) DOUT() << "offset / range: " << back_ws.ofst() << " / " << back_ws.range() << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2955:9: note: in expansion of macro โDOUTโ 2955 | DBG(2) DOUT() << "offset / range: " << back_ws.ofst() << " / " << back_ws.range() << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2955:9: note: in expansion of macro โDOUTโ 2955 | DBG(2) DOUT() << "offset / range: " << back_ws.ofst() << " / " << back_ws.range() << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:2955:9: note: in expansion of macro โDOUTโ 2955 | DBG(2) DOUT() << "offset / range: " << back_ws.ofst() << " / " << back_ws.range() << std::endl; | ^~~~ lib/Json.hpp: In member function โvoid Json::parse_subscript_type_(Json::WalkStep&) constโ: lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3094:9: note: in expansion of macro โDOUTโ 3094 | DBG(2) DOUT() << "partial: " << ws << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3094:9: note: in expansion of macro โDOUTโ 3094 | DBG(2) DOUT() << "partial: " << ws << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3094:9: note: in expansion of macro โDOUTโ 3094 | DBG(2) DOUT() << "partial: " << ws << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3094:9: note: in expansion of macro โDOUTโ 3094 | DBG(2) DOUT() << "partial: " << ws << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3094:9: note: in expansion of macro โDOUTโ 3094 | DBG(2) DOUT() << "partial: " << ws << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3094:9: note: in expansion of macro โDOUTโ 3094 | DBG(2) DOUT() << "partial: " << ws << std::endl; | ^~~~ lib/dbg.hpp:356:29: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3109:9: note: in expansion of macro โDOUTโ 3109 | DBG(2) DOUT() << "offset / range: " << ws.ofst() << " / " << ws.range() << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3109:9: note: in expansion of macro โDOUTโ 3109 | DBG(2) DOUT() << "offset / range: " << ws.ofst() << " / " << ws.range() << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3109:9: note: in expansion of macro โDOUTโ 3109 | DBG(2) DOUT() << "offset / range: " << ws.ofst() << " / " << ws.range() << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3109:9: note: in expansion of macro โDOUTโ 3109 | DBG(2) DOUT() << "offset / range: " << ws.ofst() << " / " << ws.range() << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3109:9: note: in expansion of macro โDOUTโ 3109 | DBG(2) DOUT() << "offset / range: " << ws.ofst() << " / " << ws.range() << std::endl; | ^~~~ lib/Json.hpp: In member function โbool Json::iterator::incremented()โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3165:18: note: in expansion of macro โDOUTโ 3165 | DBG(json(), 2) DOUT(json()) << "path is out of iterations / non-iterable" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3165:18: note: in expansion of macro โDOUTโ 3165 | DBG(json(), 2) DOUT(json()) << "path is out of iterations / non-iterable" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3165:18: note: in expansion of macro โDOUTโ 3165 | DBG(json(), 2) DOUT(json()) << "path is out of iterations / non-iterable" << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3165:18: note: in expansion of macro โDOUTโ 3165 | DBG(json(), 2) DOUT(json()) << "path is out of iterations / non-iterable" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3165:18: note: in expansion of macro โDOUTโ 3165 | DBG(json(), 2) DOUT(json()) << "path is out of iterations / non-iterable" << std::endl; | ^~~~ lib/Json.hpp: In member function โsize_t Json::iterator::walk_()โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3210:33: note: in expansion of macro โDOUTโ 3210 | DBG(json(), 2) show_built_pv_(DOUT(json())); | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3210:33: note: in expansion of macro โDOUTโ 3210 | DBG(json(), 2) show_built_pv_(DOUT(json())); | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3210:33: note: in expansion of macro โDOUTโ 3210 | DBG(json(), 2) show_built_pv_(DOUT(json())); | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3210:33: note: in expansion of macro โDOUTโ 3210 | DBG(json(), 2) show_built_pv_(DOUT(json())); | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3210:33: note: in expansion of macro โDOUTโ 3210 | DBG(json(), 2) show_built_pv_(DOUT(json())); | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3219:5: note: in expansion of macro โDOUTโ 3219 | DOUT(json()) << ENUMS(Json::Jsearch, Json::Forward_itr) << " at [" << i << "], " | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3219:5: note: in expansion of macro โDOUTโ 3219 | DOUT(json()) << ENUMS(Json::Jsearch, Json::Forward_itr) << " at [" << i << "], " | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3219:5: note: in expansion of macro โDOUTโ 3219 | DOUT(json()) << ENUMS(Json::Jsearch, Json::Forward_itr) << " at [" << i << "], " | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3219:5: note: in expansion of macro โDOUTโ 3219 | DOUT(json()) << ENUMS(Json::Jsearch, Json::Forward_itr) << " at [" << i << "], " | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:19: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:19: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:19: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:19: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:19: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:77: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:77: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:77: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3230:77: note: in expansion of macro โDOUTโ 3230 | DBG(json(), 2) { DOUT(json()) << "finished walking: with "; show_built_pv_(DOUT(json())); } | ^~~~ lib/Json.hpp: In member function โvoid Json::iterator::walk_step_(size_t, Jnode*)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3248:17: note: in expansion of macro โDOUTโ 3248 | DBG(json(), 3) DOUT(json()) << "walking step: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3248:17: note: in expansion of macro โDOUTโ 3248 | DBG(json(), 3) DOUT(json()) << "walking step: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3248:17: note: in expansion of macro โDOUTโ 3248 | DBG(json(), 3) DOUT(json()) << "walking step: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3248:17: note: in expansion of macro โDOUTโ 3248 | DBG(json(), 3) DOUT(json()) << "walking step: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3248:17: note: in expansion of macro โDOUTโ 3248 | DBG(json(), 3) DOUT(json()) << "walking step: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3257:24: note: in expansion of macro โDOUTโ 3257 | DBG(json(), 3) DOUT(json()) << "erased namespace: " | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3257:24: note: in expansion of macro โDOUTโ 3257 | DBG(json(), 3) DOUT(json()) << "erased namespace: " | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3257:24: note: in expansion of macro โDOUTโ 3257 | DBG(json(), 3) DOUT(json()) << "erased namespace: " | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3257:24: note: in expansion of macro โDOUTโ 3257 | DBG(json(), 3) DOUT(json()) << "erased namespace: " | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3263:24: note: in expansion of macro โDOUTโ 3263 | DBG(json(), 3) DOUT(json()) << "recorded fail-safe: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3263:24: note: in expansion of macro โDOUTโ 3263 | DBG(json(), 3) DOUT(json()) << "recorded fail-safe: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3263:24: note: in expansion of macro โDOUTโ 3263 | DBG(json(), 3) DOUT(json()) << "recorded fail-safe: [" << wsi << "]" << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3263:24: note: in expansion of macro โDOUTโ 3263 | DBG(json(), 3) DOUT(json()) << "recorded fail-safe: [" << wsi << "]" << std::endl; | ^~~~ lib/Json.hpp: In member function โvoid Json::iterator::walk_numeric_offset_(size_t, Jnode*)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3320:17: note: in expansion of macro โDOUTโ 3320 | DBG(json(), 1) DOUT(json()) << "found cached idx " << offset << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3320:17: note: in expansion of macro โDOUTโ 3320 | DBG(json(), 1) DOUT(json()) << "found cached idx " << offset << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3320:17: note: in expansion of macro โDOUTโ 3320 | DBG(json(), 1) DOUT(json()) << "found cached idx " << offset << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3320:17: note: in expansion of macro โDOUTโ 3320 | DBG(json(), 1) DOUT(json()) << "found cached idx " << offset << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3320:17: note: in expansion of macro โDOUTโ 3320 | DBG(json(), 1) DOUT(json()) << "found cached idx " << offset << std::endl; | ^~~~ lib/Json.hpp: In member function โJson::iter_jn Json::iterator::build_cache_(Jnode*, size_t)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3336:18: note: in expansion of macro โDOUTโ 3336 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3336:18: note: in expansion of macro โDOUTโ 3336 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3336:18: note: in expansion of macro โDOUTโ 3336 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3336:18: note: in expansion of macro โDOUTโ 3336 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3336:18: note: in expansion of macro โDOUTโ 3336 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3356:4: note: in expansion of macro โDOUTโ 3356 | DOUT(json()) << "built cache size: " << found_cache->VALUE.front().pv.size() | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3356:4: note: in expansion of macro โDOUTโ 3356 | DOUT(json()) << "built cache size: " << found_cache->VALUE.front().pv.size() | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3356:4: note: in expansion of macro โDOUTโ 3356 | DOUT(json()) << "built cache size: " << found_cache->VALUE.front().pv.size() | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3356:4: note: in expansion of macro โDOUTโ 3356 | DOUT(json()) << "built cache size: " << found_cache->VALUE.front().pv.size() | ^~~~ lib/Json.hpp: In member function โvoid Json::iterator::walk_search_(size_t, Jnode*)โ: lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3420:18: note: in expansion of macro โDOUTโ 3420 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3420:18: note: in expansion of macro โDOUTโ 3420 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3420:18: note: in expansion of macro โDOUTโ 3420 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3420:18: note: in expansion of macro โDOUTโ 3420 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3420:18: note: in expansion of macro โDOUTโ 3420 | DBG(json(), 1) DOUT(json()) << "building cache for [" << wsi << "] " << skey << std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3425:4: note: in expansion of macro โDOUTโ 3425 | DOUT(json()) << "built cache size: " << found_cache->VALUE.size() << ", cache status: " | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3425:4: note: in expansion of macro โDOUTโ 3425 | DOUT(json()) << "built cache size: " << found_cache->VALUE.size() << ", cache status: " | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3425:4: note: in expansion of macro โDOUTโ 3425 | DOUT(json()) << "built cache size: " << found_cache->VALUE.size() << ", cache status: " | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3425:4: note: in expansion of macro โDOUTโ 3425 | DOUT(json()) << "built cache size: " << found_cache->VALUE.size() << ", cache status: " | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3431:18: note: in expansion of macro โDOUTโ 3431 | DBG(json(), 1) DOUT(json()) << "no cached instance found"<< std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected โ)โ before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3431:18: note: in expansion of macro โDOUTโ 3431 | DBG(json(), 1) DOUT(json()) << "no cached instance found"<< std::endl; | ^~~~ lib/dbg.hpp:356:27: note: to match this โ(โ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3431:18: note: in expansion of macro โDOUTโ 3431 | DBG(json(), 1) DOUT(json()) << "no cached instance found"<< std::endl; | ^~~~ lib/dbg.hpp:333:63: error: โmgardโ was not declared in this scope 333 | for(std::unique_lock<std::mutex> mgard(__dbg__.mutex()); mgard.owns_lock(); mgard.unlock()) \ | ^~~~~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ lib/dbg.hpp:341:5: note: in expansion of macro โ__DBG_4TH_ARG__โ 341 | __DBG_4TH_ARG__(dummy, ##args, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:342:22: note: in expansion of macro โ__DBG_CHOOSER__โ 342 | #define DBG(args...) __DBG_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~ lib/dbg.hpp:356:30: note: in expansion of macro โDBGโ 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3431:18: note: in expansion of macro โDOUTโ 3431 | DBG(json(), 1) DOUT(json()) << "no cached instance found"<< std::endl; | ^~~~ lib/dbg.hpp:356:35: error: expected primary-expression before โ.โ token 356 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ lib/dbg.hpp:357:49: note: in expansion of macro โ__DOUT_1_ARG__โ 357 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ lib/dbg.hpp:359:5: note: in expansion of macro โ__DOUT_3RD_ARG__โ 359 | __DOUT_3RD_ARG__(dummy, ##args, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ lib/dbg.hpp:360:23: note: in expansion of macro โ__DOUT_CHOOSER__โ 360 | #define DOUT(args...) __DOUT_CHOOSER__(args)(args) | ^~~~~~~~~~~~~~~~ lib/Json.hpp:3431:18: note: in expansion of macro โDOUTโ 3431 | DBG(json(), 1) DOUT(json()) << "no cached instance found"<< std::endl; | ^~~~ lib/dbg.hpp:332:2: error: expected unqualified-id before โifโ 332 | if( __dbg__(X) ) \ | ^~ lib/dbg.hpp:339:54: note: in expansion of macro โ__DBG_1_ARG__โ 339 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4
Best Regards