Temporary header file '/tmp/N7k7EtdaaO/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/igraph/igraph.h" #include "/usr/include/igraph/igraph_adjlist.h" #include "/usr/include/igraph/igraph_arpack.h" #include "/usr/include/igraph/igraph_array.h" #include "/usr/include/igraph/igraph_array_pmt.h" #include "/usr/include/igraph/igraph_attributes.h" #include "/usr/include/igraph/igraph_bipartite.h" #include "/usr/include/igraph/igraph_blas.h" #include "/usr/include/igraph/igraph_centrality.h" #include "/usr/include/igraph/igraph_cliques.h" #include "/usr/include/igraph/igraph_cocitation.h" #include "/usr/include/igraph/igraph_cohesive_blocks.h" #include "/usr/include/igraph/igraph_coloring.h" #include "/usr/include/igraph/igraph_community.h" #include "/usr/include/igraph/igraph_complex.h" #include "/usr/include/igraph/igraph_components.h" #include "/usr/include/igraph/igraph_config.h" #include "/usr/include/igraph/igraph_constants.h" #include "/usr/include/igraph/igraph_constructors.h" #include "/usr/include/igraph/igraph_conversion.h" #include "/usr/include/igraph/igraph_cycles.h" #include "/usr/include/igraph/igraph_datatype.h" #include "/usr/include/igraph/igraph_decls.h" #include "/usr/include/igraph/igraph_dqueue.h" #include "/usr/include/igraph/igraph_dqueue_pmt.h" #include "/usr/include/igraph/igraph_eigen.h" #include "/usr/include/igraph/igraph_embedding.h" #include "/usr/include/igraph/igraph_epidemics.h" #include "/usr/include/igraph/igraph_error.h" #include "/usr/include/igraph/igraph_eulerian.h" #include "/usr/include/igraph/igraph_export.h" #include "/usr/include/igraph/igraph_flow.h" #include "/usr/include/igraph/igraph_foreign.h" #include "/usr/include/igraph/igraph_games.h" #include "/usr/include/igraph/igraph_graph_list.h" #include "/usr/include/igraph/igraph_graphicality.h" #include "/usr/include/igraph/igraph_graphlets.h" #include "/usr/include/igraph/igraph_heap.h" #include "/usr/include/igraph/igraph_heap_pmt.h" #include "/usr/include/igraph/igraph_hrg.h" #include "/usr/include/igraph/igraph_interface.h" #include "/usr/include/igraph/igraph_interrupt.h" #include "/usr/include/igraph/igraph_iterators.h" #include "/usr/include/igraph/igraph_lapack.h" #include "/usr/include/igraph/igraph_layout.h" #include "/usr/include/igraph/igraph_lsap.h" #include "/usr/include/igraph/igraph_matching.h" #include "/usr/include/igraph/igraph_matrix.h" #include "/usr/include/igraph/igraph_matrix_list.h" #include "/usr/include/igraph/igraph_matrix_pmt.h" #include "/usr/include/igraph/igraph_memory.h" #include "/usr/include/igraph/igraph_microscopic_update.h" #include "/usr/include/igraph/igraph_mixing.h" #include "/usr/include/igraph/igraph_motifs.h" #include "/usr/include/igraph/igraph_neighborhood.h" #include "/usr/include/igraph/igraph_nongraph.h" #include "/usr/include/igraph/igraph_operators.h" #include "/usr/include/igraph/igraph_paths.h" #include "/usr/include/igraph/igraph_pmt.h" #include "/usr/include/igraph/igraph_pmt_off.h" #include "/usr/include/igraph/igraph_progress.h" #include "/usr/include/igraph/igraph_psumtree.h" #include "/usr/include/igraph/igraph_qsort.h" #include "/usr/include/igraph/igraph_random.h" #include "/usr/include/igraph/igraph_scan.h" #include "/usr/include/igraph/igraph_separators.h" #include "/usr/include/igraph/igraph_sparsemat.h" #include "/usr/include/igraph/igraph_stack.h" #include "/usr/include/igraph/igraph_stack_pmt.h" #include "/usr/include/igraph/igraph_statusbar.h" #include "/usr/include/igraph/igraph_structural.h" #include "/usr/include/igraph/igraph_strvector.h" #include "/usr/include/igraph/igraph_threading.h" #include "/usr/include/igraph/igraph_topology.h" #include "/usr/include/igraph/igraph_transitivity.h" #include "/usr/include/igraph/igraph_typed_list_pmt.h" #include "/usr/include/igraph/igraph_types.h" #include "/usr/include/igraph/igraph_vector.h" #include "/usr/include/igraph/igraph_vector_list.h" #include "/usr/include/igraph/igraph_vector_pmt.h" #include "/usr/include/igraph/igraph_vector_ptr.h" #include "/usr/include/igraph/igraph_vector_type.h" #include "/usr/include/igraph/igraph_version.h" #include "/usr/include/igraph/igraph_visitor.h" // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; igraph_adjlist_t* tmp_add_class_3; igraph_arpack_options_t* tmp_add_class_4; igraph_arpack_storage_t* tmp_add_class_5; igraph_array3_bool_t* tmp_add_class_6; igraph_array3_char_t* tmp_add_class_7; igraph_array3_int_t* tmp_add_class_8; igraph_array3_t* tmp_add_class_9; igraph_attribute_combination_record_t* tmp_add_class_10; igraph_attribute_combination_t* tmp_add_class_11; igraph_attribute_record_t* tmp_add_class_12; igraph_attribute_table_t* tmp_add_class_13; igraph_bliss_info_t* tmp_add_class_14; igraph_complex_t* tmp_add_class_15; igraph_dqueue_bool_t* tmp_add_class_16; igraph_dqueue_char_t* tmp_add_class_17; igraph_dqueue_int_t* tmp_add_class_18; igraph_dqueue_t* tmp_add_class_19; igraph_eigen_which_t* tmp_add_class_20; igraph_eit_t* tmp_add_class_21; igraph_es_t* tmp_add_class_22; igraph_heap_char_t* tmp_add_class_23; igraph_heap_int_t* tmp_add_class_24; igraph_heap_min_char_t* tmp_add_class_25; igraph_heap_min_int_t* tmp_add_class_26; igraph_heap_min_t* tmp_add_class_27; igraph_heap_t* tmp_add_class_28; igraph_hrg_t* tmp_add_class_29; igraph_i_protectedPtr* tmp_add_class_30; igraph_inclist_t* tmp_add_class_31; igraph_layout_drl_options_t* tmp_add_class_32; igraph_lazy_adjlist_t* tmp_add_class_33; igraph_lazy_inclist_t* tmp_add_class_34; igraph_matrix_bool_t* tmp_add_class_35; igraph_matrix_char_t* tmp_add_class_36; igraph_matrix_complex_t* tmp_add_class_37; igraph_matrix_int_t* tmp_add_class_38; igraph_matrix_t* tmp_add_class_39; igraph_plfit_result_t* tmp_add_class_40; igraph_rng_t* tmp_add_class_41; igraph_rng_type_t* tmp_add_class_42; igraph_s* tmp_add_class_43; igraph_sir_t* tmp_add_class_44; igraph_stack_bool_t* tmp_add_class_45; igraph_stack_char_t* tmp_add_class_46; igraph_stack_int_t* tmp_add_class_47; igraph_stack_t* tmp_add_class_48; igraph_vector_bool_t* tmp_add_class_49; igraph_vector_char_t* tmp_add_class_50; igraph_vector_complex_t* tmp_add_class_51; igraph_vector_int_t* tmp_add_class_52; igraph_vector_t* tmp_add_class_53; igraph_vit_t* tmp_add_class_54; igraph_vs_t* tmp_add_class_55; s_igraph_strvector* tmp_add_class_56; s_vector_ptr* tmp_add_class_57; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/N7k7EtdaaO/dump1.h" In file included from /tmp/N7k7EtdaaO/dump1.h:70: /usr/include/igraph/igraph_pmt.h:120:6: error: #error unknown BASE_ directive 120 | #error unknown BASE_ directive | ^~~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:16: /usr/include/igraph/igraph_array_pmt.h:24:21: error: typedef ‘igraph_array3’ is initialized (use ‘decltype’ instead) 24 | typedef struct TYPE(igraph_array3) { | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:25:10: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 25 | TYPE(igraph_vector) data; | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_array_pmt.h:25:23: error: invalid use of incomplete type ‘struct TYPE’ 25 | TYPE(igraph_vector) data; | ^ /usr/include/igraph/igraph_array_pmt.h:24:16: note: forward declaration of ‘struct TYPE’ 24 | typedef struct TYPE(igraph_array3) { | ^~~~ /usr/include/igraph/igraph_array_pmt.h:25:25: error: expected ‘}’ before ‘data’ 25 | TYPE(igraph_vector) data; | ^~~~ /usr/include/igraph/igraph_array_pmt.h:24:36: note: to match this ‘{’ 24 | typedef struct TYPE(igraph_array3) { | ^ /usr/include/igraph/igraph_array_pmt.h:27:1: error: expected declaration before ‘}’ token 27 | } TYPE(igraph_array3); | ^ /usr/include/igraph/igraph_array_pmt.h:27:21: error: aggregate ‘TYPE igraph_array3’ has incomplete type and cannot be defined 27 | } TYPE(igraph_array3); | ^ /usr/include/igraph/igraph_array_pmt.h:39:54: error: ‘init’ was not declared in this scope; did you mean ‘int’? 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~ | int /usr/include/igraph/igraph_array_pmt.h:42:20: error: variable or field ‘FUNCTION’ declared void 42 | IGRAPH_EXPORT void FUNCTION(igraph_array3, destroy)(TYPE(igraph_array3) *a); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:42:44: error: ‘destroy’ was not declared in this scope 42 | IGRAPH_EXPORT void FUNCTION(igraph_array3, destroy)(TYPE(igraph_array3) *a); | ^~~~~~~ /usr/include/igraph/igraph_array_pmt.h:43:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 43 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_array3, size)(const TYPE(igraph_array3) *a); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:43:56: error: ‘size’ was not declared in this scope 43 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_array3, size)(const TYPE(igraph_array3) *a); | ^~~~ /usr/include/igraph/igraph_array_pmt.h:44:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 44 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_array3, n)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:44:56: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 44 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_array3, n)( | ^ | yn /usr/include/igraph/igraph_array_pmt.h:46:30: error: redefinition of ‘igraph_error_t FUNCTION’ 46 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, resize)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:46:54: error: ‘resize’ was not declared in this scope; did you mean ‘dysize’? 46 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, resize)( | ^~~~~~ | dysize /usr/include/igraph/igraph_array_pmt.h:49:20: error: variable or field ‘FUNCTION’ declared void 49 | IGRAPH_EXPORT void FUNCTION(igraph_array3, null)(TYPE(igraph_array3) *a); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:49:44: error: ‘null’ was not declared in this scope 49 | IGRAPH_EXPORT void FUNCTION(igraph_array3, null)(TYPE(igraph_array3) *a); | ^~~~ /usr/include/igraph/igraph_array_pmt.h:50:15: error: ‘BASE’ does not name a type 50 | IGRAPH_EXPORT BASE FUNCTION(igraph_array3, sum)(const TYPE(igraph_array3) *a); | ^~~~ /usr/include/igraph/igraph_array_pmt.h:51:20: error: variable or field ‘FUNCTION’ declared void 51 | IGRAPH_EXPORT void FUNCTION(igraph_array3, scale)(TYPE(igraph_array3) *a, BASE by); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:51:44: error: ‘scale’ was not declared in this scope; did you mean ‘scalb’? 51 | IGRAPH_EXPORT void FUNCTION(igraph_array3, scale)(TYPE(igraph_array3) *a, BASE by); | ^~~~~ | scalb /usr/include/igraph/igraph_array_pmt.h:52:20: error: variable or field ‘FUNCTION’ declared void 52 | IGRAPH_EXPORT void FUNCTION(igraph_array3, fill)(TYPE(igraph_array3) *a, BASE e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:52:44: error: ‘fill’ was not declared in this scope; did you mean ‘std::fill’? 52 | IGRAPH_EXPORT void FUNCTION(igraph_array3, fill)(TYPE(igraph_array3) *a, BASE e); | ^~~~ | std::fill In file included from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /usr/include/igraph/igraph_types.h:42, from /usr/include/igraph/igraph_random.h:28, from /usr/include/igraph/igraph.h:34, from /tmp/N7k7EtdaaO/dump1.h:12: /usr/include/c++/12/bits/stl_algobase.h:991:5: note: ‘std::fill’ declared here 991 | fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) | ^~~~ /usr/include/igraph/igraph_array_pmt.h:53:30: error: redefinition of ‘igraph_error_t FUNCTION’ 53 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, update)(TYPE(igraph_array3) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:53:54: error: ‘update’ was not declared in this scope 53 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, update)(TYPE(igraph_array3) *to, | ^~~~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:36: /usr/include/igraph/igraph_dqueue_pmt.h:29:21: error: typedef ‘igraph_dqueue’ is initialized (use ‘decltype’ instead) 29 | typedef struct TYPE(igraph_dqueue) { | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:30:5: error: ‘BASE’ was not declared in this scope 30 | BASE *begin; | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:30:11: error: ‘begin’ was not declared in this scope 30 | BASE *begin; | ^~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:30:16: error: expected ‘}’ before ‘;’ token 30 | BASE *begin; | ^ /usr/include/igraph/igraph_dqueue_pmt.h:29:36: note: to match this ‘{’ 29 | typedef struct TYPE(igraph_dqueue) { | ^ /usr/include/igraph/igraph_dqueue_pmt.h:31:5: error: ‘BASE’ does not name a type 31 | BASE *end; | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:32:5: error: ‘BASE’ does not name a type 32 | BASE *stor_begin; | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:33:5: error: ‘BASE’ does not name a type 33 | BASE *stor_end; | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:34:1: error: expected declaration before ‘}’ token 34 | } TYPE(igraph_dqueue); | ^ /usr/include/igraph/igraph_dqueue_pmt.h:34:21: error: aggregate ‘TYPE igraph_dqueue’ has incomplete type and cannot be defined 34 | } TYPE(igraph_dqueue); | ^ /usr/include/igraph/igraph_dqueue_pmt.h:36:30: error: redefinition of ‘igraph_error_t FUNCTION’ 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, init)(TYPE(igraph_dqueue)* q, igraph_integer_t capacity); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:36:54: error: ‘init’ was not declared in this scope; did you mean ‘int’? 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, init)(TYPE(igraph_dqueue)* q, igraph_integer_t capacity); | ^~~~ | int /usr/include/igraph/igraph_dqueue_pmt.h:37:20: error: variable or field ‘FUNCTION’ declared void 37 | IGRAPH_EXPORT void FUNCTION(igraph_dqueue, destroy)(TYPE(igraph_dqueue)* q); | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:37:44: error: ‘destroy’ was not declared in this scope 37 | IGRAPH_EXPORT void FUNCTION(igraph_dqueue, destroy)(TYPE(igraph_dqueue)* q); | ^~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:38:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 38 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_dqueue, empty)(const TYPE(igraph_dqueue)* q); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:38:53: error: ‘empty’ was not declared in this scope 38 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_dqueue, empty)(const TYPE(igraph_dqueue)* q); | ^~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:39:20: error: variable or field ‘FUNCTION’ declared void 39 | IGRAPH_EXPORT void FUNCTION(igraph_dqueue, clear)(TYPE(igraph_dqueue)* q); | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:39:44: error: ‘clear’ was not declared in this scope 39 | IGRAPH_EXPORT void FUNCTION(igraph_dqueue, clear)(TYPE(igraph_dqueue)* q); | ^~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:40:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 40 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_dqueue, full)(TYPE(igraph_dqueue)* q); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:40:53: error: ‘full’ was not declared in this scope; did you mean ‘fmull’? 40 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_dqueue, full)(TYPE(igraph_dqueue)* q); | ^~~~ | fmull /usr/include/igraph/igraph_dqueue_pmt.h:41:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 41 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_dqueue, size)(const TYPE(igraph_dqueue)* q); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:41:56: error: ‘size’ was not declared in this scope 41 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_dqueue, size)(const TYPE(igraph_dqueue)* q); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:42:15: error: ‘BASE’ does not name a type 42 | IGRAPH_EXPORT BASE FUNCTION(igraph_dqueue, pop)(TYPE(igraph_dqueue)* q); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:43:15: error: ‘BASE’ does not name a type 43 | IGRAPH_EXPORT BASE FUNCTION(igraph_dqueue, pop_back)(TYPE(igraph_dqueue)* q); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:44:15: error: ‘BASE’ does not name a type 44 | IGRAPH_EXPORT BASE FUNCTION(igraph_dqueue, head)(const TYPE(igraph_dqueue)* q); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:45:15: error: ‘BASE’ does not name a type 45 | IGRAPH_EXPORT BASE FUNCTION(igraph_dqueue, back)(const TYPE(igraph_dqueue)* q); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:46:30: error: redefinition of ‘igraph_error_t FUNCTION’ 46 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, push)(TYPE(igraph_dqueue)* q, BASE elem); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:46:54: error: ‘push’ was not declared in this scope 46 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, push)(TYPE(igraph_dqueue)* q, BASE elem); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:47:30: error: redefinition of ‘igraph_error_t FUNCTION’ 47 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, print)(const TYPE(igraph_dqueue)* q); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:47:54: error: ‘print’ was not declared in this scope; did you mean ‘rint’? 47 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, print)(const TYPE(igraph_dqueue)* q); | ^~~~~ | rint /usr/include/igraph/igraph_dqueue_pmt.h:48:30: error: redefinition of ‘igraph_error_t FUNCTION’ 48 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, fprint)(const TYPE(igraph_dqueue)* q, FILE *file); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_dqueue_pmt.h:48:54: error: ‘fprint’ was not declared in this scope; did you mean ‘fprintf’? 48 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_dqueue, fprint)(const TYPE(igraph_dqueue)* q, FILE *file); | ^~~~~~ | fprintf /usr/include/igraph/igraph_dqueue_pmt.h:49:15: error: ‘BASE’ does not name a type 49 | IGRAPH_EXPORT BASE FUNCTION(igraph_dqueue, get)(const TYPE(igraph_dqueue) *q, igraph_integer_t idx); | ^~~~ /usr/include/igraph/igraph_dqueue_pmt.h:50:33: error: ‘BASE’ does not name a type 50 | IGRAPH_DEPRECATED IGRAPH_EXPORT BASE FUNCTION(igraph_dqueue, e)(const TYPE(igraph_dqueue) *q, igraph_integer_t idx); | ^~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:50: /usr/include/igraph/igraph_heap_pmt.h:24:21: error: typedef ‘igraph_heap’ is initialized (use ‘decltype’ instead) 24 | typedef struct TYPE(igraph_heap) { | ^~~~~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:25:5: error: ‘BASE’ was not declared in this scope 25 | BASE* stor_begin; | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:25:11: error: ‘stor_begin’ was not declared in this scope 25 | BASE* stor_begin; | ^~~~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:25:21: error: expected ‘}’ before ‘;’ token 25 | BASE* stor_begin; | ^ /usr/include/igraph/igraph_heap_pmt.h:24:34: note: to match this ‘{’ 24 | typedef struct TYPE(igraph_heap) { | ^ /usr/include/igraph/igraph_heap_pmt.h:26:5: error: ‘BASE’ does not name a type 26 | BASE* stor_end; | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:27:5: error: ‘BASE’ does not name a type 27 | BASE* end; | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:29:1: error: expected declaration before ‘}’ token 29 | } TYPE(igraph_heap); | ^ /usr/include/igraph/igraph_heap_pmt.h:29:19: error: aggregate ‘TYPE igraph_heap’ has incomplete type and cannot be defined 29 | } TYPE(igraph_heap); | ^ /usr/include/igraph/igraph_heap_pmt.h:31:30: error: redefinition of ‘igraph_error_t FUNCTION’ 31 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, init)(TYPE(igraph_heap)* h, igraph_integer_t capacity); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:31:52: error: ‘init’ was not declared in this scope; did you mean ‘int’? 31 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, init)(TYPE(igraph_heap)* h, igraph_integer_t capacity); | ^~~~ | int /usr/include/igraph/igraph_heap_pmt.h:32:30: error: redefinition of ‘igraph_error_t FUNCTION’ 32 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, init_array)(TYPE(igraph_heap) *t, const BASE *data, igraph_integer_t len); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:32:52: error: ‘init_array’ was not declared in this scope 32 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, init_array)(TYPE(igraph_heap) *t, const BASE *data, igraph_integer_t len); | ^~~~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:33:20: error: variable or field ‘FUNCTION’ declared void 33 | IGRAPH_EXPORT void FUNCTION(igraph_heap, destroy)(TYPE(igraph_heap)* h); | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:34:20: error: variable or field ‘FUNCTION’ declared void 34 | IGRAPH_EXPORT void FUNCTION(igraph_heap, clear)(TYPE(igraph_heap)* h); | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:34:42: error: ‘clear’ was not declared in this scope 34 | IGRAPH_EXPORT void FUNCTION(igraph_heap, clear)(TYPE(igraph_heap)* h); | ^~~~~ /usr/include/igraph/igraph_heap_pmt.h:35:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 35 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_heap, empty)(const TYPE(igraph_heap)* h); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:35:51: error: ‘empty’ was not declared in this scope 35 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_heap, empty)(const TYPE(igraph_heap)* h); | ^~~~~ /usr/include/igraph/igraph_heap_pmt.h:36:30: error: redefinition of ‘igraph_error_t FUNCTION’ 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, push)(TYPE(igraph_heap)* h, BASE elem); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:36:52: error: ‘push’ was not declared in this scope 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, push)(TYPE(igraph_heap)* h, BASE elem); | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:37:15: error: ‘BASE’ does not name a type 37 | IGRAPH_EXPORT BASE FUNCTION(igraph_heap, top)(const TYPE(igraph_heap)* h); | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:38:15: error: ‘BASE’ does not name a type 38 | IGRAPH_EXPORT BASE FUNCTION(igraph_heap, delete_top)(TYPE(igraph_heap)* h); | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:39:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_heap, size)(const TYPE(igraph_heap)* h); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:39:54: error: ‘size’ was not declared in this scope 39 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_heap, size)(const TYPE(igraph_heap)* h); | ^~~~ /usr/include/igraph/igraph_heap_pmt.h:40:30: error: redefinition of ‘igraph_error_t FUNCTION’ 40 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, reserve)(TYPE(igraph_heap)* h, igraph_integer_t capacity); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_heap_pmt.h:40:52: error: ‘reserve’ was not declared in this scope 40 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_heap, reserve)(TYPE(igraph_heap)* h, igraph_integer_t capacity); | ^~~~~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:61: /usr/include/igraph/igraph_matrix_pmt.h:24:21: error: typedef ‘igraph_matrix’ is initialized (use ‘decltype’ instead) 24 | typedef struct TYPE(igraph_matrix) { | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:25:10: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 25 | TYPE(igraph_vector) data; | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_matrix_pmt.h:25:23: error: invalid use of incomplete type ‘struct TYPE’ 25 | TYPE(igraph_vector) data; | ^ /usr/include/igraph/igraph_array_pmt.h:24:16: note: forward declaration of ‘struct TYPE’ 24 | typedef struct TYPE(igraph_array3) { | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:25:25: error: expected ‘}’ before ‘data’ 25 | TYPE(igraph_vector) data; | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:24:36: note: to match this ‘{’ 24 | typedef struct TYPE(igraph_matrix) { | ^ /usr/include/igraph/igraph_matrix_pmt.h:27:1: error: expected declaration before ‘}’ token 27 | } TYPE(igraph_matrix); | ^ /usr/include/igraph/igraph_matrix_pmt.h:27:21: error: aggregate ‘TYPE igraph_matrix’ has incomplete type and cannot be defined 27 | } TYPE(igraph_matrix); | ^ /usr/include/igraph/igraph_matrix_pmt.h:33:30: error: redefinition of ‘igraph_error_t FUNCTION’ 33 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, init)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:33:54: error: ‘init’ was not declared in this scope; did you mean ‘int’? 33 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, init)( | ^~~~ | int /usr/include/igraph/igraph_matrix_pmt.h:35:30: error: redefinition of ‘igraph_error_t FUNCTION’ 35 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, init_copy)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:35:54: error: ‘init_copy’ was not declared in this scope 35 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, init_copy)( | ^~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:37:20: error: variable or field ‘FUNCTION’ declared void 37 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, destroy)(TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:38:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 38 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_matrix, capacity)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:38:56: error: ‘capacity’ was not declared in this scope 38 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_matrix, capacity)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:40:48: error: redefinition of ‘igraph_error_t FUNCTION’ 40 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_matrix, copy)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:40:72: error: ‘copy’ was not declared in this scope; did you mean ‘std::copy’? 40 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_matrix, copy)( | ^~~~ | std::copy /usr/include/c++/12/bits/stl_algobase.h:611:5: note: ‘std::copy’ declared here 611 | copy(_II __first, _II __last, _OI __result) | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:48:33: error: ‘BASE’ does not name a type 48 | IGRAPH_EXPORT IGRAPH_DEPRECATED BASE FUNCTION(igraph_matrix, e)( | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:50:33: error: ‘BASE’ does not name a type 50 | IGRAPH_EXPORT IGRAPH_DEPRECATED BASE* FUNCTION(igraph_matrix, e_ptr)( | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:52:15: error: ‘BASE’ does not name a type 52 | IGRAPH_EXPORT BASE FUNCTION(igraph_matrix, get)( | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:54:15: error: ‘BASE’ does not name a type 54 | IGRAPH_EXPORT BASE* FUNCTION(igraph_matrix, get_ptr)( | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:56:20: error: variable or field ‘FUNCTION’ declared void 56 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, set)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:56:44: error: ‘set’ was not declared in this scope; did you mean ‘tzset’? 56 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, set)( | ^~~ | tzset /usr/include/igraph/igraph_matrix_pmt.h:63:20: error: variable or field ‘FUNCTION’ declared void 63 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, null)(TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:63:44: error: ‘null’ was not declared in this scope 63 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, null)(TYPE(igraph_matrix) *m); | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:64:20: error: variable or field ‘FUNCTION’ declared void 64 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, fill)(TYPE(igraph_matrix) *m, BASE e); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:64:44: error: ‘fill’ was not declared in this scope; did you mean ‘std::fill’? 64 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, fill)(TYPE(igraph_matrix) *m, BASE e); | ^~~~ | std::fill /usr/include/c++/12/bits/stl_algobase.h:991:5: note: ‘std::fill’ declared here 991 | fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:70:41: error: expected initializer before ‘*’ token 70 | IGRAPH_EXPORT const TYPE(igraph_matrix) *FUNCTION(igraph_matrix, view)( | ^ /usr/include/igraph/igraph_matrix_pmt.h:73:41: error: expected initializer before ‘*’ token 73 | IGRAPH_EXPORT const TYPE(igraph_matrix) *FUNCTION(igraph_matrix, view_from_vector)( | ^ /usr/include/igraph/igraph_matrix_pmt.h:82:20: error: variable or field ‘FUNCTION’ declared void 82 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, copy_to)(const TYPE(igraph_matrix) *m, BASE *to); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:82:44: error: ‘copy_to’ was not declared in this scope 82 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, copy_to)(const TYPE(igraph_matrix) *m, BASE *to); | ^~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:83:30: error: redefinition of ‘igraph_error_t FUNCTION’ 83 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, update)(TYPE(igraph_matrix) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:83:54: error: ‘update’ was not declared in this scope 83 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, update)(TYPE(igraph_matrix) *to, | ^~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:85:30: error: redefinition of ‘igraph_error_t FUNCTION’ 85 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, rbind)(TYPE(igraph_matrix) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:85:54: error: ‘rbind’ was not declared in this scope 85 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, rbind)(TYPE(igraph_matrix) *to, | ^~~~~ /usr/include/igraph/igraph_matrix_pmt.h:87:30: error: redefinition of ‘igraph_error_t FUNCTION’ 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, cbind)(TYPE(igraph_matrix) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:87:54: error: ‘cbind’ was not declared in this scope 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, cbind)(TYPE(igraph_matrix) *to, | ^~~~~ /usr/include/igraph/igraph_matrix_pmt.h:89:30: error: redefinition of ‘igraph_error_t FUNCTION’ 89 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap)(TYPE(igraph_matrix) *m1, TYPE(igraph_matrix) *m2); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:89:54: error: ‘swap’ was not declared in this scope 89 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap)(TYPE(igraph_matrix) *m1, TYPE(igraph_matrix) *m2); | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:89:54: note: suggested alternatives: In file included from /usr/include/c++/12/bits/stl_algobase.h:64: /usr/include/c++/12/bits/stl_pair.h:715:5: note: ‘std::swap’ 715 | swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; | ^~~~ In file included from /usr/include/c++/12/bits/stl_pair.h:61: /usr/include/c++/12/bits/move.h:196:5: note: ‘std::swap’ 196 | swap(_Tp& __a, _Tp& __b) | ^~~~ /usr/include/c++/12/bits/move.h:196:5: note: ‘std::swap’ /usr/include/igraph/igraph_matrix_pmt.h:95:30: error: redefinition of ‘igraph_error_t FUNCTION’ 95 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, get_row)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:95:54: error: ‘get_row’ was not declared in this scope; did you mean ‘getw’? 95 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, get_row)( | ^~~~~~~ | getw /usr/include/igraph/igraph_matrix_pmt.h:97:30: error: redefinition of ‘igraph_error_t FUNCTION’ 97 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, get_col)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:97:54: error: ‘get_col’ was not declared in this scope; did you mean ‘getc’? 97 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, get_col)( | ^~~~~~~ | getc /usr/include/igraph/igraph_matrix_pmt.h:99:30: error: redefinition of ‘igraph_error_t FUNCTION’ 99 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, set_row)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:99:54: error: ‘set_row’ was not declared in this scope 99 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, set_row)( | ^~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:101:30: error: redefinition of ‘igraph_error_t FUNCTION’ 101 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, set_col)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:101:54: error: ‘set_col’ was not declared in this scope 101 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, set_col)( | ^~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:103:30: error: redefinition of ‘igraph_error_t FUNCTION’ 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, select_rows)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:103:54: error: ‘select_rows’ was not declared in this scope 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, select_rows)( | ^~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:105:30: error: redefinition of ‘igraph_error_t FUNCTION’ 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, select_cols)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:105:54: error: ‘select_cols’ was not declared in this scope 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, select_cols)( | ^~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:107:30: error: redefinition of ‘igraph_error_t FUNCTION’ 107 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, select_rows_cols)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:107:54: error: ‘select_rows_cols’ was not declared in this scope 107 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, select_rows_cols)( | ^~~~~~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:115:30: error: redefinition of ‘igraph_error_t FUNCTION’ 115 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap_rows)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:115:54: error: ‘swap_rows’ was not declared in this scope 115 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap_rows)( | ^~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:117:30: error: redefinition of ‘igraph_error_t FUNCTION’ 117 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap_cols)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:117:54: error: ‘swap_cols’ was not declared in this scope 117 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap_cols)( | ^~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:119:30: error: redefinition of ‘igraph_error_t FUNCTION’ 119 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap_rowcol)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:119:54: error: ‘swap_rowcol’ was not declared in this scope 119 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, swap_rowcol)( | ^~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:121:30: error: redefinition of ‘igraph_error_t FUNCTION’ 121 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, transpose)(TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:121:54: error: ‘transpose’ was not declared in this scope 121 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, transpose)(TYPE(igraph_matrix) *m); | ^~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:127:30: error: redefinition of ‘igraph_error_t FUNCTION’ 127 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, add)(TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:127:54: error: ‘add’ was not declared in this scope; did you mean ‘fadd’? 127 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, add)(TYPE(igraph_matrix) *m1, | ^~~ | fadd /usr/include/igraph/igraph_matrix_pmt.h:129:30: error: redefinition of ‘igraph_error_t FUNCTION’ 129 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, sub)(TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:129:54: error: ‘sub’ was not declared in this scope; did you mean ‘fsub’? 129 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, sub)(TYPE(igraph_matrix) *m1, | ^~~ | fsub /usr/include/igraph/igraph_matrix_pmt.h:131:30: error: redefinition of ‘igraph_error_t FUNCTION’ 131 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, mul_elements)(TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:131:54: error: ‘mul_elements’ was not declared in this scope 131 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, mul_elements)(TYPE(igraph_matrix) *m1, | ^~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:133:30: error: redefinition of ‘igraph_error_t FUNCTION’ 133 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, div_elements)(TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:133:54: error: ‘div_elements’ was not declared in this scope 133 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, div_elements)(TYPE(igraph_matrix) *m1, | ^~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:135:20: error: variable or field ‘FUNCTION’ declared void 135 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, scale)(TYPE(igraph_matrix) *m, BASE by); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:135:44: error: ‘scale’ was not declared in this scope; did you mean ‘scalb’? 135 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, scale)(TYPE(igraph_matrix) *m, BASE by); | ^~~~~ | scalb /usr/include/igraph/igraph_matrix_pmt.h:136:20: error: variable or field ‘FUNCTION’ declared void 136 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, add_constant)(TYPE(igraph_matrix) *m, BASE plus); | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:136:44: error: ‘add_constant’ was not declared in this scope 136 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, add_constant)(TYPE(igraph_matrix) *m, BASE plus); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:143:29: error: conflicting declaration ‘igraph_real_t FUNCTION’ 143 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_matrix, min)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:143:53: error: ‘min’ was not declared in this scope; did you mean ‘std::min’? 143 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_matrix, min)(const TYPE(igraph_matrix) *m); | ^~~ | std::min /usr/include/c++/12/bits/stl_algobase.h:278:5: note: ‘std::min’ declared here 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /usr/include/igraph/igraph_matrix_pmt.h:144:29: error: conflicting declaration ‘igraph_real_t FUNCTION’ 144 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_matrix, max)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:144:53: error: ‘max’ was not declared in this scope; did you mean ‘std::max’? 144 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_matrix, max)(const TYPE(igraph_matrix) *m); | ^~~ | std::max /usr/include/c++/12/bits/stl_algobase.h:300:5: note: ‘std::max’ declared here 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /usr/include/igraph/igraph_matrix_pmt.h:145:20: error: variable or field ‘FUNCTION’ declared void 145 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, which_min)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:145:44: error: ‘which_min’ was not declared in this scope 145 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, which_min)( | ^~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:147:20: error: variable or field ‘FUNCTION’ declared void 147 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, which_max)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:147:44: error: ‘which_max’ was not declared in this scope 147 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, which_max)( | ^~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:149:20: error: variable or field ‘FUNCTION’ declared void 149 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, minmax)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:149:44: error: ‘minmax’ was not declared in this scope; did you mean ‘fminmag’? 149 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, minmax)( | ^~~~~~ | fminmag /usr/include/igraph/igraph_matrix_pmt.h:151:20: error: variable or field ‘FUNCTION’ declared void 151 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, which_minmax)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:151:44: error: ‘which_minmax’ was not declared in this scope 151 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, which_minmax)( | ^~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:160:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 160 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_e)(const TYPE(igraph_matrix) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:160:53: error: ‘all_e’ was not declared in this scope 160 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_e)(const TYPE(igraph_matrix) *lhs, | ^~~~~ /usr/include/igraph/igraph_matrix_pmt.h:163:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 163 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_l)(const TYPE(igraph_matrix) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:163:53: error: ‘all_l’ was not declared in this scope 163 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_l)(const TYPE(igraph_matrix) *lhs, | ^~~~~ /usr/include/igraph/igraph_matrix_pmt.h:165:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 165 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_g)(const TYPE(igraph_matrix) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:165:53: error: ‘all_g’ was not declared in this scope 165 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_g)(const TYPE(igraph_matrix) *lhs, | ^~~~~ /usr/include/igraph/igraph_matrix_pmt.h:167:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 167 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_le)(const TYPE(igraph_matrix) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:167:53: error: ‘all_le’ was not declared in this scope 167 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_le)(const TYPE(igraph_matrix) *lhs, | ^~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:169:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 169 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_ge)(const TYPE(igraph_matrix) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:169:53: error: ‘all_ge’ was not declared in this scope 169 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, all_ge)(const TYPE(igraph_matrix) *lhs, | ^~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:177:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 177 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, isnull)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:177:53: error: ‘isnull’ was not declared in this scope; did you mean ‘isnanl’? 177 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, isnull)(const TYPE(igraph_matrix) *m); | ^~~~~~ | isnanl /usr/include/igraph/igraph_matrix_pmt.h:178:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 178 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, empty)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:178:53: error: ‘empty’ was not declared in this scope 178 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, empty)(const TYPE(igraph_matrix) *m); | ^~~~~ /usr/include/igraph/igraph_matrix_pmt.h:179:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 179 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_matrix, size)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:179:56: error: ‘size’ was not declared in this scope 179 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_matrix, size)(const TYPE(igraph_matrix) *m); | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:180:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 180 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_matrix, nrow)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:181:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 181 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_matrix, ncol)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:182:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 182 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, is_symmetric)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:182:53: error: ‘is_symmetric’ was not declared in this scope 182 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, is_symmetric)(const TYPE(igraph_matrix) *m); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:183:15: error: ‘BASE’ does not name a type 183 | IGRAPH_EXPORT BASE FUNCTION(igraph_matrix, sum)(const TYPE(igraph_matrix) *m); | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:184:15: error: ‘BASE’ does not name a type 184 | IGRAPH_EXPORT BASE FUNCTION(igraph_matrix, prod)(const TYPE(igraph_matrix) *m); | ^~~~ /usr/include/igraph/igraph_matrix_pmt.h:185:30: error: redefinition of ‘igraph_error_t FUNCTION’ 185 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, rowsum)(const TYPE(igraph_matrix) *m, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:185:54: error: ‘rowsum’ was not declared in this scope 185 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, rowsum)(const TYPE(igraph_matrix) *m, | ^~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:187:30: error: redefinition of ‘igraph_error_t FUNCTION’ 187 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, colsum)(const TYPE(igraph_matrix) *m, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:187:54: error: ‘colsum’ was not declared in this scope 187 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, colsum)(const TYPE(igraph_matrix) *m, | ^~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:189:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 189 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, is_equal)(const TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:189:53: error: ‘is_equal’ was not declared in this scope 189 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, is_equal)(const TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:192:29: error: conflicting declaration ‘igraph_real_t FUNCTION’ 192 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_matrix, maxdifference)(const TYPE(igraph_matrix) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:192:53: error: ‘maxdifference’ was not declared in this scope; did you mean ‘igraph_difference’? 192 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_matrix, maxdifference)(const TYPE(igraph_matrix) *m1, | ^~~~~~~~~~~~~ | igraph_difference /usr/include/igraph/igraph_matrix_pmt.h:200:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 200 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, contains)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:200:53: error: ‘contains’ was not declared in this scope 200 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, contains)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:202:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 202 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, search)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:202:53: error: ‘search’ was not declared in this scope; did you mean ‘bsearch’? 202 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_matrix, search)( | ^~~~~~ | bsearch /usr/include/igraph/igraph_matrix_pmt.h:210:30: error: redefinition of ‘igraph_error_t FUNCTION’ 210 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, resize)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:210:54: error: ‘resize’ was not declared in this scope; did you mean ‘dysize’? 210 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, resize)( | ^~~~~~ | dysize /usr/include/igraph/igraph_matrix_pmt.h:212:20: error: variable or field ‘FUNCTION’ declared void 212 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, resize_min)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:212:44: error: ‘resize_min’ was not declared in this scope 212 | IGRAPH_EXPORT void FUNCTION(igraph_matrix, resize_min)( | ^~~~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:214:30: error: redefinition of ‘igraph_error_t FUNCTION’ 214 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, add_cols)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:214:54: error: ‘add_cols’ was not declared in this scope 214 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, add_cols)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:216:30: error: redefinition of ‘igraph_error_t FUNCTION’ 216 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, add_rows)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:216:54: error: ‘add_rows’ was not declared in this scope 216 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, add_rows)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:218:30: error: redefinition of ‘igraph_error_t FUNCTION’ 218 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, remove_col)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:218:54: error: ‘remove_col’ was not declared in this scope; did you mean ‘remove’? 218 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, remove_col)( | ^~~~~~~~~~ | remove /usr/include/igraph/igraph_matrix_pmt.h:220:30: error: redefinition of ‘igraph_error_t FUNCTION’ 220 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, remove_row)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:220:54: error: ‘remove_row’ was not declared in this scope; did you mean ‘remove’? 220 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, remove_row)( | ^~~~~~~~~~ | remove /usr/include/igraph/igraph_matrix_pmt.h:227:30: error: redefinition of ‘igraph_error_t FUNCTION’ 227 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, print)(const TYPE(igraph_matrix) *m); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:227:54: error: ‘print’ was not declared in this scope; did you mean ‘rint’? 227 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, print)(const TYPE(igraph_matrix) *m); | ^~~~~ | rint /usr/include/igraph/igraph_matrix_pmt.h:228:30: error: redefinition of ‘igraph_error_t FUNCTION’ 228 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, fprint)(const TYPE(igraph_matrix) *m, FILE *file); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:228:54: error: ‘fprint’ was not declared in this scope; did you mean ‘fprintf’? 228 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, fprint)(const TYPE(igraph_matrix) *m, FILE *file); | ^~~~~~ | fprintf /usr/include/igraph/igraph_matrix_pmt.h:260:30: error: redefinition of ‘igraph_error_t FUNCTION’ 260 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, permdelete_rows)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_matrix_pmt.h:260:54: error: ‘permdelete_rows’ was not declared in this scope 260 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_matrix, permdelete_rows)( | ^~~~~~~~~~~~~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:80: /usr/include/igraph/igraph_stack_pmt.h:31:21: error: typedef ‘igraph_stack’ is initialized (use ‘decltype’ instead) 31 | typedef struct TYPE(igraph_stack) { | ^~~~~~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:32:5: error: ‘BASE’ was not declared in this scope 32 | BASE* stor_begin; | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:32:11: error: ‘stor_begin’ was not declared in this scope 32 | BASE* stor_begin; | ^~~~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:32:21: error: expected ‘}’ before ‘;’ token 32 | BASE* stor_begin; | ^ /usr/include/igraph/igraph_stack_pmt.h:31:35: note: to match this ‘{’ 31 | typedef struct TYPE(igraph_stack) { | ^ /usr/include/igraph/igraph_stack_pmt.h:33:5: error: ‘BASE’ does not name a type 33 | BASE* stor_end; | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:34:5: error: ‘BASE’ does not name a type 34 | BASE* end; | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:35:1: error: expected declaration before ‘}’ token 35 | } TYPE(igraph_stack); | ^ /usr/include/igraph/igraph_stack_pmt.h:35:20: error: aggregate ‘TYPE igraph_stack’ has incomplete type and cannot be defined 35 | } TYPE(igraph_stack); | ^ /usr/include/igraph/igraph_stack_pmt.h:37:30: error: redefinition of ‘igraph_error_t FUNCTION’ 37 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, init)(TYPE(igraph_stack)* s, igraph_integer_t capacity); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:37:53: error: ‘init’ was not declared in this scope; did you mean ‘int’? 37 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, init)(TYPE(igraph_stack)* s, igraph_integer_t capacity); | ^~~~ | int /usr/include/igraph/igraph_stack_pmt.h:38:20: error: variable or field ‘FUNCTION’ declared void 38 | IGRAPH_EXPORT void FUNCTION(igraph_stack, destroy)(TYPE(igraph_stack)* s); | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:39:30: error: redefinition of ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, reserve)(TYPE(igraph_stack)* s, igraph_integer_t capacity); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:39:53: error: ‘reserve’ was not declared in this scope 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, reserve)(TYPE(igraph_stack)* s, igraph_integer_t capacity); | ^~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:40:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 40 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_stack, empty)(TYPE(igraph_stack)* s); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:40:52: error: ‘empty’ was not declared in this scope 40 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_stack, empty)(TYPE(igraph_stack)* s); | ^~~~~ /usr/include/igraph/igraph_stack_pmt.h:41:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 41 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_stack, size)(const TYPE(igraph_stack)* s); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:41:55: error: ‘size’ was not declared in this scope 41 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_stack, size)(const TYPE(igraph_stack)* s); | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:42:20: error: variable or field ‘FUNCTION’ declared void 42 | IGRAPH_EXPORT void FUNCTION(igraph_stack, clear)(TYPE(igraph_stack)* s); | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:42:43: error: ‘clear’ was not declared in this scope 42 | IGRAPH_EXPORT void FUNCTION(igraph_stack, clear)(TYPE(igraph_stack)* s); | ^~~~~ /usr/include/igraph/igraph_stack_pmt.h:43:30: error: redefinition of ‘igraph_error_t FUNCTION’ 43 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, push)(TYPE(igraph_stack)* s, BASE elem); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:43:53: error: ‘push’ was not declared in this scope 43 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, push)(TYPE(igraph_stack)* s, BASE elem); | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:44:15: error: ‘BASE’ does not name a type 44 | IGRAPH_EXPORT BASE FUNCTION(igraph_stack, pop)(TYPE(igraph_stack)* s); | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:45:15: error: ‘BASE’ does not name a type 45 | IGRAPH_EXPORT BASE FUNCTION(igraph_stack, top)(const TYPE(igraph_stack)* s); | ^~~~ /usr/include/igraph/igraph_stack_pmt.h:46:30: error: redefinition of ‘igraph_error_t FUNCTION’ 46 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, print)(const TYPE(igraph_stack)* s); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:46:53: error: ‘print’ was not declared in this scope; did you mean ‘rint’? 46 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, print)(const TYPE(igraph_stack)* s); | ^~~~~ | rint /usr/include/igraph/igraph_stack_pmt.h:47:30: error: redefinition of ‘igraph_error_t FUNCTION’ 47 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, fprint)(const TYPE(igraph_stack)* s, FILE *file); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_stack_pmt.h:47:53: error: ‘fprint’ was not declared in this scope; did you mean ‘fprintf’? 47 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_stack, fprint)(const TYPE(igraph_stack)* s, FILE *file); | ^~~~~~ | fprintf In file included from /tmp/N7k7EtdaaO/dump1.h:87: /usr/include/igraph/igraph_typed_list_pmt.h:32:21: error: ‘BASE’ does not name a type 32 | #define ITEM_TYPE BASE | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:41:5: note: in expansion of macro ‘ITEM_TYPE’ 41 | ITEM_TYPE* stor_begin; | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:32:21: error: ‘BASE’ does not name a type 32 | #define ITEM_TYPE BASE | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:42:5: note: in expansion of macro ‘ITEM_TYPE’ 42 | ITEM_TYPE* stor_end; | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:32:21: error: ‘BASE’ does not name a type 32 | #define ITEM_TYPE BASE | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:43:5: note: in expansion of macro ‘ITEM_TYPE’ 43 | ITEM_TYPE* end; | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:47:3: error: conflicting declaration ‘typedef struct TYPE TYPE’ 47 | } TYPE; | ^~~~ /usr/include/igraph/igraph_array_pmt.h:24:16: note: previous declaration as ‘struct TYPE’ 24 | typedef struct TYPE(igraph_array3) { | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:53:30: error: redefinition of ‘igraph_error_t FUNCTION’ 53 | IGRAPH_EXPORT igraph_error_t FUNCTION(init)(TYPE* v, igraph_integer_t size); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:53:39: error: ‘init’ was not declared in this scope; did you mean ‘int’? 53 | IGRAPH_EXPORT igraph_error_t FUNCTION(init)(TYPE* v, igraph_integer_t size); | ^~~~ | int /usr/include/igraph/igraph_typed_list_pmt.h:54:20: error: variable or field ‘FUNCTION’ declared void 54 | IGRAPH_EXPORT void FUNCTION(destroy)(TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:32:21: error: ‘BASE’ does not name a type 32 | #define ITEM_TYPE BASE | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:60:15: note: in expansion of macro ‘ITEM_TYPE’ 60 | IGRAPH_EXPORT ITEM_TYPE* FUNCTION(get_ptr)(const TYPE* v, igraph_integer_t pos); | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:61:20: error: variable or field ‘FUNCTION’ declared void 61 | IGRAPH_EXPORT void FUNCTION(set)(TYPE* v, igraph_integer_t pos, ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:61:29: error: ‘set’ was not declared in this scope; did you mean ‘tzset’? 61 | IGRAPH_EXPORT void FUNCTION(set)(TYPE* v, igraph_integer_t pos, ITEM_TYPE* e); | ^~~ | tzset /usr/include/igraph/igraph_typed_list_pmt.h:32:21: error: ‘BASE’ does not name a type 32 | #define ITEM_TYPE BASE | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:62:15: note: in expansion of macro ‘ITEM_TYPE’ 62 | IGRAPH_EXPORT ITEM_TYPE* FUNCTION(tail_ptr)(const TYPE *v); | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:68:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 68 | IGRAPH_EXPORT igraph_integer_t FUNCTION(capacity)(const TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:68:41: error: ‘capacity’ was not declared in this scope 68 | IGRAPH_EXPORT igraph_integer_t FUNCTION(capacity)(const TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:69:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 69 | IGRAPH_EXPORT igraph_bool_t FUNCTION(empty)(const TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:69:38: error: ‘empty’ was not declared in this scope 69 | IGRAPH_EXPORT igraph_bool_t FUNCTION(empty)(const TYPE* v); | ^~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:70:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 70 | IGRAPH_EXPORT igraph_integer_t FUNCTION(size)(const TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:70:41: error: ‘size’ was not declared in this scope 70 | IGRAPH_EXPORT igraph_integer_t FUNCTION(size)(const TYPE* v); | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:76:20: error: variable or field ‘FUNCTION’ declared void 76 | IGRAPH_EXPORT void FUNCTION(clear)(TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:76:29: error: ‘clear’ was not declared in this scope 76 | IGRAPH_EXPORT void FUNCTION(clear)(TYPE* v); | ^~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:77:30: error: redefinition of ‘igraph_error_t FUNCTION’ 77 | IGRAPH_EXPORT igraph_error_t FUNCTION(reserve)(TYPE* v, igraph_integer_t capacity); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:77:39: error: ‘reserve’ was not declared in this scope 77 | IGRAPH_EXPORT igraph_error_t FUNCTION(reserve)(TYPE* v, igraph_integer_t capacity); | ^~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:78:30: error: redefinition of ‘igraph_error_t FUNCTION’ 78 | IGRAPH_EXPORT igraph_error_t FUNCTION(resize)(TYPE* v, igraph_integer_t new_size); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:78:39: error: ‘resize’ was not declared in this scope; did you mean ‘dysize’? 78 | IGRAPH_EXPORT igraph_error_t FUNCTION(resize)(TYPE* v, igraph_integer_t new_size); | ^~~~~~ | dysize /usr/include/igraph/igraph_typed_list_pmt.h:84:20: error: variable or field ‘FUNCTION’ declared void 84 | IGRAPH_EXPORT void FUNCTION(discard)(TYPE* v, igraph_integer_t index); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:84:29: error: ‘discard’ was not declared in this scope 84 | IGRAPH_EXPORT void FUNCTION(discard)(TYPE* v, igraph_integer_t index); | ^~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:85:20: error: variable or field ‘FUNCTION’ declared void 85 | IGRAPH_EXPORT void FUNCTION(discard_back)(TYPE* v); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:85:29: error: ‘discard_back’ was not declared in this scope 85 | IGRAPH_EXPORT void FUNCTION(discard_back)(TYPE* v); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:86:20: error: variable or field ‘FUNCTION’ declared void 86 | IGRAPH_EXPORT void FUNCTION(discard_fast)(TYPE* v, igraph_integer_t index); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:86:29: error: ‘discard_fast’ was not declared in this scope 86 | IGRAPH_EXPORT void FUNCTION(discard_fast)(TYPE* v, igraph_integer_t index); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:87:30: error: redefinition of ‘igraph_error_t FUNCTION’ 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(insert)(TYPE* v, igraph_integer_t pos, ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:87:39: error: ‘insert’ was not declared in this scope 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(insert)(TYPE* v, igraph_integer_t pos, ITEM_TYPE* e); | ^~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:88:30: error: redefinition of ‘igraph_error_t FUNCTION’ 88 | IGRAPH_EXPORT igraph_error_t FUNCTION(insert_copy)(TYPE* v, igraph_integer_t pos, const ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:88:39: error: ‘insert_copy’ was not declared in this scope 88 | IGRAPH_EXPORT igraph_error_t FUNCTION(insert_copy)(TYPE* v, igraph_integer_t pos, const ITEM_TYPE* e); | ^~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:89:30: error: redefinition of ‘igraph_error_t FUNCTION’ 89 | IGRAPH_EXPORT igraph_error_t FUNCTION(insert_new)(TYPE* v, igraph_integer_t pos, ITEM_TYPE** result); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:89:39: error: ‘insert_new’ was not declared in this scope 89 | IGRAPH_EXPORT igraph_error_t FUNCTION(insert_new)(TYPE* v, igraph_integer_t pos, ITEM_TYPE** result); | ^~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:90:30: error: redefinition of ‘igraph_error_t FUNCTION’ 90 | IGRAPH_EXPORT igraph_error_t FUNCTION(push_back)(TYPE* v, ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:90:39: error: ‘push_back’ was not declared in this scope 90 | IGRAPH_EXPORT igraph_error_t FUNCTION(push_back)(TYPE* v, ITEM_TYPE* e); | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:91:30: error: redefinition of ‘igraph_error_t FUNCTION’ 91 | IGRAPH_EXPORT igraph_error_t FUNCTION(push_back_copy)(TYPE* v, const ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:91:39: error: ‘push_back_copy’ was not declared in this scope 91 | IGRAPH_EXPORT igraph_error_t FUNCTION(push_back_copy)(TYPE* v, const ITEM_TYPE* e); | ^~~~~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:92:30: error: redefinition of ‘igraph_error_t FUNCTION’ 92 | IGRAPH_EXPORT igraph_error_t FUNCTION(push_back_new)(TYPE* v, ITEM_TYPE** result); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:92:39: error: ‘push_back_new’ was not declared in this scope 92 | IGRAPH_EXPORT igraph_error_t FUNCTION(push_back_new)(TYPE* v, ITEM_TYPE** result); | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:32:21: error: ‘BASE’ does not name a type 32 | #define ITEM_TYPE BASE | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:93:15: note: in expansion of macro ‘ITEM_TYPE’ 93 | IGRAPH_EXPORT ITEM_TYPE FUNCTION(pop_back)(TYPE* v); | ^~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:94:30: error: redefinition of ‘igraph_error_t FUNCTION’ 94 | IGRAPH_EXPORT igraph_error_t FUNCTION(remove)(TYPE* v, igraph_integer_t index, ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:95:30: error: redefinition of ‘igraph_error_t FUNCTION’ 95 | IGRAPH_EXPORT igraph_error_t FUNCTION(remove_fast)(TYPE* v, igraph_integer_t index, ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:95:39: error: ‘remove_fast’ was not declared in this scope 95 | IGRAPH_EXPORT igraph_error_t FUNCTION(remove_fast)(TYPE* v, igraph_integer_t index, ITEM_TYPE* e); | ^~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:96:20: error: variable or field ‘FUNCTION’ declared void 96 | IGRAPH_EXPORT void FUNCTION(replace)(TYPE* v, igraph_integer_t pos, ITEM_TYPE* e); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:96:29: error: ‘replace’ was not declared in this scope 96 | IGRAPH_EXPORT void FUNCTION(replace)(TYPE* v, igraph_integer_t pos, ITEM_TYPE* e); | ^~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:97:20: error: variable or field ‘FUNCTION’ declared void 97 | IGRAPH_EXPORT void FUNCTION(remove_consecutive_duplicates)(TYPE *v, igraph_bool_t (*eq)(const ITEM_TYPE*, const ITEM_TYPE*)); | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:97:29: error: ‘remove_consecutive_duplicates’ was not declared in this scope 97 | IGRAPH_EXPORT void FUNCTION(remove_consecutive_duplicates)(TYPE *v, igraph_bool_t (*eq)(const ITEM_TYPE*, const ITEM_TYPE*)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:103:30: error: redefinition of ‘igraph_error_t FUNCTION’ 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(permute)(TYPE *v, const igraph_vector_int_t *index); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:103:39: error: ‘permute’ was not declared in this scope 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(permute)(TYPE *v, const igraph_vector_int_t *index); | ^~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:104:30: error: redefinition of ‘igraph_error_t FUNCTION’ 104 | IGRAPH_EXPORT igraph_error_t FUNCTION(swap)(TYPE *v1, TYPE *v2); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:104:39: error: ‘swap’ was not declared in this scope 104 | IGRAPH_EXPORT igraph_error_t FUNCTION(swap)(TYPE *v1, TYPE *v2); | ^~~~ /usr/include/igraph/igraph_typed_list_pmt.h:104:39: note: suggested alternatives: /usr/include/c++/12/bits/stl_pair.h:715:5: note: ‘std::swap’ 715 | swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; | ^~~~ /usr/include/c++/12/bits/move.h:196:5: note: ‘std::swap’ 196 | swap(_Tp& __a, _Tp& __b) | ^~~~ /usr/include/c++/12/bits/move.h:196:5: note: ‘std::swap’ /usr/include/igraph/igraph_typed_list_pmt.h:105:30: error: redefinition of ‘igraph_error_t FUNCTION’ 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(swap_elements)(TYPE* v, igraph_integer_t i, igraph_integer_t j); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:105:39: error: ‘swap_elements’ was not declared in this scope 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(swap_elements)(TYPE* v, igraph_integer_t i, igraph_integer_t j); | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:111:20: error: variable or field ‘FUNCTION’ declared void 111 | IGRAPH_EXPORT void FUNCTION(sort)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:111:29: error: ‘sort’ was not declared in this scope; did you mean ‘sqrt’? 111 | IGRAPH_EXPORT void FUNCTION(sort)( | ^~~~ | sqrt /usr/include/igraph/igraph_typed_list_pmt.h:113:30: error: redefinition of ‘igraph_error_t FUNCTION’ 113 | IGRAPH_EXPORT igraph_error_t FUNCTION(sort_ind)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_typed_list_pmt.h:113:39: error: ‘sort_ind’ was not declared in this scope 113 | IGRAPH_EXPORT igraph_error_t FUNCTION(sort_ind)( | ^~~~~~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:91: /usr/include/igraph/igraph_vector_pmt.h:28:30: error: redefinition of ‘igraph_error_t FUNCTION’ 28 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:28:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 28 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:28:54: error: ‘init’ was not declared in this scope; did you mean ‘int’? 28 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init)( | ^~~~ | int /usr/include/igraph/igraph_vector_pmt.h:30:30: error: redefinition of ‘igraph_error_t FUNCTION’ 30 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_array)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:30:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 30 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_array)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:30:54: error: ‘init_array’ was not declared in this scope 30 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_array)( | ^~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:32:30: error: redefinition of ‘igraph_error_t FUNCTION’ 32 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_copy)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:32:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 32 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_copy)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:32:54: error: ‘init_copy’ was not declared in this scope 32 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_copy)( | ^~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:36:30: error: redefinition of ‘igraph_error_t FUNCTION’ 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_range)(TYPE(igraph_vector)*v, BASE start, BASE end); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:36:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_range)(TYPE(igraph_vector)*v, BASE start, BASE end); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:36:54: error: ‘init_range’ was not declared in this scope 36 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_range)(TYPE(igraph_vector)*v, BASE start, BASE end); | ^~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:37:48: error: redefinition of ‘igraph_error_t FUNCTION’ 37 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, init_seq)(TYPE(igraph_vector)*v, BASE from, BASE to); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:37:57: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 37 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, init_seq)(TYPE(igraph_vector)*v, BASE from, BASE to); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:37:72: error: ‘init_seq’ was not declared in this scope 37 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, init_seq)(TYPE(igraph_vector)*v, BASE from, BASE to); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:40:48: error: redefinition of ‘igraph_error_t FUNCTION’ 40 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, copy)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:40:57: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 40 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, copy)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:40:72: error: ‘copy’ was not declared in this scope; did you mean ‘std::copy’? 40 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, copy)( | ^~~~ | std::copy /usr/include/c++/12/bits/stl_algobase.h:611:5: note: ‘std::copy’ declared here 611 | copy(_II __first, _II __last, _OI __result) | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:42:20: error: variable or field ‘FUNCTION’ declared void 42 | IGRAPH_EXPORT void FUNCTION(igraph_vector, destroy)(TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:42:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 42 | IGRAPH_EXPORT void FUNCTION(igraph_vector, destroy)(TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:44:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 44 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, capacity)(const TYPE(igraph_vector)*v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:44:41: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 44 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, capacity)(const TYPE(igraph_vector)*v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:44:56: error: ‘capacity’ was not declared in this scope 44 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, capacity)(const TYPE(igraph_vector)*v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:72:33: error: ‘BASE’ does not name a type 72 | IGRAPH_EXPORT IGRAPH_DEPRECATED BASE FUNCTION(igraph_vector, e)(const TYPE(igraph_vector)* v, igraph_integer_t pos); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:73:33: error: ‘BASE’ does not name a type 73 | IGRAPH_EXPORT IGRAPH_DEPRECATED BASE* FUNCTION(igraph_vector, e_ptr)(const TYPE(igraph_vector)* v, igraph_integer_t pos); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:74:15: error: ‘BASE’ does not name a type 74 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, get)(const TYPE(igraph_vector)* v, igraph_integer_t pos); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:75:15: error: ‘BASE’ does not name a type 75 | IGRAPH_EXPORT BASE* FUNCTION(igraph_vector, get_ptr)(const TYPE(igraph_vector)* v, igraph_integer_t pos); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:76:20: error: variable or field ‘FUNCTION’ declared void 76 | IGRAPH_EXPORT void FUNCTION(igraph_vector, set)(TYPE(igraph_vector)* v, igraph_integer_t pos, BASE value); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:76:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 76 | IGRAPH_EXPORT void FUNCTION(igraph_vector, set)(TYPE(igraph_vector)* v, igraph_integer_t pos, BASE value); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:76:44: error: ‘set’ was not declared in this scope; did you mean ‘tzset’? 76 | IGRAPH_EXPORT void FUNCTION(igraph_vector, set)(TYPE(igraph_vector)* v, igraph_integer_t pos, BASE value); | ^~~ | tzset /usr/include/igraph/igraph_vector_pmt.h:77:15: error: ‘BASE’ does not name a type 77 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, tail)(const TYPE(igraph_vector) *v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:83:20: error: variable or field ‘FUNCTION’ declared void 83 | IGRAPH_EXPORT void FUNCTION(igraph_vector, null)(TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:83:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 83 | IGRAPH_EXPORT void FUNCTION(igraph_vector, null)(TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:83:44: error: ‘null’ was not declared in this scope 83 | IGRAPH_EXPORT void FUNCTION(igraph_vector, null)(TYPE(igraph_vector)* v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:84:20: error: variable or field ‘FUNCTION’ declared void 84 | IGRAPH_EXPORT void FUNCTION(igraph_vector, fill)(TYPE(igraph_vector)* v, BASE e); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:84:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 84 | IGRAPH_EXPORT void FUNCTION(igraph_vector, fill)(TYPE(igraph_vector)* v, BASE e); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:84:44: error: ‘fill’ was not declared in this scope; did you mean ‘std::fill’? 84 | IGRAPH_EXPORT void FUNCTION(igraph_vector, fill)(TYPE(igraph_vector)* v, BASE e); | ^~~~ | std::fill /usr/include/c++/12/bits/stl_algobase.h:991:5: note: ‘std::fill’ declared here 991 | fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:87:30: error: redefinition of ‘igraph_error_t FUNCTION’ 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, range)(TYPE(igraph_vector)*v, BASE start, BASE end); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:87:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, range)(TYPE(igraph_vector)*v, BASE start, BASE end); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:87:54: error: ‘range’ was not declared in this scope 87 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, range)(TYPE(igraph_vector)*v, BASE start, BASE end); | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:94:41: error: expected initializer before ‘*’ token 94 | IGRAPH_EXPORT const TYPE(igraph_vector) *FUNCTION(igraph_vector, view)(const TYPE(igraph_vector) *v, | ^ /usr/include/igraph/igraph_vector_pmt.h:102:20: error: variable or field ‘FUNCTION’ declared void 102 | IGRAPH_EXPORT void FUNCTION(igraph_vector, copy_to)(const TYPE(igraph_vector) *v, BASE* to); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:102:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 102 | IGRAPH_EXPORT void FUNCTION(igraph_vector, copy_to)(const TYPE(igraph_vector) *v, BASE* to); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:102:44: error: ‘copy_to’ was not declared in this scope 102 | IGRAPH_EXPORT void FUNCTION(igraph_vector, copy_to)(const TYPE(igraph_vector) *v, BASE* to); | ^~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:103:30: error: redefinition of ‘igraph_error_t FUNCTION’ 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, update)(TYPE(igraph_vector) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:103:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, update)(TYPE(igraph_vector) *to, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:103:54: error: ‘update’ was not declared in this scope 103 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, update)(TYPE(igraph_vector) *to, | ^~~~~~ /usr/include/igraph/igraph_vector_pmt.h:105:30: error: redefinition of ‘igraph_error_t FUNCTION’ 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, append)(TYPE(igraph_vector) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:105:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, append)(TYPE(igraph_vector) *to, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:105:54: error: ‘append’ was not declared in this scope 105 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, append)(TYPE(igraph_vector) *to, | ^~~~~~ /usr/include/igraph/igraph_vector_pmt.h:107:30: error: redefinition of ‘igraph_error_t FUNCTION’ 107 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, swap)(TYPE(igraph_vector) *v1, TYPE(igraph_vector) *v2); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:107:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 107 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, swap)(TYPE(igraph_vector) *v1, TYPE(igraph_vector) *v2); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:107:54: error: ‘swap’ was not declared in this scope 107 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, swap)(TYPE(igraph_vector) *v1, TYPE(igraph_vector) *v2); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:107:54: note: suggested alternatives: /usr/include/c++/12/bits/stl_pair.h:715:5: note: ‘std::swap’ 715 | swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; | ^~~~ /usr/include/c++/12/bits/move.h:196:5: note: ‘std::swap’ 196 | swap(_Tp& __a, _Tp& __b) | ^~~~ /usr/include/c++/12/bits/move.h:196:5: note: ‘std::swap’ /usr/include/igraph/igraph_vector_pmt.h:113:30: error: redefinition of ‘igraph_error_t FUNCTION’ 113 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, swap_elements)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:113:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 113 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, swap_elements)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:113:54: error: ‘swap_elements’ was not declared in this scope 113 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, swap_elements)( | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:115:30: error: redefinition of ‘igraph_error_t FUNCTION’ 115 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, reverse)(TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:115:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 115 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, reverse)(TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:115:54: error: ‘reverse’ was not declared in this scope 115 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, reverse)(TYPE(igraph_vector) *v); | ^~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:116:30: error: redefinition of ‘igraph_error_t FUNCTION’ 116 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, permute)(TYPE(igraph_vector) *v, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:116:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 116 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, permute)(TYPE(igraph_vector) *v, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:116:54: error: ‘permute’ was not declared in this scope 116 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, permute)(TYPE(igraph_vector) *v, | ^~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:118:30: error: redefinition of ‘igraph_error_t FUNCTION’ 118 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, shuffle)(TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:118:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 118 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, shuffle)(TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:118:54: error: ‘shuffle’ was not declared in this scope 118 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, shuffle)(TYPE(igraph_vector) *v); | ^~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:124:20: error: variable or field ‘FUNCTION’ declared void 124 | IGRAPH_EXPORT void FUNCTION(igraph_vector, add_constant)(TYPE(igraph_vector) *v, BASE plus); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:124:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 124 | IGRAPH_EXPORT void FUNCTION(igraph_vector, add_constant)(TYPE(igraph_vector) *v, BASE plus); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:124:44: error: ‘add_constant’ was not declared in this scope 124 | IGRAPH_EXPORT void FUNCTION(igraph_vector, add_constant)(TYPE(igraph_vector) *v, BASE plus); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:125:20: error: variable or field ‘FUNCTION’ declared void 125 | IGRAPH_EXPORT void FUNCTION(igraph_vector, scale)(TYPE(igraph_vector) *v, BASE by); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:125:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 125 | IGRAPH_EXPORT void FUNCTION(igraph_vector, scale)(TYPE(igraph_vector) *v, BASE by); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:125:44: error: ‘scale’ was not declared in this scope; did you mean ‘scalb’? 125 | IGRAPH_EXPORT void FUNCTION(igraph_vector, scale)(TYPE(igraph_vector) *v, BASE by); | ^~~~~ | scalb /usr/include/igraph/igraph_vector_pmt.h:126:30: error: redefinition of ‘igraph_error_t FUNCTION’ 126 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, add)(TYPE(igraph_vector) *v1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:126:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 126 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, add)(TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:126:54: error: ‘add’ was not declared in this scope; did you mean ‘fadd’? 126 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, add)(TYPE(igraph_vector) *v1, | ^~~ | fadd /usr/include/igraph/igraph_vector_pmt.h:128:30: error: redefinition of ‘igraph_error_t FUNCTION’ 128 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, sub)(TYPE(igraph_vector) *v1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:128:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 128 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, sub)(TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:128:54: error: ‘sub’ was not declared in this scope; did you mean ‘fsub’? 128 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, sub)(TYPE(igraph_vector) *v1, | ^~~ | fsub /usr/include/igraph/igraph_vector_pmt.h:130:30: error: redefinition of ‘igraph_error_t FUNCTION’ 130 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, mul)(TYPE(igraph_vector) *v1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:130:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 130 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, mul)(TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:130:54: error: ‘mul’ was not declared in this scope; did you mean ‘fmul’? 130 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, mul)(TYPE(igraph_vector) *v1, | ^~~ | fmul /usr/include/igraph/igraph_vector_pmt.h:132:30: error: redefinition of ‘igraph_error_t FUNCTION’ 132 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, div)(TYPE(igraph_vector) *v1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:132:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 132 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, div)(TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:134:30: error: redefinition of ‘igraph_error_t FUNCTION’ 134 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, cumsum)(TYPE(igraph_vector) *to, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:134:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 134 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, cumsum)(TYPE(igraph_vector) *to, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:134:54: error: ‘cumsum’ was not declared in this scope 134 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, cumsum)(TYPE(igraph_vector) *to, | ^~~~~~ /usr/include/igraph/igraph_vector_pmt.h:138:34: error: redefinition of ‘igraph_error_t FUNCTION’ 138 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, abs)(TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:138:43: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 138 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, abs)(TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:145:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 145 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_e)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:145:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 145 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_e)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:145:53: error: ‘all_e’ was not declared in this scope 145 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_e)(const TYPE(igraph_vector) *lhs, | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:148:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 148 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_l)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:148:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 148 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_l)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:148:53: error: ‘all_l’ was not declared in this scope 148 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_l)(const TYPE(igraph_vector) *lhs, | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:150:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 150 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_g)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:150:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 150 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_g)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:150:53: error: ‘all_g’ was not declared in this scope 150 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_g)(const TYPE(igraph_vector) *lhs, | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:152:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 152 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_le)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:152:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 152 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_le)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:152:53: error: ‘all_le’ was not declared in this scope 152 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_le)(const TYPE(igraph_vector) *lhs, | ^~~~~~ /usr/include/igraph/igraph_vector_pmt.h:154:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 154 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_ge)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:154:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 154 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_ge)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:154:53: error: ‘all_ge’ was not declared in this scope 154 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, all_ge)(const TYPE(igraph_vector) *lhs, | ^~~~~~ /usr/include/igraph/igraph_vector_pmt.h:156:19: error: conflicting declaration ‘int FUNCTION’ 156 | IGRAPH_EXPORT int FUNCTION(igraph_vector, lex_cmp)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:156:28: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 156 | IGRAPH_EXPORT int FUNCTION(igraph_vector, lex_cmp)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:156:43: error: ‘lex_cmp’ was not declared in this scope 156 | IGRAPH_EXPORT int FUNCTION(igraph_vector, lex_cmp)( | ^~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:158:19: error: conflicting declaration ‘int FUNCTION’ 158 | IGRAPH_EXPORT int FUNCTION(igraph_vector, colex_cmp)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:158:28: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 158 | IGRAPH_EXPORT int FUNCTION(igraph_vector, colex_cmp)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:158:43: error: ‘colex_cmp’ was not declared in this scope 158 | IGRAPH_EXPORT int FUNCTION(igraph_vector, colex_cmp)( | ^~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:160:19: error: conflicting declaration ‘int FUNCTION’ 160 | IGRAPH_EXPORT int FUNCTION(igraph_vector, lex_cmp_untyped)(const void *lhs, const void *rhs); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:160:28: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 160 | IGRAPH_EXPORT int FUNCTION(igraph_vector, lex_cmp_untyped)(const void *lhs, const void *rhs); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:160:43: error: ‘lex_cmp_untyped’ was not declared in this scope 160 | IGRAPH_EXPORT int FUNCTION(igraph_vector, lex_cmp_untyped)(const void *lhs, const void *rhs); | ^~~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:161:19: error: conflicting declaration ‘int FUNCTION’ 161 | IGRAPH_EXPORT int FUNCTION(igraph_vector, colex_cmp_untyped)(const void *lhs, const void *rhs); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:161:28: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 161 | IGRAPH_EXPORT int FUNCTION(igraph_vector, colex_cmp_untyped)(const void *lhs, const void *rhs); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:161:43: error: ‘colex_cmp_untyped’ was not declared in this scope 161 | IGRAPH_EXPORT int FUNCTION(igraph_vector, colex_cmp_untyped)(const void *lhs, const void *rhs); | ^~~~~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:169:15: error: ‘BASE’ does not name a type 169 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, min)(const TYPE(igraph_vector)* v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:170:15: error: ‘BASE’ does not name a type 170 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, max)(const TYPE(igraph_vector)* v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:171:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 171 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, which_min)(const TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:171:41: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 171 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, which_min)(const TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:171:56: error: ‘which_min’ was not declared in this scope 171 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, which_min)(const TYPE(igraph_vector)* v); | ^~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:172:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 172 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, which_max)(const TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:172:41: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 172 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, which_max)(const TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:172:56: error: ‘which_max’ was not declared in this scope 172 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, which_max)(const TYPE(igraph_vector)* v); | ^~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:173:20: error: variable or field ‘FUNCTION’ declared void 173 | IGRAPH_EXPORT void FUNCTION(igraph_vector, minmax)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:173:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 173 | IGRAPH_EXPORT void FUNCTION(igraph_vector, minmax)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:173:44: error: ‘minmax’ was not declared in this scope; did you mean ‘fminmag’? 173 | IGRAPH_EXPORT void FUNCTION(igraph_vector, minmax)( | ^~~~~~ | fminmag /usr/include/igraph/igraph_vector_pmt.h:175:20: error: variable or field ‘FUNCTION’ declared void 175 | IGRAPH_EXPORT void FUNCTION(igraph_vector, which_minmax)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:175:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 175 | IGRAPH_EXPORT void FUNCTION(igraph_vector, which_minmax)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:175:44: error: ‘which_minmax’ was not declared in this scope 175 | IGRAPH_EXPORT void FUNCTION(igraph_vector, which_minmax)( | ^~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:183:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 183 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, empty)(const TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:183:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 183 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, empty)(const TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:183:53: error: ‘empty’ was not declared in this scope 183 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, empty)(const TYPE(igraph_vector)* v); | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:184:32: error: conflicting declaration ‘igraph_integer_t FUNCTION’ 184 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, size)(const TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:184:41: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 184 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, size)(const TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:184:56: error: ‘size’ was not declared in this scope 184 | IGRAPH_EXPORT igraph_integer_t FUNCTION(igraph_vector, size)(const TYPE(igraph_vector)* v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:185:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 185 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, isnull)(const TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:185:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 185 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, isnull)(const TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:185:53: error: ‘isnull’ was not declared in this scope; did you mean ‘isnanl’? 185 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, isnull)(const TYPE(igraph_vector) *v); | ^~~~~~ | isnanl /usr/include/igraph/igraph_vector_pmt.h:186:15: error: ‘BASE’ does not name a type 186 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, sum)(const TYPE(igraph_vector) *v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:187:29: error: conflicting declaration ‘igraph_real_t FUNCTION’ 187 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_vector, sumsq)(const TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:187:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 187 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_vector, sumsq)(const TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:187:53: error: ‘sumsq’ was not declared in this scope 187 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_vector, sumsq)(const TYPE(igraph_vector) *v); | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:188:15: error: ‘BASE’ does not name a type 188 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, prod)(const TYPE(igraph_vector) *v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:190:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 190 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, isininterval)(const TYPE(igraph_vector) *v, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:190:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 190 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, isininterval)(const TYPE(igraph_vector) *v, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:190:53: error: ‘isininterval’ was not declared in this scope 190 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, isininterval)(const TYPE(igraph_vector) *v, | ^~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:192:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 192 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, any_smaller)(const TYPE(igraph_vector) *v, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:192:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 192 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, any_smaller)(const TYPE(igraph_vector) *v, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:192:53: error: ‘any_smaller’ was not declared in this scope 192 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, any_smaller)(const TYPE(igraph_vector) *v, | ^~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:195:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 195 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, is_equal)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:195:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 195 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, is_equal)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:195:53: error: ‘is_equal’ was not declared in this scope 195 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, is_equal)(const TYPE(igraph_vector) *lhs, | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:198:29: error: conflicting declaration ‘igraph_real_t FUNCTION’ 198 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_vector, maxdifference)(const TYPE(igraph_vector) *m1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:198:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 198 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_vector, maxdifference)(const TYPE(igraph_vector) *m1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:198:53: error: ‘maxdifference’ was not declared in this scope; did you mean ‘igraph_difference’? 198 | IGRAPH_EXPORT igraph_real_t FUNCTION(igraph_vector, maxdifference)(const TYPE(igraph_vector) *m1, | ^~~~~~~~~~~~~ | igraph_difference /usr/include/igraph/igraph_vector_pmt.h:206:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 206 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, contains)(const TYPE(igraph_vector) *v, BASE e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:206:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 206 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, contains)(const TYPE(igraph_vector) *v, BASE e); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:206:53: error: ‘contains’ was not declared in this scope 206 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, contains)(const TYPE(igraph_vector) *v, BASE e); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:207:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 207 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, search)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:207:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 207 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, search)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:207:53: error: ‘search’ was not declared in this scope; did you mean ‘bsearch’? 207 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, search)( | ^~~~~~ | bsearch /usr/include/igraph/igraph_vector_pmt.h:210:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 210 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch_slice)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:210:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 210 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch_slice)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:210:53: error: ‘binsearch_slice’ was not declared in this scope 210 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch_slice)( | ^~~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:213:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 213 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:213:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 213 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:213:53: error: ‘binsearch’ was not declared in this scope; did you mean ‘bsearch’? 213 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch)( | ^~~~~~~~~ | bsearch /usr/include/igraph/igraph_vector_pmt.h:215:29: error: conflicting declaration ‘igraph_bool_t FUNCTION’ 215 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch2)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: previous declaration as ‘igraph_error_t FUNCTION’ 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:215:38: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 215 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch2)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:215:53: error: ‘binsearch2’ was not declared in this scope; did you mean ‘bsearch’? 215 | IGRAPH_EXPORT igraph_bool_t FUNCTION(igraph_vector, binsearch2)( | ^~~~~~~~~~ | bsearch /usr/include/igraph/igraph_vector_pmt.h:223:20: error: variable or field ‘FUNCTION’ declared void 223 | IGRAPH_EXPORT void FUNCTION(igraph_vector, clear)(TYPE(igraph_vector)* v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:223:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 223 | IGRAPH_EXPORT void FUNCTION(igraph_vector, clear)(TYPE(igraph_vector)* v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:223:44: error: ‘clear’ was not declared in this scope 223 | IGRAPH_EXPORT void FUNCTION(igraph_vector, clear)(TYPE(igraph_vector)* v); | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:224:30: error: redefinition of ‘igraph_error_t FUNCTION’ 224 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, resize)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:224:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 224 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, resize)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:224:54: error: ‘resize’ was not declared in this scope; did you mean ‘dysize’? 224 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, resize)( | ^~~~~~ | dysize /usr/include/igraph/igraph_vector_pmt.h:226:20: error: variable or field ‘FUNCTION’ declared void 226 | IGRAPH_EXPORT void FUNCTION(igraph_vector, resize_min)(TYPE(igraph_vector)*v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:226:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 226 | IGRAPH_EXPORT void FUNCTION(igraph_vector, resize_min)(TYPE(igraph_vector)*v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:226:44: error: ‘resize_min’ was not declared in this scope 226 | IGRAPH_EXPORT void FUNCTION(igraph_vector, resize_min)(TYPE(igraph_vector)*v); | ^~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:227:30: error: redefinition of ‘igraph_error_t FUNCTION’ 227 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, reserve)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:227:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 227 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, reserve)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:227:54: error: ‘reserve’ was not declared in this scope 227 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, reserve)( | ^~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:229:30: error: redefinition of ‘igraph_error_t FUNCTION’ 229 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, push_back)(TYPE(igraph_vector)* v, BASE e); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:229:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 229 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, push_back)(TYPE(igraph_vector)* v, BASE e); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:229:54: error: ‘push_back’ was not declared in this scope 229 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, push_back)(TYPE(igraph_vector)* v, BASE e); | ^~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:230:15: error: ‘BASE’ does not name a type 230 | IGRAPH_EXPORT BASE FUNCTION(igraph_vector, pop_back)(TYPE(igraph_vector)* v); | ^~~~ /usr/include/igraph/igraph_vector_pmt.h:231:30: error: redefinition of ‘igraph_error_t FUNCTION’ 231 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, insert)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:231:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 231 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, insert)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:231:54: error: ‘insert’ was not declared in this scope 231 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, insert)( | ^~~~~~ /usr/include/igraph/igraph_vector_pmt.h:233:20: error: variable or field ‘FUNCTION’ declared void 233 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:233:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 233 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:235:20: error: variable or field ‘FUNCTION’ declared void 235 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove_fast)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:235:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 235 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove_fast)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:235:44: error: ‘remove_fast’ was not declared in this scope 235 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove_fast)( | ^~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:237:20: error: variable or field ‘FUNCTION’ declared void 237 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove_section)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:237:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 237 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove_section)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:237:44: error: ‘remove_section’ was not declared in this scope 237 | IGRAPH_EXPORT void FUNCTION(igraph_vector, remove_section)( | ^~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:246:20: error: variable or field ‘FUNCTION’ declared void 246 | IGRAPH_EXPORT void FUNCTION(igraph_vector, sort)(TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:246:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 246 | IGRAPH_EXPORT void FUNCTION(igraph_vector, sort)(TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:246:44: error: ‘sort’ was not declared in this scope; did you mean ‘sqrt’? 246 | IGRAPH_EXPORT void FUNCTION(igraph_vector, sort)(TYPE(igraph_vector) *v); | ^~~~ | sqrt /usr/include/igraph/igraph_vector_pmt.h:247:20: error: variable or field ‘FUNCTION’ declared void 247 | IGRAPH_EXPORT void FUNCTION(igraph_vector, reverse_sort)(TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:247:29: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 247 | IGRAPH_EXPORT void FUNCTION(igraph_vector, reverse_sort)(TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:247:44: error: ‘reverse_sort’ was not declared in this scope 247 | IGRAPH_EXPORT void FUNCTION(igraph_vector, reverse_sort)(TYPE(igraph_vector) *v); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:248:30: error: redefinition of ‘igraph_error_t FUNCTION’ 248 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, qsort_ind)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:248:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 248 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, qsort_ind)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:248:54: error: ‘qsort_ind’ was not declared in this scope; did you mean ‘qsort_r’? 248 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, qsort_ind)( | ^~~~~~~~~ | qsort_r /usr/include/igraph/igraph_vector_pmt.h:257:30: error: redefinition of ‘igraph_error_t FUNCTION’ 257 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, print)(const TYPE(igraph_vector) *v); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:257:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 257 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, print)(const TYPE(igraph_vector) *v); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:257:54: error: ‘print’ was not declared in this scope; did you mean ‘rint’? 257 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, print)(const TYPE(igraph_vector) *v); | ^~~~~ | rint /usr/include/igraph/igraph_vector_pmt.h:258:30: error: redefinition of ‘igraph_error_t FUNCTION’ 258 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, fprint)(const TYPE(igraph_vector) *v, FILE *file); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:258:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 258 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, fprint)(const TYPE(igraph_vector) *v, FILE *file); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:258:54: error: ‘fprint’ was not declared in this scope; did you mean ‘fprintf’? 258 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, fprint)(const TYPE(igraph_vector) *v, FILE *file); | ^~~~~~ | fprintf /usr/include/igraph/igraph_vector_pmt.h:290:30: error: redefinition of ‘igraph_error_t FUNCTION’ 290 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_real)(TYPE(igraph_vector)*v, int no, ...); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:290:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 290 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_real)(TYPE(igraph_vector)*v, int no, ...); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:290:54: error: ‘init_real’ was not declared in this scope 290 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_real)(TYPE(igraph_vector)*v, int no, ...); | ^~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:291:30: error: redefinition of ‘igraph_error_t FUNCTION’ 291 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_int)(TYPE(igraph_vector)*v, int no, ...); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:291:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 291 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_int)(TYPE(igraph_vector)*v, int no, ...); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:291:54: error: ‘init_int’ was not declared in this scope 291 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_int)(TYPE(igraph_vector)*v, int no, ...); | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:292:30: error: redefinition of ‘igraph_error_t FUNCTION’ 292 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_real_end)(TYPE(igraph_vector)*v, double endmark, ...); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:292:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 292 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_real_end)(TYPE(igraph_vector)*v, double endmark, ...); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:292:54: error: ‘init_real_end’ was not declared in this scope 292 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_real_end)(TYPE(igraph_vector)*v, double endmark, ...); | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:293:30: error: redefinition of ‘igraph_error_t FUNCTION’ 293 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_int_end)(TYPE(igraph_vector)*v, int endmark, ...); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:293:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 293 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_int_end)(TYPE(igraph_vector)*v, int endmark, ...); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:293:54: error: ‘init_int_end’ was not declared in this scope 293 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, init_int_end)(TYPE(igraph_vector)*v, int endmark, ...); | ^~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:295:30: error: redefinition of ‘igraph_error_t FUNCTION’ 295 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, move_interval)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:295:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 295 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, move_interval)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:295:54: error: ‘move_interval’ was not declared in this scope 295 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, move_interval)( | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:298:48: error: redefinition of ‘igraph_error_t FUNCTION’ 298 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, move_interval2)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:298:57: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 298 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, move_interval2)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:298:72: error: ‘move_interval2’ was not declared in this scope 298 | IGRAPH_EXPORT IGRAPH_DEPRECATED igraph_error_t FUNCTION(igraph_vector, move_interval2)( | ^~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:302:30: error: redefinition of ‘igraph_error_t FUNCTION’ 302 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, filter_smaller)(TYPE(igraph_vector) *v, BASE elem); | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:302:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 302 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, filter_smaller)(TYPE(igraph_vector) *v, BASE elem); | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:302:54: error: ‘filter_smaller’ was not declared in this scope 302 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, filter_smaller)(TYPE(igraph_vector) *v, BASE elem); | ^~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:304:30: error: redefinition of ‘igraph_error_t FUNCTION’ 304 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, get_interval)( | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:304:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 304 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, get_interval)( | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:304:54: error: ‘get_interval’ was not declared in this scope 304 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, get_interval)( | ^~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:308:30: error: redefinition of ‘igraph_error_t FUNCTION’ 308 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, difference_sorted)(const TYPE(igraph_vector) *v1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:308:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 308 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, difference_sorted)(const TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:308:54: error: ‘difference_sorted’ was not declared in this scope 308 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, difference_sorted)(const TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:310:30: error: redefinition of ‘igraph_error_t FUNCTION’ 310 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, intersect_sorted)(const TYPE(igraph_vector) *v1, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:310:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 310 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, intersect_sorted)(const TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:310:54: error: ‘intersect_sorted’ was not declared in this scope 310 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, intersect_sorted)(const TYPE(igraph_vector) *v1, | ^~~~~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:313:30: error: redefinition of ‘igraph_error_t FUNCTION’ 313 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, index)(const TYPE(igraph_vector) *v, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:313:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 313 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, index)(const TYPE(igraph_vector) *v, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:313:54: error: ‘index’ was not declared in this scope 313 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, index)(const TYPE(igraph_vector) *v, | ^~~~~ /usr/include/igraph/igraph_vector_pmt.h:317:30: error: redefinition of ‘igraph_error_t FUNCTION’ 317 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, index_int)(TYPE(igraph_vector) *v, | ^~~~~~~~ /usr/include/igraph/igraph_array_pmt.h:39:30: note: ‘igraph_error_t FUNCTION’ previously defined here 39 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_array3, init)( | ^~~~~~~~ /usr/include/igraph/igraph_vector_pmt.h:317:39: error: ‘igraph_vector’ was not declared in this scope; did you mean ‘igraph_vector_t’? 317 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, index_int)(TYPE(igraph_vector) *v, | ^~~~~~~~~~~~~ | igraph_vector_t /usr/include/igraph/igraph_vector_pmt.h:317:54: error: ‘index_int’ was not declared in this scope 317 | IGRAPH_EXPORT igraph_error_t FUNCTION(igraph_vector, index_int)(TYPE(igraph_vector) *v, | ^~~~~~~~~ In file included from /tmp/N7k7EtdaaO/dump1.h:93: /usr/include/igraph/igraph_vector_type.h:29:21: error: typedef ‘igraph_vector’ is initialized (use ‘decltype’ instead) 29 | typedef struct TYPE(igraph_vector) { | ^~~~~~~~~~~~~ /usr/include/igraph/igraph_vector_type.h:30:5: error: ‘BASE’ was not declared in this scope 30 | BASE* stor_begin; | ^~~~ /usr/include/igraph/igraph_vector_type.h:30:11: error: ‘stor_begin’ was not declared in this scope 30 | BASE* stor_begin; | ^~~~~~~~~~ /usr/include/igraph/igraph_vector_type.h:30:21: error: expected ‘}’ before ‘;’ token 30 | BASE* stor_begin; | ^ /usr/include/igraph/igraph_vector_type.h:29:36: note: to match this ‘{’ 29 | typedef struct TYPE(igraph_vector) { | ^ /usr/include/igraph/igraph_vector_type.h:31:5: error: ‘BASE’ does not name a type 31 | BASE* stor_end; | ^~~~ /usr/include/igraph/igraph_vector_type.h:32:5: error: ‘BASE’ does not name a type 32 | BASE* end; | ^~~~ /usr/include/igraph/igraph_vector_type.h:33:1: error: expected declaration before ‘}’ token 33 | } TYPE(igraph_vector); | ^ /usr/include/igraph/igraph_vector_type.h:33:21: error: aggregate ‘TYPE igraph_vector’ has incomplete type and cannot be defined 33 | } TYPE(igraph_vector); | ^