------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> jtc-1.76 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> jtc-1.76 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by jtc-1.76 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> jtc-1.76 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by jtc-1.76 for building => SHA256 Checksum OK for ldn-softdev-jtc-1.76_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> jtc-1.76 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by jtc-1.76 for building ===> Extracting for jtc-1.76 => SHA256 Checksum OK for ldn-softdev-jtc-1.76_GH0.tar.gz. Extracted Memory Use: 0.87M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for jtc-1.76 ===> Applying ports patches for jtc-1.76 from /xports/textproc/jtc/files SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> Configuring for jtc-1.76 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for jtc-1.76 c++ -pipe -O2 -fno-strict-aliasing -std=c++14 -lexecinfo -lpthread /construction/textproc/jtc/jtc-1.76/jtc.cpp -o /construction/textproc/jtc/jtc-1.76/jtc In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp: In constructor 'Debug::Debug(X&)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:452:41: note: in expansion of macro 'DBG' template Debug(X &x) { x.DBG().severity(x); }; ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:452:41: note: in expansion of macro 'DBG' template Debug(X &x) { x.DBG().severity(x); }; ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:452:41: note: in expansion of macro 'DBG' template Debug(X &x) { x.DBG().severity(x); }; ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp: In member function 'typename std::enable_if<__is_dbg_propagatable__(0), void>::type Debug::severity(Subclass&, Rest&& ...)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:499:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:499:32: error: expected ')' before 'if' if(&s.DBG() != this) // updating foreign debuggable ~ ^ ) In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:499:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:499:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:501:48: note: in expansion of macro 'DBG' s.__dbg_propagate__(s.DBG().severity()); // propagate down s' members ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp: In member function 'typename std::enable_if<((! __is_dbg_propagatable__(0)) && std::is_class<_Tp>::value), void>::type Debug::severity(Subclass&, Rest&& ...)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:508:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:508:32: error: expected ')' before 'if' if(&s.DBG() != this) // updating foreign debuggable ~ ^ ) In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:508:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:508:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp: In member function 'typename std::enable_if<__is_dbg_propagatable__(0), void>::type Debug::increment(Subclass&, Rest&& ...)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:521:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:521:32: error: expected ')' before 'if' if(&s.DBG() != this) // updating foreign debuggable ~ ^ ) In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:521:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:521:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:523:48: note: in expansion of macro 'DBG' s.__dbg_propagate__(s.DBG().severity()); // propagate down s' members ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp: In member function 'typename std::enable_if<((! __is_dbg_propagatable__(0)) && std::is_class<_Tp>::value), void>::type Debug::increment(Subclass&, Rest&& ...)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:530:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:530:32: error: expected ')' before 'if' if(&s.DBG() != this) // updating foreign debuggable ~ ^ ) In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:530:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:530:32: note: in expansion of macro 'DBG' if(&s.DBG() != this) // updating foreign debuggable ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp: In member function 'void Streamstr::__dbg_propagate__(int)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:314:38: error: expected primary-expression before '.' token #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(__sev__ + 1, X); ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:91:30: note: in expansion of macro '__DEBUGGABLE_PROPAGATE__' #define _XM_01(__macro__, x) __macro__(x) ^~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:57:33: note: in expansion of macro '_XM_01' N, ...) N ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:212:5: note: in expansion of macro '__XMACRO_TO_ARGS__' __XMACRO_TO_ARGS__(macro_args) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:231:5: note: in expansion of macro '__MACRO_TO_ARGS__' __MACRO_TO_ARGS__(macro, ##macro_args) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:320:16: note: in expansion of macro 'MACRO_TO_ARGS' { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##ARGS) } ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:313:39: note: in expansion of macro '__DEBUGGABLE_true__' #define __DEBUGGABLE_IF__(X, ARGS...) __DEBUGGABLE_##X##__(ARGS) ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:312:40: note: in expansion of macro '__DEBUGGABLE_IF__' #define __DEBUGGABLE_ARG__(X, ARGS...) __DEBUGGABLE_IF__(X, ARGS) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:311:29: note: in expansion of macro '__DEBUGGABLE_ARG__' #define DEBUGGABLE(ARGS...) __DEBUGGABLE_ARG__(IF_ARGS(ARGS), ARGS) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:157:5: note: in expansion of macro 'DEBUGGABLE' DEBUGGABLE() ^~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:314:70: error: expected primary-expression before ')' token #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(__sev__ + 1, X); ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:91:30: note: in expansion of macro '__DEBUGGABLE_PROPAGATE__' #define _XM_01(__macro__, x) __macro__(x) ^~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:57:33: note: in expansion of macro '_XM_01' N, ...) N ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:212:5: note: in expansion of macro '__XMACRO_TO_ARGS__' __XMACRO_TO_ARGS__(macro_args) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:231:5: note: in expansion of macro '__MACRO_TO_ARGS__' __MACRO_TO_ARGS__(macro, ##macro_args) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:320:16: note: in expansion of macro 'MACRO_TO_ARGS' { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##ARGS) } ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:313:39: note: in expansion of macro '__DEBUGGABLE_true__' #define __DEBUGGABLE_IF__(X, ARGS...) __DEBUGGABLE_##X##__(ARGS) ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:312:40: note: in expansion of macro '__DEBUGGABLE_IF__' #define __DEBUGGABLE_ARG__(X, ARGS...) __DEBUGGABLE_IF__(X, ARGS) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:311:29: note: in expansion of macro '__DEBUGGABLE_ARG__' #define DEBUGGABLE(ARGS...) __DEBUGGABLE_ARG__(IF_ARGS(ARGS), ARGS) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:157:5: note: in expansion of macro 'DEBUGGABLE' DEBUGGABLE() ^~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp: In lambda function: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected primary-expression before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:275:11: note: in expansion of macro 'DBG' if(DBG()(0)) { ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:480, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:275:11: error: expected ')' before 'if' if(DBG()(0)) { ~^ ) In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:275:11: note: in expansion of macro 'DBG' if(DBG()(0)) { ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:275:11: note: in expansion of macro 'DBG' if(DBG()(0)) { ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp: In lambda function: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected primary-expression before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:283:11: note: in expansion of macro 'DBG' if(DBG()(0)) { ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:480, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:283:11: error: expected ')' before 'if' if(DBG()(0)) { ~^ ) In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:283:11: note: in expansion of macro 'DBG' if(DBG()(0)) { ^~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Streamstr.hpp:283:11: note: in expansion of macro 'DBG' if(DBG()(0)) { ^~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp: In member function 'Json& Json::parse(std::__cxx11::string, Json::ParseTrailing)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:18: error: no match for call to '(Debug) ()' if( __dbg__(X) ) \ ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:1729:26: note: in expansion of macro 'DBG' DBG().severity(tmp); ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:616:6: note: candidate: 'bool Debug::operator()(short int, const char*) const' bool Debug::operator()(short d, const char * fn) const { ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:616:6: note: candidate expects 2 arguments, 0 provided /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:338:20: error: expected primary-expression before ',' token if( __dbg__(X, __func__) ) // now print the prompt ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:1729:26: note: in expansion of macro 'DBG' DBG().severity(tmp); ^~~ In file included from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:1729:31: error: expected primary-expression before '.' token DBG().severity(tmp); ^ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp: In member function 'void Json::__dbg_propagate__(int)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:314:38: error: expected primary-expression before '.' token #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(__sev__ + 1, X); ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:91:30: note: in expansion of macro '__DEBUGGABLE_PROPAGATE__' #define _XM_01(__macro__, x) __macro__(x) ^~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:57:33: note: in expansion of macro '_XM_01' N, ...) N ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:212:5: note: in expansion of macro '__XMACRO_TO_ARGS__' __XMACRO_TO_ARGS__(macro_args) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:231:5: note: in expansion of macro '__MACRO_TO_ARGS__' __MACRO_TO_ARGS__(macro, ##macro_args) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:320:16: note: in expansion of macro 'MACRO_TO_ARGS' { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##ARGS) } ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:313:39: note: in expansion of macro '__DEBUGGABLE_true__' #define __DEBUGGABLE_IF__(X, ARGS...) __DEBUGGABLE_##X##__(ARGS) ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:312:40: note: in expansion of macro '__DEBUGGABLE_IF__' #define __DEBUGGABLE_ARG__(X, ARGS...) __DEBUGGABLE_IF__(X, ARGS) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:311:29: note: in expansion of macro '__DEBUGGABLE_ARG__' #define DEBUGGABLE(ARGS...) __DEBUGGABLE_ARG__(IF_ARGS(ARGS), ARGS) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:1863:5: note: in expansion of macro 'DEBUGGABLE' DEBUGGABLE() ^~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:314:70: error: expected primary-expression before ')' token #define __DEBUGGABLE_PROPAGATE__(X) X.__dbg__.severity(__sev__ + 1, X); ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:91:30: note: in expansion of macro '__DEBUGGABLE_PROPAGATE__' #define _XM_01(__macro__, x) __macro__(x) ^~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:57:33: note: in expansion of macro '_XM_01' N, ...) N ^ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:212:5: note: in expansion of macro '__XMACRO_TO_ARGS__' __XMACRO_TO_ARGS__(macro_args) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/macrolib.hpp:231:5: note: in expansion of macro '__MACRO_TO_ARGS__' __MACRO_TO_ARGS__(macro, ##macro_args) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:320:16: note: in expansion of macro 'MACRO_TO_ARGS' { MACRO_TO_ARGS(__DEBUGGABLE_PROPAGATE__, ##ARGS) } ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:313:39: note: in expansion of macro '__DEBUGGABLE_true__' #define __DEBUGGABLE_IF__(X, ARGS...) __DEBUGGABLE_##X##__(ARGS) ^~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:312:40: note: in expansion of macro '__DEBUGGABLE_IF__' #define __DEBUGGABLE_ARG__(X, ARGS...) __DEBUGGABLE_IF__(X, ARGS) ^~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:311:29: note: in expansion of macro '__DEBUGGABLE_ARG__' #define DEBUGGABLE(ARGS...) __DEBUGGABLE_ARG__(IF_ARGS(ARGS), ARGS) ^~~~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:1863:5: note: in expansion of macro 'DEBUGGABLE' DEBUGGABLE() ^~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp: In member function 'Json& Json::parse(Streamstr::const_iterator&, Json::ParseTrailing)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:29: error: expected primary-expression before '.' token #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2953:9: note: in expansion of macro 'DOUT' DBG(1) DOUT() << "finished parsing json" << std::endl; // at this point JSON is valid ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2953:9: note: in expansion of macro 'DOUT' DBG(1) DOUT() << "finished parsing json" << std::endl; // at this point JSON is valid ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected ')' before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2953:9: note: in expansion of macro 'DOUT' DBG(1) DOUT() << "finished parsing json" << std::endl; // at this point JSON is valid ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:27: note: to match this '(' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2953:9: note: in expansion of macro 'DOUT' DBG(1) DOUT() << "finished parsing json" << std::endl; // at this point JSON is valid ^~~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2953:9: note: in expansion of macro 'DOUT' DBG(1) DOUT() << "finished parsing json" << std::endl; // at this point JSON is valid ^~~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2953:9: note: in expansion of macro 'DOUT' DBG(1) DOUT() << "finished parsing json" << std::endl; // at this point JSON is valid ^~~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp: In member function 'void Json::parse_(Jnode&, Streamstr::const_iterator&)': /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:29: error: expected primary-expression before '.' token #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2983:4: note: in expansion of macro 'DOUT' DOUT() << Debug::btw << "parsing point ->" << jsp.str(Debug::term_width() * 4) << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2983:4: note: in expansion of macro 'DOUT' DOUT() << Debug::btw << "parsing point ->" << jsp.str(Debug::term_width() * 4) << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected ')' before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2983:4: note: in expansion of macro 'DOUT' DOUT() << Debug::btw << "parsing point ->" << jsp.str(Debug::term_width() * 4) << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:27: note: to match this '(' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2983:4: note: in expansion of macro 'DOUT' DOUT() << Debug::btw << "parsing point ->" << jsp.str(Debug::term_width() * 4) << std::endl; ^~~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:92: error: expected ';' before ')' token for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2983:4: note: in expansion of macro 'DOUT' DOUT() << Debug::btw << "parsing point ->" << jsp.str(Debug::term_width() * 4) << std::endl; ^~~~ In file included from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2984:3: error: expected '}' before 'else' else // streamed input ^~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2981:9: note: to match this '{' DBG(4) { // print currently parsed point ^ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:29: error: expected primary-expression before '.' token #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2985:4: note: in expansion of macro 'DOUT' DOUT() << Debug::ftw << jsp.str(Debug::term_width() * 4) << "<- parsing point" << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2985:4: note: in expansion of macro 'DOUT' DOUT() << Debug::ftw << jsp.str(Debug::term_width() * 4) << "<- parsing point" << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected ')' before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2985:4: note: in expansion of macro 'DOUT' DOUT() << Debug::ftw << jsp.str(Debug::term_width() * 4) << "<- parsing point" << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:27: note: to match this '(' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2985:4: note: in expansion of macro 'DOUT' DOUT() << Debug::ftw << jsp.str(Debug::term_width() * 4) << "<- parsing point" << std::endl; ^~~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/getoptions.hpp:141, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:17: /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2985:4: note: in expansion of macro 'DOUT' DOUT() << Debug::ftw << jsp.str(Debug::term_width() * 4) << "<- parsing point" << std::endl; ^~~~ /construction/textproc/jtc/jtc-1.76/lib/extensions.hpp:398:53: note: suggested alternative: '__clock_t' for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) ^~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' TLOCK(__dbg__.mutex()) \ ^~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' #define __DOUT_1_ARG__(X) (X.DBG().dout()) ^~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2985:4: note: in expansion of macro 'DOUT' DOUT() << Debug::ftw << jsp.str(Debug::term_width() * 4) << "<- parsing point" << std::endl; ^~~~ In file included from /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:478, from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:336:5: error: expected primary-expression before 'if' if( __dbg__(X) ) \ ^~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 ^~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) ^~~~~~~~~~~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2987:6: note: in expansion of macro 'DBG' if(DBG()(5)) ^~~ In file included from /construction/textproc/jtc/jtc-1.76/jtc.cpp:18: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2987:6: error: expected ')' before 'if' if(DBG()(5)) ~^ ) /construction/textproc/jtc/jtc-1.76/lib/Json.hpp: At global scope: /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:2994:2: error: expected unqualified-id before 'switch' switch(node.type()) { ^~~~~~ /construction/textproc/jtc/jtc-1.76/lib/Json.hpp:3003:1: error: expected declaration before '}' token } ^ *** Error code 1 Stop. make: stopped in /xports/textproc/jtc FAILED 00:00:05