+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qalculate-gtk-3.5.0nb26/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qalculate-gtk-3.5.0nb26/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for qalculate-gtk-3.5.0nb26 /bin/make all-recursive make[1]: Entering directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0' Making all in data make[2]: Entering directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/data' LC_ALL=C /home/pbulk/build/math/qalculate-gtk/work/.tools/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po qalculate-gtk.appdata.xml.in qalculate-gtk.appdata.xml LC_ALL=C /home/pbulk/build/math/qalculate-gtk/work/.tools/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po qalculate-gtk.desktop.in qalculate-gtk.desktop Generating and caching the translation database Merging translations into qalculate-gtk.desktop. Generating and caching the translation database Merging translations into qalculate-gtk.appdata.xml. CREATED qalculate-gtk.appdata.xml make[2]: Leaving directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/data' Making all in src make[2]: Entering directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/src' c++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/pkg/share"\" -DPACKAGE_DOC_DIR=\""/usr/pkg/share/doc/qalculate-gtk"\" -I/usr/pkg/include/gtk-3.0 -I/usr/pkg/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/atk-1.0 -pthread -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/pixman-1 -D_REENTRANT -I/usr/pkg/include/libdrm -I/usr/pkg/include/at-spi2-atk/2.0 -I/usr/pkg/include/at-spi-2.0 -I/usr/pkg/include/fribidi -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -pipe -O2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc c++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/pkg/share"\" -DPACKAGE_DOC_DIR=\""/usr/pkg/share/doc/qalculate-gtk"\" -I/usr/pkg/include/gtk-3.0 -I/usr/pkg/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include -I/usr/pkg/include/atk-1.0 -pthread -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/pixman-1 -D_REENTRANT -I/usr/pkg/include/libdrm -I/usr/pkg/include/at-spi2-atk/2.0 -I/usr/pkg/include/at-spi-2.0 -I/usr/pkg/include/fribidi -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -pipe -O2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -MT interface.o -MD -MP -MF .deps/interface.Tpo -c -o interface.o interface.cc In file included from main.cc:25: callbacks.h:63:40: error: macro "DECLARE_BUILTIN_FUNCTION" requires 2 arguments, but only 1 given 63 | DECLARE_BUILTIN_FUNCTION(AnswerFunction) | ^ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:26, from main.h:33, from callbacks.h:27, from main.cc:25: /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/BuiltinFunctions.h:39: note: macro "DECLARE_BUILTIN_FUNCTION" defined here 39 | #define DECLARE_BUILTIN_FUNCTION(x, i) class x : public MathFunction { \ | In file included from main.cc:25: callbacks.h:64:44: error: macro "DECLARE_BUILTIN_FUNCTION" requires 2 arguments, but only 1 given 64 | DECLARE_BUILTIN_FUNCTION(ExpressionFunction) | ^ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:26, from main.h:33, from callbacks.h:27, from main.cc:25: /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/BuiltinFunctions.h:39: note: macro "DECLARE_BUILTIN_FUNCTION" defined here 39 | #define DECLARE_BUILTIN_FUNCTION(x, i) class x : public MathFunction { \ | In file included from interface.cc:25: callbacks.h:63:40: error: macro "DECLARE_BUILTIN_FUNCTION" requires 2 arguments, but only 1 given 63 | DECLARE_BUILTIN_FUNCTION(AnswerFunction) | ^ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:26, from main.h:33, from callbacks.h:27, from interface.cc:25: /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/BuiltinFunctions.h:39: note: macro "DECLARE_BUILTIN_FUNCTION" defined here 39 | #define DECLARE_BUILTIN_FUNCTION(x, i) class x : public MathFunction { \ | In file included from interface.cc:25: callbacks.h:64:44: error: macro "DECLARE_BUILTIN_FUNCTION" requires 2 arguments, but only 1 given 64 | DECLARE_BUILTIN_FUNCTION(ExpressionFunction) | ^ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:26, from main.h:33, from callbacks.h:27, from interface.cc:25: /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/BuiltinFunctions.h:39: note: macro "DECLARE_BUILTIN_FUNCTION" defined here 39 | #define DECLARE_BUILTIN_FUNCTION(x, i) class x : public MathFunction { \ | In file included from main.cc:25: callbacks.h:37:9: error: 'string' does not name a type; did you mean 'GString'? 37 | string name; | ^~~~~~ | GString callbacks.h:63:1: error: 'DECLARE_BUILTIN_FUNCTION' does not name a type 63 | DECLARE_BUILTIN_FUNCTION(AnswerFunction) | ^~~~~~~~~~~~~~~~~~~~~~~~ callbacks.h:81:21: error: 'string' was not declared in this scope 81 | bool string_is_less(string str1, string str2); | ^~~~~~ callbacks.h:81:21: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from main.cc:25: callbacks.h:81:34: error: 'string' was not declared in this scope 81 | bool string_is_less(string str1, string str2); | ^~~~~~ callbacks.h:81:34: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from main.cc:25: callbacks.h:81:45: error: expression list treated as compound expression in initializer [-fpermissive] 81 | bool string_is_less(string str1, string str2); | ^ In file included from main.cc:25: callbacks.h:132:180: error: 'string' has not been declared 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:201: error: 'string' was not declared in this scope 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:201: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from main.cc:25: callbacks.h:132:211: error: 'string' has not been declared 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:224: error: 'string' was not declared in this scope 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:224: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from main.cc:25: callbacks.h:133:114: error: 'string' has not been declared 133 | void setResult(Prefix *prefix = NULL, bool update_history = true, bool update_parse = false, bool force = false, string transformation = "", size_t stack_index = 0, bool register_moved = false); | ^~~~~~ callbacks.h:133:193: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 133 | void setResult(Prefix *prefix = NULL, bool update_history = true, bool update_parse = false, bool force = false, string transformation = "", size_t stack_index = 0, bool register_moved = false); | ^ | | | const char* callbacks.h:138:6: error: variable or field 'RPNRegisterAdded' declared void 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~~~~~~~~~~~~ callbacks.h:138:23: error: 'string' was not declared in this scope 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~~ callbacks.h:138:23: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from main.cc:25: callbacks.h:138:41: error: expected primary-expression before 'index' 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~ callbacks.h:140:6: error: variable or field 'RPNRegisterChanged' declared void 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~~~~~~~~~~~~~~ callbacks.h:140:25: error: 'string' was not declared in this scope 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~~ callbacks.h:140:25: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from main.cc:25: callbacks.h:140:43: error: expected primary-expression before 'index' 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~ main.cc:29:1: error: 'string' does not name a type; did you mean 'GString'? 29 | string *parsed_to_str; | ^~~~~~ | GString main.cc:32:1: error: 'string' does not name a type; did you mean 'GString'? 32 | string selected_function_category; | ^~~~~~ | GString main.cc:35:1: error: 'string' does not name a type; did you mean 'GString'? 35 | string selected_variable_category; | ^~~~~~ | GString main.cc:37:1: error: 'string' does not name a type; did you mean 'GString'? 37 | string result_text, parsed_text; | ^~~~~~ | GString main.cc:39:1: error: 'string' does not name a type; did you mean 'GString'? 39 | string selected_unit_category; | ^~~~~~ | GString main.cc:40:1: error: 'string' does not name a type; did you mean 'GString'? 40 | string selected_unit_selector_category; | ^~~~~~ | GString main.cc:47:8: error: 'vector' does not name a type; did you mean 'Vector'? 47 | extern vector recent_functions_pre; | ^~~~~~ | Vector main.cc:48:8: error: 'vector' does not name a type; did you mean 'Vector'? 48 | extern vector recent_variables_pre; | ^~~~~~ | Vector main.cc:49:8: error: 'vector' does not name a type; did you mean 'Vector'? 49 | extern vector recent_units_pre; | ^~~~~~ | Vector main.cc:64:1: error: 'string' does not name a type; did you mean 'GString'? 64 | string calc_arg; | ^~~~~~ | GString main.cc: In function 'void create_application(GtkApplication*)': main.cc:120:9: error: 'parsed_to_str' was not declared in this scope; did you mean 'parsed_tostruct'? 120 | parsed_to_str = new string; | ^~~~~~~~~~~~~ | parsed_tostruct main.cc:120:29: error: 'string' does not name a type; did you mean 'GString'? 120 | parsed_to_str = new string; | ^~~~~~ | GString main.cc:135:12: error: 'calc_arg' was not declared in this scope; did you mean 'va_arg'? 135 | if(calc_arg.empty() && first_time) { | ^~~~~~~~ | va_arg main.cc:167:9: error: 'string' was not declared in this scope 167 | string ans_str = _("ans"); | ^~~~~~ main.cc:167:9: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ main.cc:168:111: error: 'ans_str' was not declared in this scope 168 | vans[0] = (KnownVariable*) CALCULATOR->addVariable(new KnownVariable(CALCULATOR->temporaryCategory(), ans_str, m_undefined, _("Last Answer"), false)); | ^~~~~~~ main.cc:181:48: error: expected type-specifier before 'AnswerFunction' 181 | f_answer = CALCULATOR->addFunction(new AnswerFunction()); | ^~~~~~~~~~~~~~ main.cc:182:52: error: expected type-specifier before 'ExpressionFunction' 182 | f_expression = CALCULATOR->addFunction(new ExpressionFunction()); | ^~~~~~~~~~~~~~~~~~ In file included from interface.cc:25: callbacks.h:37:9: error: 'string' does not name a type; did you mean 'GString'? 37 | string name; | ^~~~~~ | GString main.cc:197:9: error: 'selected_function_category' was not declared in this scope; did you mean 'selected_function'? 197 | selected_function_category = _("All"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | selected_function callbacks.h:63:1: error: 'DECLARE_BUILTIN_FUNCTION' does not name a type 63 | DECLARE_BUILTIN_FUNCTION(AnswerFunction) | ^~~~~~~~~~~~~~~~~~~~~~~~ callbacks.h:81:21: error: 'string' was not declared in this scope 81 | bool string_is_less(string str1, string str2); | ^~~~~~ callbacks.h:81:21: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from interface.cc:25: callbacks.h:81:34: error: 'string' was not declared in this scope 81 | bool string_is_less(string str1, string str2); | ^~~~~~ callbacks.h:81:34: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from interface.cc:25: callbacks.h:81:45: error: expression list treated as compound expression in initializer [-fpermissive] 81 | bool string_is_less(string str1, string str2); | ^ In file included from interface.cc:25: callbacks.h:132:180: error: 'string' has not been declared 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:201: error: 'string' was not declared in this scope 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:201: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from interface.cc:25: callbacks.h:132:211: error: 'string' has not been declared 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:224: error: 'string' was not declared in this scope 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:224: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from interface.cc:25: callbacks.h:133:114: error: 'string' has not been declared 133 | void setResult(Prefix *prefix = NULL, bool update_history = true, bool update_parse = false, bool force = false, string transformation = "", size_t stack_index = 0, bool register_moved = false); | ^~~~~~ callbacks.h:133:193: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 133 | void setResult(Prefix *prefix = NULL, bool update_history = true, bool update_parse = false, bool force = false, string transformation = "", size_t stack_index = 0, bool register_moved = false); | ^ | | | const char* callbacks.h:138:6: error: variable or field 'RPNRegisterAdded' declared void 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~~~~~~~~~~~~ callbacks.h:138:23: error: 'string' was not declared in this scope 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~~ callbacks.h:138:23: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from interface.cc:25: callbacks.h:138:41: error: expected primary-expression before 'index' 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~ callbacks.h:140:6: error: variable or field 'RPNRegisterChanged' declared void 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~~~~~~~~~~~~~~ callbacks.h:140:25: error: 'string' was not declared in this scope 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~~ callbacks.h:140:25: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ In file included from interface.cc:25: callbacks.h:140:43: error: expected primary-expression before 'index' 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~ main.cc:200:9: error: 'selected_variable_category' was not declared in this scope; did you mean 'selected_variable'? 200 | selected_variable_category = _("All"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | selected_variable interface.cc:66:8: error: 'vector' does not name a type; did you mean 'Vector'? 66 | extern vector modes; | ^~~~~~ | Vector interface.cc:125:8: error: 'vector' does not name a type; did you mean 'Vector'? 125 | extern vector matrix_edit_columns, matrix_columns; | ^~~~~~ | Vector interface.cc:151:8: error: 'string' does not name a type; did you mean 'GString'? 151 | extern string custom_result_font, custom_expression_font, custom_status_font; | ^~~~~~ | GString interface.cc:152:8: error: 'string' does not name a type; did you mean 'GString'? 152 | extern string status_error_color, status_warning_color; | ^~~~~~ | GString interface.cc:162:8: error: 'string' does not name a type; did you mean 'GString'? 162 | extern string nbases_error_color, nbases_warning_color; | ^~~~~~ | GString interface.cc:169:8: error: 'vector' does not name a type; did you mean 'Vector'? 169 | extern vector mode_items; | ^~~~~~ | Vector interface.cc:170:8: error: 'vector' does not name a type; did you mean 'Vector'? 170 | extern vector popup_result_mode_items; | ^~~~~~ | Vector interface.cc:172:8: error: 'deque' does not name a type 172 | extern deque expression_undo_buffer; | ^~~~~ interface.cc:177:8: error: 'string' does not name a type; did you mean 'GString'? 177 | extern string latest_button_unit_pre, latest_button_currency_pre; | ^~~~~~ | GString interface.cc:188:8: error: 'unordered_map' does not name a type 188 | extern unordered_map flag_images; | ^~~~~~~~~~~~~ interface.cc:190:8: error: 'string' does not name a type; did you mean 'GString'? 190 | extern string fix_history_string(const string &str); | ^~~~~~ | GString interface.cc: In function 'GtkBuilder* getBuilder(const char*)': interface.cc:566:9: error: 'string' was not declared in this scope 566 | string resstr = "/qalculate-gtk/ui/"; | ^~~~~~ interface.cc:566:9: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ main.cc:203:9: error: 'selected_unit_category' was not declared in this scope 203 | selected_unit_category = _("All"); | ^~~~~~~~~~~~~~~~~~~~~~ interface.cc:567:9: error: 'resstr' was not declared in this scope; did you mean 'wcsstr'? 567 | resstr += filename; | ^~~~~~ | wcsstr interface.cc: In function 'void set_keypad_tooltip(const gchar*, const char*, const char*, const char*, bool, bool)': interface.cc:574:9: error: 'string' was not declared in this scope 574 | string str; | ^~~~~~ interface.cc:574:9: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:575:16: error: 'str' was not declared in this scope; did you mean 'std'? 575 | if(s1) str += s1; | ^~~ | std main.cc:206:9: error: 'result_text' was not declared in this scope 206 | result_text = "0"; | ^~~~~~~~~~~ interface.cc:577:24: error: 'str' was not declared in this scope; did you mean 'std'? 577 | if(s1) str += "\n\n"; | ^~~ | std main.cc:207:9: error: 'parsed_text' was not declared in this scope; did you mean 'parsed_mstruct'? 207 | parsed_text = "0"; | ^~~~~~~~~~~ | parsed_mstruct interface.cc:578:33: error: 'str' was not declared in this scope; did you mean 'std'? 578 | if(b_longpress) str += _("Right-click/long press: %s"); | ^~~ | std interface.cc:579:22: error: 'str' was not declared in this scope; did you mean 'std'? 579 | else str += _("Right-click: %s"); | ^~~ | std interface.cc:580:32: error: 'str' was not declared in this scope; did you mean 'std'? 580 | gsub("%s", s2, str); | ^~~ | std interface.cc:583:24: error: 'str' was not declared in this scope; did you mean 'std'? 583 | if(s2) str += "\n"; | ^~~ | std interface.cc:584:29: error: 'str' was not declared in this scope; did you mean 'std'? 584 | else if(s1) str += "\n\n"; | ^~~ | std interface.cc:585:17: error: 'str' was not declared in this scope; did you mean 'std'? 585 | str += _("Middle-click: %s"); | ^~~ | std main.cc:237:28: error: 'recent_functions_pre' was not declared in this scope 237 | for(int i = ((int) recent_functions_pre.size()) - 1; i >= 0; i--) { | ^~~~~~~~~~~~~~~~~~~~ interface.cc:588:105: error: 'str' was not declared in this scope; did you mean 'std'? 588 | if(b_markup) gtk_widget_set_tooltip_markup(GTK_WIDGET(gtk_builder_get_object(main_builder, w)), str.c_str()); | ^~~ | std interface.cc:589:95: error: 'str' was not declared in this scope; did you mean 'std'? 589 | else gtk_widget_set_tooltip_text(GTK_WIDGET(gtk_builder_get_object(main_builder, w)), str.c_str()); | ^~~ | std interface.cc: In function 'void create_button_menus()': interface.cc:740:13: error: 'latest_button_unit_pre' was not declared in this scope; did you mean 'latest_button_unit'? 740 | if(!latest_button_unit_pre.empty()) { | ^~~~~~~~~~~~~~~~~~~~~~ | latest_button_unit interface.cc:745:17: error: 'string' was not declared in this scope 745 | string si_label_str; | ^~~~~~ interface.cc:745:17: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ main.cc:240:28: error: 'recent_variables_pre' was not declared in this scope 240 | for(int i = ((int) recent_variables_pre.size()) - 1; i >= 0; i--) { | ^~~~~~~~~~~~~~~~~~~~ interface.cc:747:25: error: 'si_label_str' was not declared in this scope 747 | si_label_str = ((CompositeUnit*) latest_button_unit)->print(false, true, printops.use_unicode_signs, &can_display_unicode_string_function, (void*) expressiontext); | ^~~~~~~~~~~~ interface.cc:750:25: error: 'si_label_str' was not declared in this scope 750 | si_label_str = latest_button_unit->preferredDisplayName(true, printops.use_unicode_signs, false, false, &can_display_unicode_string_function, (void*) expressiontext).name; | ^~~~~~~~~~~~ main.cc:243:28: error: 'recent_units_pre' was not declared in this scope 243 | for(int i = ((int) recent_units_pre.size()) - 1; i >= 0; i--) { | ^~~~~~~~~~~~~~~~ interface.cc:752:97: error: 'si_label_str' was not declared in this scope 752 | gtk_label_set_text(GTK_LABEL(gtk_builder_get_object(main_builder, "label_si")), si_label_str.c_str()); | ^~~~~~~~~~~~ main.cc:251:27: error: 'ViewThread' does not name a type; did you mean 'Thread'? 251 | view_thread = new ViewThread; | ^~~~~~~~~~ | Thread interface.cc:757:9: error: 'vector' was not declared in this scope 757 | vector to_us; | ^~~~~~ interface.cc:757:9: note: suggested alternatives: In file included from /usr/include/c++/11/vector:67, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:17, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stl_vector.h:389:11: note: 'std::vector' 389 | class vector : protected _Vector_base<_Tp, _Alloc> | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:17, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/vector:86:13: note: 'std::pmr::vector' 86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>; | ^~~~~~ interface.cc:757:20: error: expected primary-expression before '*' token 757 | vector to_us; | ^ interface.cc:757:21: error: expected primary-expression before '>' token 757 | vector to_us; | ^ interface.cc:757:23: error: 'to_us' was not declared in this scope; did you mean 'top_ips'? 757 | vector to_us; | ^~~~~ | top_ips interface.cc:765:89: error: 'string_is_less' cannot be used as a function 765 | if(string_is_less(u->title(true), to_us[i2]->title(true))) { | ^ interface.cc:788:89: error: 'string_is_less' cannot be used as a function 788 | if(string_is_less(u->title(true), to_us[i2]->title(true))) { | ^ main.cc:255:13: error: 'calc_arg' was not declared in this scope; did you mean 'va_arg'? 255 | if(!calc_arg.empty()) { | ^~~~~~~~ | va_arg main.cc:261:26: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 261 | setResult(NULL, false, false, false); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* interface.cc:801:13: error: 'latest_button_currency_pre' was not declared in this scope; did you mean 'latest_button_currency'? 801 | if(!latest_button_currency_pre.empty()) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | latest_button_currency interface.cc:807:9: error: 'string' was not declared in this scope 807 | string unit_label_str; | ^~~~~~ interface.cc:807:9: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ main.cc: In function 'gint qalculate_handle_local_options(GtkApplication*, GVariantDict*)': main.cc:336:17: error: 'string' was not declared in this scope 336 | string stmp, svar; | ^~~~~~ main.cc:336:17: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:809:17: error: 'unit_label_str' was not declared in this scope 809 | unit_label_str = ((CompositeUnit*) latest_button_currency)->print(false, true, printops.use_unicode_signs, &can_display_unicode_string_function, (void*) expressiontext); | ^~~~~~~~~~~~~~ main.cc:340:25: error: 'stmp' was not declared in this scope; did you mean 'tm'? 340 | stmp = line; | ^~~~ | tm main.cc:342:61: error: 'string' is not a class, namespace, or enumeration 342 | if((i = stmp.find_first_of("=")) != string::npos) { | ^~~~~~ main.cc:343:33: error: 'svar' was not declared in this scope 343 | svar = stmp.substr(0, i); | ^~~~ main.cc:346:47: error: expected ';' before 'svalue' 346 | string svalue = stmp.substr(i + 1, stmp.length() - (i + 1)); | ^~~~~~~ | ; main.cc:347:59: error: 'svalue' was not declared in this scope; did you mean 'GValue'? 347 | remove_blank_ends(svalue); | ^~~~~~ | GValue interface.cc:812:17: error: 'unit_label_str' was not declared in this scope 812 | unit_label_str = latest_button_currency->preferredDisplayName(true, printops.use_unicode_signs, false, false, &can_display_unicode_string_function, (void*) expressiontext).name; | ^~~~~~~~~~~~~~ main.cc: In function 'gint qalculate_command_line(GtkApplication*, GApplicationCommandLine*)': main.cc:369:9: error: 'calc_arg' was not declared in this scope; did you mean 'va_arg'? 369 | calc_arg = ""; | ^~~~~~~~ | va_arg main.cc: In function 'int main(int, char**)': main.cc:408:9: error: 'string' was not declared in this scope 408 | string stmp; | ^~~~~~ main.cc:408:9: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from main.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:814:91: error: 'unit_label_str' was not declared in this scope 814 | gtk_label_set_text(GTK_LABEL(gtk_builder_get_object(main_builder, "label_euro")), unit_label_str.c_str()); | ^~~~~~~~~~~~~~ interface.cc:831:89: error: 'string_is_less' cannot be used as a function 831 | if(string_is_less(u->title(true), to_us[i2]->title(true))) { | ^ In file included from interface.cc:26: interface.h:18:111: error: 'unordered_map' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: suggested alternatives: 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ In file included from /usr/include/c++/11/unordered_map:47, from interface.cc:32: /usr/include/c++/11/bits/unordered_map.h:102:11: note: 'std::unordered_map' 102 | class unordered_map | ^~~~~~~~~~~~~ In file included from interface.cc:32: /usr/include/c++/11/unordered_map:64:13: note: 'std::pmr::unordered_map' 64 | using unordered_map | ^~~~~~~~~~~~~ In file included from interface.cc:26: interface.h:18:142: error: expected primary-expression before '*' token 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^ interface.cc:841:17: note: in expansion of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 841 | MENU_ITEM_WITH_POINTER_AND_FLAG(to_us[i]->title(true).c_str(), insert_button_currency, to_us[i]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.h:18:143: error: expected primary-expression before '>' token 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^ interface.cc:841:17: note: in expansion of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 841 | MENU_ITEM_WITH_POINTER_AND_FLAG(to_us[i]->title(true).c_str(), insert_button_currency, to_us[i]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.h:18:146: error: '::const_iterator' has not been declared 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~~ interface.h:18:146: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~~ interface.h:18:212: error: 'it_flag' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~ interface.h:18:212: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~ make[2]: *** [Makefile:515: main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... interface.h:18:223: error: 'flag_images' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~ interface.h:18:223: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~ interface.cc:845:20: error: expected primary-expression before '*' token 845 | vector to_us2; | ^ interface.cc:845:21: error: expected primary-expression before '>' token 845 | vector to_us2; | ^ interface.cc:845:23: error: 'to_us2' was not declared in this scope 845 | vector to_us2; | ^~~~~~ In file included from interface.cc:26: interface.h:18:111: error: 'unordered_map' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: suggested alternatives: 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ In file included from /usr/include/c++/11/unordered_map:47, from interface.cc:32: /usr/include/c++/11/bits/unordered_map.h:102:11: note: 'std::unordered_map' 102 | class unordered_map | ^~~~~~~~~~~~~ In file included from interface.cc:32: /usr/include/c++/11/unordered_map:64:13: note: 'std::pmr::unordered_map' 64 | using unordered_map | ^~~~~~~~~~~~~ In file included from interface.cc:26: interface.h:18:142: error: expected primary-expression before '*' token 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^ interface.cc:883:17: note: in expansion of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 883 | MENU_ITEM_WITH_POINTER_AND_FLAG(to_us[i]->title(true).c_str(), insert_button_currency, to_us[i]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.h:18:143: error: expected primary-expression before '>' token 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^ interface.cc:883:17: note: in expansion of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 883 | MENU_ITEM_WITH_POINTER_AND_FLAG(to_us[i]->title(true).c_str(), insert_button_currency, to_us[i]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.h:18:146: error: '::const_iterator' has not been declared 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~~ interface.h:18:146: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~~ interface.h:18:212: error: 'it_flag' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~ interface.h:18:212: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~ interface.h:18:223: error: 'flag_images' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~ interface.h:18:223: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~ interface.h:18:111: error: 'unordered_map' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: suggested alternatives: 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ interface.h:18:111: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~ In file included from /usr/include/c++/11/unordered_map:47, from interface.cc:32: /usr/include/c++/11/bits/unordered_map.h:102:11: note: 'std::unordered_map' 102 | class unordered_map | ^~~~~~~~~~~~~ In file included from interface.cc:32: /usr/include/c++/11/unordered_map:64:13: note: 'std::pmr::unordered_map' 64 | using unordered_map | ^~~~~~~~~~~~~ In file included from interface.cc:26: interface.h:18:142: error: expected primary-expression before '*' token 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^ interface.cc:888:17: note: in expansion of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 888 | MENU_ITEM_WITH_POINTER_AND_FLAG(to_us2[i]->title(true).c_str(), insert_button_currency, to_us2[i]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.h:18:143: error: expected primary-expression before '>' token 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^ interface.cc:888:17: note: in expansion of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 888 | MENU_ITEM_WITH_POINTER_AND_FLAG(to_us2[i]->title(true).c_str(), insert_button_currency, to_us2[i]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.h:18:146: error: '::const_iterator' has not been declared 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~~ interface.h:18:146: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~~~~ interface.h:18:212: error: 'it_flag' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~ interface.h:18:212: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~ interface.h:18:223: error: 'flag_images' was not declared in this scope 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~ interface.h:18:223: note: in definition of macro 'MENU_ITEM_WITH_POINTER_AND_FLAG' 18 | #define MENU_ITEM_WITH_POINTER_AND_FLAG(x,y,z) {GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); unordered_map::const_iterator it_flag = flag_images.find(z->referenceName()); if(it_flag != flag_images.end()) {GtkWidget *image_w = gtk_image_new_from_pixbuf(it_flag->second); gtk_widget_set_size_request(image_w, 32, -1); gtk_container_add(GTK_CONTAINER(box), image_w);} gtk_container_add(GTK_CONTAINER(box), gtk_label_new(x)); item = gtk_menu_item_new(); gtk_container_add(GTK_CONTAINER(item), box); gtk_widget_show_all(item); g_signal_connect(G_OBJECT (item), "activate", G_CALLBACK(y), (gpointer) z); gtk_menu_shell_append(GTK_MENU_SHELL(sub), item);} | ^~~~~~~~~~~ interface.cc: In function 'void create_main_window()': interface.cc:1047:25: error: 'string' was not declared in this scope 1047 | string flag_s = flags_r[i]; | ^~~~~~ interface.cc:1047:25: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:1048:40: error: 'flag_s' was not declared in this scope; did you mean 'flags_r'? 1048 | size_t i_ext = flag_s.find(".", 1); | ^~~~~~ | flags_r interface.cc:1049:37: error: 'string' is not a class, namespace, or enumeration 1049 | if(i_ext != string::npos) { | ^~~~~~ interface.cc:1051:45: error: 'flag_images' was not declared in this scope 1051 | if(flagbuf) flag_images[flag_s.substr(0, i_ext)] = flagbuf; | ^~~~~~~~~~~ interface.cc:1062:9: error: 'expression_undo_buffer' was not declared in this scope; did you mean 'expressionbuffer'? 1062 | expression_undo_buffer.push_back(""); | ^~~~~~~~~~~~~~~~~~~~~~ | expressionbuffer interface.cc:1112:48: error: 'custom_result_font' was not declared in this scope; did you mean 'use_custom_result_font'? 1112 | gchar *gstr = font_name_to_css(custom_result_font.c_str()); | ^~~~~~~~~~~~~~~~~~ | use_custom_result_font interface.cc:1117:20: error: 'custom_result_font' was not declared in this scope; did you mean 'use_custom_result_font'? 1117 | if(custom_result_font.empty()) { | ^~~~~~~~~~~~~~~~~~ | use_custom_result_font interface.cc:1125:48: error: 'custom_expression_font' was not declared in this scope; did you mean 'use_custom_expression_font'? 1125 | gchar *gstr = font_name_to_css(custom_expression_font.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~ | use_custom_expression_font interface.cc:1129:20: error: 'custom_expression_font' was not declared in this scope; did you mean 'use_custom_expression_font'? 1129 | if(custom_expression_font.empty()) { | ^~~~~~~~~~~~~~~~~~~~~~ | use_custom_expression_font interface.cc:1137:48: error: 'custom_status_font' was not declared in this scope; did you mean 'use_custom_status_font'? 1137 | gchar *gstr = font_name_to_css(custom_status_font.c_str()); | ^~~~~~~~~~~~~~~~~~ | use_custom_status_font interface.cc:1144:20: error: 'custom_status_font' was not declared in this scope; did you mean 'use_custom_status_font'? 1144 | if(custom_status_font.empty()) { | ^~~~~~~~~~~~~~~~~~ | use_custom_status_font interface.cc:1166:17: error: 'status_error_color' was not declared in this scope; did you mean 'status_error_color_set'? 1166 | status_error_color = ecs; | ^~~~~~~~~~~~~~~~~~ | status_error_color_set interface.cc:1181:17: error: 'status_warning_color' was not declared in this scope; did you mean 'status_warning_color_set'? 1181 | status_warning_color = wcs; | ^~~~~~~~~~~~~~~~~~~~ | status_warning_color_set interface.cc:1242:9: error: 'string' was not declared in this scope 1242 | string themestr; | ^~~~~~ interface.cc:1242:9: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:1243:24: error: 'themestr' was not declared in this scope; did you mean 'theme'? 1243 | if(theme_name) themestr = theme_name; | ^~~~~~~~ | theme interface.cc:1245:12: error: 'themestr' was not declared in this scope; did you mean 'theme'? 1245 | if(themestr.substr(0, 7) == "Adwaita" || themestr.substr(0, 6) == "ooxmox" || themestr == "Breeze" || themestr == "Breeze-Dark" || themestr == "Yaru") { | ^~~~~~~~ | theme interface.cc:1404:12: error: 'themestr' was not declared in this scope; did you mean 'theme'? 1404 | if(themestr.substr(0, 7) != "Adwaita" && themestr.substr(0, 6) != "ooxmox" && themestr != "Yaru") { | ^~~~~~~~ | theme interface.cc:1488:31: error: 'modes' was not declared in this scope 1488 | for(size_t i = 0; i < modes.size(); i++) { | ^~~~~ interface.cc:1495:17: error: 'mode_items' was not declared in this scope; did you mean 'set_mode_items'? 1495 | mode_items.push_back(item); | ^~~~~~~~~~ | set_mode_items interface.cc:1502:17: error: 'popup_result_mode_items' was not declared in this scope 1502 | popup_result_mode_items.push_back(item); | ^~~~~~~~~~~~~~~~~~~~~~~ interface.cc:1504:114: error: 'modes' was not declared in this scope 1504 | gtk_widget_set_sensitive(GTK_WIDGET(gtk_builder_get_object(main_builder, "menu_item_meta_mode_delete")), modes.size() > 2); | ^~~~~ interface.cc: In function 'GtkWidget* get_preferences_dialog()': interface.cc:1868:140: error: 'custom_result_font' was not declared in this scope; did you mean 'use_custom_result_font'? 1868 | gtk_font_chooser_set_font(GTK_FONT_CHOOSER(gtk_builder_get_object(preferences_builder, "preferences_button_result_font")), custom_result_font.c_str()); | ^~~~~~~~~~~~~~~~~~ | use_custom_result_font interface.cc:1870:144: error: 'custom_expression_font' was not declared in this scope; did you mean 'use_custom_expression_font'? 1870 | gtk_font_chooser_set_font(GTK_FONT_CHOOSER(gtk_builder_get_object(preferences_builder, "preferences_button_expression_font")), custom_expression_font.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~ | use_custom_expression_font interface.cc:1872:140: error: 'custom_status_font' was not declared in this scope; did you mean 'use_custom_status_font'? 1872 | gtk_font_chooser_set_font(GTK_FONT_CHOOSER(gtk_builder_get_object(preferences_builder, "preferences_button_status_font")), custom_status_font.c_str()); | ^~~~~~~~~~~~~~~~~~ | use_custom_status_font interface.cc:1874:36: error: 'status_error_color' was not declared in this scope; did you mean 'status_error_color_set'? 1874 | gdk_rgba_parse(&c, status_error_color.c_str()); | ^~~~~~~~~~~~~~~~~~ | status_error_color_set interface.cc:1876:36: error: 'status_warning_color' was not declared in this scope; did you mean 'status_warning_color_set'? 1876 | gdk_rgba_parse(&c, status_warning_color.c_str()); | ^~~~~~~~~~~~~~~~~~~~ | status_warning_color_set interface.cc: At global scope: interface.cc:2397:8: error: 'string' does not name a type; did you mean 'GString'? 2397 | extern string prev_output_base, prev_input_base; | ^~~~~~ | GString interface.cc: In function 'GtkWidget* get_set_base_dialog()': interface.cc:2563:9: error: 'prev_output_base' was not declared in this scope 2563 | prev_output_base = ""; prev_input_base = ""; | ^~~~~~~~~~~~~~~~ interface.cc:2563:32: error: 'prev_input_base' was not declared in this scope 2563 | prev_output_base = ""; prev_input_base = ""; | ^~~~~~~~~~~~~~~ interface.cc: In function 'GtkWidget* get_nbases_dialog()': interface.cc:2594:17: error: 'string' was not declared in this scope 2594 | string themestr; | ^~~~~~ interface.cc:2594:17: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:2596:25: error: 'themestr' was not declared in this scope 2596 | themestr = theme_name; | ^~~~~~~~ interface.cc:2600:20: error: 'themestr' was not declared in this scope 2600 | if(themestr.substr(0, 7) == "Adwaita" || themestr.substr(0, 6) == "ooxmox" || themestr == "Breeze" || themestr == "Breeze-Dark" || themestr == "Yaru") { | ^~~~~~~~ interface.cc:2652:17: error: 'nbases_error_color' was not declared in this scope 2652 | nbases_error_color = ecs; | ^~~~~~~~~~~~~~~~~~ interface.cc:2665:17: error: 'nbases_warning_color' was not declared in this scope; did you mean 'history_warning_color'? 2665 | nbases_warning_color = wcs; | ^~~~~~~~~~~~~~~~~~~~ | history_warning_color interface.cc: At global scope: interface.cc:2705:1: error: 'unordered_map' does not name a type 2705 | unordered_map cal_year, cal_month, cal_day, cal_label; | ^~~~~~~~~~~~~ interface.cc: In function 'GtkWidget* get_calendarconversion_dialog()': interface.cc:2751:17: error: 'cal_year' was not declared in this scope 2751 | cal_year[CALENDAR_GREGORIAN] = GTK_WIDGET(gtk_builder_get_object(calendarconversion_builder, "year_1")); | ^~~~~~~~ interface.cc:2752:17: error: 'cal_month' was not declared in this scope 2752 | cal_month[CALENDAR_GREGORIAN] = GTK_WIDGET(gtk_builder_get_object(calendarconversion_builder, "month_1")); | ^~~~~~~~~ interface.cc:2753:17: error: 'cal_day' was not declared in this scope 2753 | cal_day[CALENDAR_GREGORIAN] = GTK_WIDGET(gtk_builder_get_object(calendarconversion_builder, "day_1")); | ^~~~~~~ interface.cc:2754:17: error: 'cal_label' was not declared in this scope 2754 | cal_label[CALENDAR_GREGORIAN] = GTK_WIDGET(gtk_builder_get_object(calendarconversion_builder, "label_1")); | ^~~~~~~~~ interface.cc: In function 'GtkWidget* get_periodic_dialog()': interface.cc:2954:17: error: 'string' was not declared in this scope 2954 | string tip; | ^~~~~~ interface.cc:2954:17: note: suggested alternatives: In file included from /usr/include/c++/11/string:39, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/bits/stringfwd.h:79:33: note: 'std::string' 79 | typedef basic_string string; | ^~~~~~ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15, from main.h:33, from callbacks.h:27, from interface.cc:25: /usr/include/c++/11/string:67:11: note: 'std::pmr::string' 67 | using string = basic_string; | ^~~~~~ interface.cc:2965:23: error: expected ';' before 'weight' 2965 | string weight; | ^~~~~~~ | ; interface.cc:2985:33: error: 'tip' was not declared in this scope 2985 | tip = e->getProperty(p_number); | ^~~ interface.cc:2988:33: error: 'weight' was not declared in this scope; did you mean 'p_weight'? 2988 | weight = e->getPropertyDisplayString(p_weight); | ^~~~~~ | p_weight make[2]: *** [Makefile:515: interface.o] Error 1 make[2]: Leaving directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/src' make[1]: *** [Makefile:442: all-recursive] Error 1 make[1]: Leaving directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0' make: *** [Makefile:374: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/math/qalculate-gtk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/math/qalculate-gtk