You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ c++ -o jtc -Wall -std=gnu++14 -Ofast -static -Wl,--whole-archive -lrt -pthread -lpthread -Wl,--no-whole-archive jtc.cpp
In file included from jtc.cpp:18:
lib/Json.hpp:1971:14: error: explicit specialization in non-namespace scope 'class Json'
1971 | template<>
| ^
lib/Json.hpp:1972:25: error: template-id 'parse_template_Json::Jsn' in declaration of primary template
1972 | bool parse_template_(Jnode &,
| ^~~~~~~~~~~~~~~~~~~~
lib/Json.hpp: In member function 'void Json::parse_array_(Jnode&, Streamstr::const_iterator&)':
lib/Json.hpp:3188:27: warning: macro expands to multiple statements [-Wmultistatement-macros]
3188 | MAY_RETURN_ON_FAILURE( parse_(child, jsp) )
| ^~~~~~
lib/Json.hpp:3051:5: note: in definition of macro 'MAY_RETURN_ON_FAILURE'
3051 | CODE;
| ^~~~
lib/Json.hpp:3187:3: note: some parts of macro expansion are not guarded by this 'if' clause
3187 | if(not parse_template_(child, jsp, TmpPlacement::Value))
| ^~
In file included from jtc.cpp:18:
lib/Json.hpp: In static member function 'static void Json::generate_auto_tokens_(Json::map_jne&, Json::Stringover&, Json::iterator&)':
lib/Json.hpp:5404:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
5404 | if(uct.count(to_upper(t))) DOUT(jit.json()) << dlm << to_upper(t); dlm = ", ";
| ^~
lib/Json.hpp:5404:71: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
5404 | if(uct.count(to_upper(t))) DOUT(jit.json()) << dlm << to_upper(t); dlm = ", ";
| ^~~
lib/Json.hpp:5405:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
5405 | if(lct.count(t)) DOUT(jit.json()) << dlm << t; dlm = ", ";
| ^~
lib/Json.hpp:5405:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
5405 | if(lct.count(t)) DOUT(jit.json()) << dlm << t; dlm = ", ";
|
$ uname -a
Linux zabbix 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ c++ --version
c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0
The text was updated successfully, but these errors were encountered:
$ uname -a
Linux zabbix 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ c++ --version
c++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0
The text was updated successfully, but these errors were encountered: