========================================================== AlainBindele: Unzip: [TAR] xsml_syn.c: In function ‘io_ricorro’: xsml_syn.c:31: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_syn.c:33: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:138: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_syn.c:140: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_iter.c:8: error: syntax error before ‘attrlist_it’ xsml_iter.c:8: warning: ‘struct node’ declared inside parameter list xsml_iter.c:8: warning: its scope is only this definition or declaration, which is probably not what you want xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:9: error: ‘iterator’ undeclared (first use in this function) xsml_iter.c:9: error: (Each undeclared identifier is reported only once xsml_iter.c:9: error: for each function it appears in.) xsml_iter.c:9: error: syntax error before ‘i’ xsml_iter.c:10: error: dereferencing pointer to incomplete type xsml_iter.c:10: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:11: error: ‘i’ undeclared (first use in this function) xsml_iter.c:11: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:17: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘i’ undeclared (first use in this function) xsml_iter.c:18: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:19: error: ‘attr’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:23: error: syntax error before ‘nodelist_it’ xsml_iter.c:23: warning: ‘struct node’ declared inside parameter list xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:24: error: ‘iterator’ undeclared (first use in this function) xsml_iter.c:24: error: syntax error before ‘i’ xsml_iter.c:25: error: dereferencing pointer to incomplete type xsml_iter.c:25: error: ‘TEXT_NODE’ undeclared (first use in this function) xsml_iter.c:25: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:26: error: ‘i’ undeclared (first use in this function) xsml_iter.c:26: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:34: error: syntax error before ‘next_node’ xsml_iter.c:34: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:35: error: ‘i’ undeclared (first use in this function) xsml_iter.c:35: error: ‘NULL’ undeclared (first use in this function) Compile: [ERROR] ========================================================== AlbertoRivelli: Unzip: [TAR] In file included from xsml_node.h:9, from main3.c:6: xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:6: error: redefinition of typedef ‘elem’ xsml_list.h:6: error: previous declaration of ‘elem’ was here xsml_list.h:8: error: redefinition of typedef ‘iterator’ xsml_list.h:8: error: previous declaration of ‘iterator’ was here xsml_list.h:11: error: nested redefinition of ‘enum op_errors’ xsml_list.h:11: error: redeclaration of ‘enum op_errors’ xsml_list.h:12: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:12: error: previous definition of ‘OP_OK’ was here xsml_list.h:13: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:13: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:14: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:14: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:16: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:16: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:6: error: redefinition of typedef ‘elem’ xsml_list.h:6: error: previous declaration of ‘elem’ was here xsml_list.h:8: error: redefinition of typedef ‘iterator’ xsml_list.h:8: error: previous declaration of ‘iterator’ was here xsml_list.h:11: error: nested redefinition of ‘enum op_errors’ xsml_list.h:11: error: redeclaration of ‘enum op_errors’ xsml_list.h:12: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:12: error: previous definition of ‘OP_OK’ was here xsml_list.h:13: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:13: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:14: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:14: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:16: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:16: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:9, from xsml_syn.h:6, from main3.c:7: xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:6: error: redefinition of typedef ‘elem’ xsml_list.h:6: error: previous declaration of ‘elem’ was here xsml_list.h:8: error: redefinition of typedef ‘iterator’ xsml_list.h:8: error: previous declaration of ‘iterator’ was here xsml_list.h:11: error: nested redefinition of ‘enum op_errors’ xsml_list.h:11: error: redeclaration of ‘enum op_errors’ xsml_list.h:12: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:12: error: previous definition of ‘OP_OK’ was here xsml_list.h:13: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:13: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:14: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:14: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:16: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:16: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:12: error: redefinition of typedef ‘node’ xsml_node.h:12: error: previous declaration of ‘node’ was here xsml_node.h:14: error: redefinition of typedef ‘attrib’ xsml_node.h:14: error: previous declaration of ‘attrib’ was here xsml_node.h:18: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:18: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:20: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:20: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:20: error: conflicting types for ‘node_type’ xsml_node.h:20: error: previous declaration of ‘node_type’ was here xsml_node.h:28: error: conflicting types for ‘get_node_type’ xsml_node.h:28: error: previous declaration of ‘get_node_type’ was here main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type In file included from xsml_node.h:9, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:6: error: redefinition of typedef ‘elem’ xsml_list.h:6: error: previous declaration of ‘elem’ was here xsml_list.h:8: error: redefinition of typedef ‘iterator’ xsml_list.h:8: error: previous declaration of ‘iterator’ was here xsml_list.h:11: error: nested redefinition of ‘enum op_errors’ xsml_list.h:11: error: redeclaration of ‘enum op_errors’ xsml_list.h:12: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:12: error: previous definition of ‘OP_OK’ was here xsml_list.h:13: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:13: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:14: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:14: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:16: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:16: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:9, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:6: error: redefinition of typedef ‘elem’ xsml_list.h:6: error: previous declaration of ‘elem’ was here xsml_list.h:8: error: redefinition of typedef ‘iterator’ xsml_list.h:8: error: previous declaration of ‘iterator’ was here xsml_list.h:11: error: nested redefinition of ‘enum op_errors’ xsml_list.h:11: error: redeclaration of ‘enum op_errors’ xsml_list.h:12: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:12: error: previous definition of ‘OP_OK’ was here xsml_list.h:13: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:13: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:14: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:14: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:16: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:16: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:7: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:26: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== AlessandroFuselli: Unzip: [OK] Compile: [OK] ========================================================== AlessandroMastropietro: Unzip: [OK] xsml_syn.c: In function ‘get_recursion_from_file’: xsml_syn.c:87: error: invalid type argument of ‘->’ xsml_syn.c:92: error: invalid type argument of ‘->’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: conversion to non-scalar type requested xsml_iter.c:16: error: invalid type argument of ‘->’ Compile: [ERROR] ========================================================== AlessandroVergari: Unzip: [OK] /tmp/ccNYFAYp.o(.text+0x131): In function `stampa_content': main3.c: undefined reference to `nodelist_it' collect2: ld returned 1 exit status Compile: [ERROR] ========================================================== AndreaDiGiuseppe: Unzip: [TAR] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:4: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:4: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:4: error: conflicting types for ‘node_type’ xsml_node.h:4: error: previous declaration of ‘node_type’ was here xsml_node.h:6: error: redefinition of ‘struct node’ xsml_node.h:12: error: redefinition of typedef ‘node’ xsml_node.h:12: error: previous declaration of ‘node’ was here xsml_node.h:21: error: conflicting types for ‘get_node_type’ xsml_node.h:21: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:2, from xsml_syn.c:6: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_syn.c:7: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:7: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:4: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:4: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:4: error: conflicting types for ‘node_type’ xsml_node.h:4: error: previous declaration of ‘node_type’ was here xsml_node.h:6: error: redefinition of ‘struct node’ xsml_node.h:12: error: redefinition of typedef ‘node’ xsml_node.h:12: error: previous declaration of ‘node’ was here xsml_node.h:21: error: conflicting types for ‘get_node_type’ xsml_node.h:21: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:2, from xsml_iter.c:6: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:7: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:7: xsml_list.h:6: error: redefinition of ‘struct nodolista’ xsml_list.h:10: error: redefinition of typedef ‘dato’ xsml_list.h:10: error: previous declaration of ‘dato’ was here xsml_list.h:15: error: redefinition of ‘struct lista’ xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct iteratore’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:49: error: nested redefinition of ‘enum op_errors’ xsml_list.h:49: error: redeclaration of ‘enum op_errors’ xsml_list.h:50: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:50: error: previous definition of ‘OP_OK’ was here xsml_list.h:51: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:51: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:52: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:52: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:54: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:54: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:4: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:4: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:4: error: conflicting types for ‘node_type’ xsml_node.h:4: error: previous declaration of ‘node_type’ was here xsml_node.h:6: error: redefinition of ‘struct node’ xsml_node.h:12: error: redefinition of typedef ‘node’ xsml_node.h:12: error: previous declaration of ‘node’ was here xsml_node.h:21: error: conflicting types for ‘get_node_type’ xsml_node.h:21: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:24: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:24: error: (Each undeclared identifier is reported only once xsml_iter.c:24: error: for each function it appears in.) Compile: [ERROR] ========================================================== AndreaMencaroni: Unzip: [TAR] In file included from xsml_node.h:14, from main3.c:6: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:14, from xsml_syn.h:6, from main3.c:7: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:18: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:18: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:20: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:20: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:20: error: conflicting types for ‘node_type’ xsml_node.h:20: error: previous declaration of ‘node_type’ was here xsml_node.h:23: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:35: error: redefinition of ‘struct RecordAttr’ xsml_node.h:39: error: redefinition of typedef ‘InfoAttr’ xsml_node.h:39: error: previous declaration of ‘InfoAttr’ was here xsml_node.h:54: error: conflicting types for ‘get_node_type’ xsml_node.h:54: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_syn.c:17: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:14, from xsml_syn.h:6, from xsml_syn.c:17: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:17: xsml_node.h:18: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:18: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:20: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:20: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:20: error: conflicting types for ‘node_type’ xsml_node.h:20: error: previous declaration of ‘node_type’ was here xsml_node.h:23: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:35: error: redefinition of ‘struct RecordAttr’ xsml_node.h:39: error: redefinition of typedef ‘InfoAttr’ xsml_node.h:39: error: previous declaration of ‘InfoAttr’ was here xsml_node.h:54: error: conflicting types for ‘get_node_type’ xsml_node.h:54: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:17: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:14, from xsml_syn.h:6, from xsml_iter.c:17: xsml_list.h:25: error: redefinition of ‘struct ListElem’ xsml_list.h:29: error: redefinition of typedef ‘ListElem’ xsml_list.h:29: error: previous declaration of ‘ListElem’ was here xsml_list.h:32: error: redefinition of ‘struct lista’ xsml_list.h:36: error: redefinition of typedef ‘list’ xsml_list.h:36: error: previous declaration of ‘list’ was here xsml_list.h:43: error: redefinition of ‘struct iter’ xsml_list.h:46: error: redefinition of typedef ‘iter’ xsml_list.h:46: error: previous declaration of ‘iter’ was here xsml_list.h:47: error: redefinition of typedef ‘iterator’ xsml_list.h:47: error: previous declaration of ‘iterator’ was here xsml_list.h:53: error: nested redefinition of ‘enum op_errors’ xsml_list.h:53: error: redeclaration of ‘enum op_errors’ xsml_list.h:54: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:54: error: previous definition of ‘OP_OK’ was here xsml_list.h:55: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:55: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:56: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:56: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:58: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:58: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:17: xsml_node.h:18: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:18: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:20: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:20: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:20: error: conflicting types for ‘node_type’ xsml_node.h:20: error: previous declaration of ‘node_type’ was here xsml_node.h:23: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:35: error: redefinition of ‘struct RecordAttr’ xsml_node.h:39: error: redefinition of typedef ‘InfoAttr’ xsml_node.h:39: error: previous declaration of ‘InfoAttr’ was here xsml_node.h:54: error: conflicting types for ‘get_node_type’ xsml_node.h:54: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== AntonellaPaluzzi: Unzip: [OK] In file included from xsml_node.h:10, from main3.c:6: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:10, from xsml_syn.h:6, from main3.c:7: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:14: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:14: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:16: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:16: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:16: error: conflicting types for ‘node_type’ xsml_node.h:16: error: previous declaration of ‘node_type’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:31: error: redefinition of typedef ‘node’ xsml_node.h:31: error: previous declaration of ‘node’ was here xsml_node.h:35: error: redefinition of ‘struct attributo’ xsml_node.h:41: error: redefinition of typedef ‘ATTRIBUTO’ xsml_node.h:41: error: previous declaration of ‘ATTRIBUTO’ was here xsml_node.h:42: error: redefinition of typedef ‘attributoPtr’ xsml_node.h:42: error: previous declaration of ‘attributoPtr’ was here xsml_node.h:51: error: conflicting types for ‘get_node_type’ xsml_node.h:51: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:10, from xsml_syn.c:12: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_syn.c:13: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:10, from xsml_syn.h:6, from xsml_syn.c:13: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:13: xsml_node.h:14: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:14: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:16: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:16: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:16: error: conflicting types for ‘node_type’ xsml_node.h:16: error: previous declaration of ‘node_type’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:31: error: redefinition of typedef ‘node’ xsml_node.h:31: error: previous declaration of ‘node’ was here xsml_node.h:35: error: redefinition of ‘struct attributo’ xsml_node.h:41: error: redefinition of typedef ‘ATTRIBUTO’ xsml_node.h:41: error: previous declaration of ‘ATTRIBUTO’ was here xsml_node.h:42: error: redefinition of typedef ‘attributoPtr’ xsml_node.h:42: error: previous declaration of ‘attributoPtr’ was here xsml_node.h:51: error: conflicting types for ‘get_node_type’ xsml_node.h:51: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:10, from xsml_iter.c:12: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:13: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:10, from xsml_syn.h:6, from xsml_iter.c:13: xsml_list.h:14: error: redefinition of ‘struct listNode’ xsml_list.h:22: error: redefinition of typedef ‘LISTNODE’ xsml_list.h:22: error: previous declaration of ‘LISTNODE’ was here xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iteratore’ xsml_list.h:33: error: redefinition of typedef ‘ITER’ xsml_list.h:33: error: previous declaration of ‘ITER’ was here xsml_list.h:34: error: redefinition of typedef ‘iterator’ xsml_list.h:34: error: previous declaration of ‘iterator’ was here xsml_list.h:38: error: nested redefinition of ‘enum op_errors’ xsml_list.h:38: error: redeclaration of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:39: error: previous definition of ‘OP_OK’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:40: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:13: xsml_node.h:14: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:14: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:16: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:16: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:16: error: conflicting types for ‘node_type’ xsml_node.h:16: error: previous declaration of ‘node_type’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:31: error: redefinition of typedef ‘node’ xsml_node.h:31: error: previous declaration of ‘node’ was here xsml_node.h:35: error: redefinition of ‘struct attributo’ xsml_node.h:41: error: redefinition of typedef ‘ATTRIBUTO’ xsml_node.h:41: error: previous declaration of ‘ATTRIBUTO’ was here xsml_node.h:42: error: redefinition of typedef ‘attributoPtr’ xsml_node.h:42: error: previous declaration of ‘attributoPtr’ was here xsml_node.h:51: error: conflicting types for ‘get_node_type’ xsml_node.h:51: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ xsml_iter.c:19: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:19: error: ‘struct listNode’ has no member named ‘first’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘list_node’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:26: error: syntax error before ‘node’ xsml_iter.c:28: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:28: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:30: error: syntax error before ‘node’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:35: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ xsml_iter.c:36: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:36: error: ‘struct listNode’ has no member named ‘first’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:42: error: ‘list_node’ undeclared (first use in this function) xsml_iter.c:42: error: syntax error before ‘node’ xsml_iter.c:44: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:44: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:46: error: syntax error before ‘node’ Compile: [ERROR] ========================================================== AntonioGaudino: Unzip: [OK] main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type xsml_lex.c: In function ‘new_lexical_analyzer’: xsml_lex.c:31: error: ‘struct ’ has no member named ‘row’ xsml_lex.c:32: error: ‘struct ’ has no member named ‘column’ xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:52: error: ‘struct ’ has no member named ‘column’ xsml_lex.c:53: error: ‘struct ’ has no member named ‘row’ xsml_lex.c:64: error: ‘struct ’ has no member named ‘column’ xsml_lex.c:161: error: ‘struct ’ has no member named ‘row’ xsml_lex.c:162: error: ‘struct ’ has no member named ‘column’ xsml_list.c:113:108: warning: no newline at end of file xsml_node.c:145:113: warning: no newline at end of file xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:12: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:29: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:69: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== AntonioMiranda: Unzip: [OK] gcc: xsml_syn.c: No such file or directory gcc: xsml_iter.c: No such file or directory In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== AntonioPetrella: Unzip: [TAR] xsml_list.c:7: error: syntax error before ‘list’ xsml_list.c:7: warning: no semicolon at end of struct or union xsml_list.c:12: error: syntax error before ‘list’ xsml_list.c:12: warning: no semicolon at end of struct or union xsml_list.c:19: error: syntax error before ‘*’ token xsml_list.c: In function ‘new_list’: xsml_list.c:21: error: ‘l’ undeclared (first use in this function) xsml_list.c:21: error: (Each undeclared identifier is reported only once xsml_list.c:21: error: for each function it appears in.) xsml_list.c:22: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:25: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_first’: xsml_list.c:27: error: ‘el’ undeclared (first use in this function) xsml_list.c:27: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_list.c:28: error: ‘list’ undeclared (first use in this function) xsml_list.c:28: error: syntax error before ‘temp’ xsml_list.c:29: error: ‘temp’ undeclared (first use in this function) xsml_list.c:29: error: invalid application of ‘sizeof’ to incomplete type ‘list_elem’ xsml_list.c:30: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_list.c:32: error: ‘l’ undeclared (first use in this function) xsml_list.c:34: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:37: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_last’: xsml_list.c:39: error: ‘el’ undeclared (first use in this function) xsml_list.c:39: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_list.c:40: error: ‘l’ undeclared (first use in this function) xsml_list.c:42: error: ‘list’ undeclared (first use in this function) xsml_list.c:42: error: syntax error before ‘temp’ xsml_list.c:43: error: ‘temp’ undeclared (first use in this function) xsml_list.c:43: error: invalid application of ‘sizeof’ to incomplete type ‘list_elem’ xsml_list.c:44: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_list.c:48: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:54: error: syntax error before ‘l’ xsml_list.c: In function ‘is_empty’: xsml_list.c:56: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:60: error: syntax error before ‘get_iterator’ xsml_list.c:60: error: syntax error before ‘l’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:62: error: ‘iterator’ undeclared (first use in this function) xsml_list.c:62: error: syntax error before ‘iter’ xsml_list.c:63: error: ‘iter’ undeclared (first use in this function) xsml_list.c:63: error: invalid application of ‘sizeof’ to incomplete type ‘iterator_elem’ xsml_list.c:65: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:69: error: syntax error before ‘i’ xsml_list.c: In function ‘next’: xsml_list.c:72: error: ‘i’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:77: error: syntax error before ‘i’ xsml_list.c: In function ‘has_next’: xsml_list.c:79: error: ‘i’ undeclared (first use in this function) xsml_node.c:10: error: syntax error before ‘list’ xsml_node.c:10: warning: no semicolon at end of struct or union xsml_node.c:11: warning: data definition has no type or storage class xsml_node.c:12: error: syntax error before ‘children’ xsml_node.c:12: warning: data definition has no type or storage class xsml_node.c:26: error: syntax error before ‘*’ token xsml_node.c: In function ‘new_text_node’: xsml_node.c:29: error: ‘n’ undeclared (first use in this function) xsml_node.c:29: error: (Each undeclared identifier is reported only once xsml_node.c:29: error: for each function it appears in.) xsml_node.c:29: error: invalid application of ‘sizeof’ to incomplete type ‘node_elem’ xsml_node.c:30: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:32: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:33: error: ‘TEXT_NODE’ undeclared (first use in this function) xsml_node.c:34: error: ‘text’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:37: error: syntax error before ‘*’ token xsml_node.c: In function ‘new_tag_node’: xsml_node.c:40: error: ‘n’ undeclared (first use in this function) xsml_node.c:40: error: invalid application of ‘sizeof’ to incomplete type ‘node_elem’ xsml_node.c:41: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:43: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:46: error: ‘TAG_NODE’ undeclared (first use in this function) xsml_node.c:47: error: ‘name’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:50: error: syntax error before ‘get_node_type’ xsml_node.c:50: error: syntax error before ‘n’ xsml_node.c: In function ‘get_node_type’: xsml_node.c:52: error: ‘n’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:55: error: syntax error before ‘parent’ xsml_node.c: In function ‘add_child’: xsml_node.c:57: error: ‘parent’ undeclared (first use in this function) xsml_node.c:57: error: ‘child’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:60: error: syntax error before ‘n’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:62: error: ‘iterator’ undeclared (first use in this function) xsml_node.c:62: error: syntax error before ‘iter_attrib’ xsml_node.c:65: error: ‘iter_attrib’ undeclared (first use in this function) xsml_node.c:65: error: ‘n’ undeclared (first use in this function) xsml_node.c:68: warning: assignment makes pointer from integer without a cast xsml_node.c:69: error: ‘attribute’ undeclared (first use in this function) xsml_node.c:79: error: ‘value’ undeclared (first use in this function) xsml_node.c:81: error: ‘OP_NO_ATTRIBUTE_ERROR’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:84: error: syntax error before ‘n’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:86: error: ‘iterator’ undeclared (first use in this function) xsml_node.c:86: error: syntax error before ‘iter_attrib’ xsml_node.c:89: error: ‘iter_attrib’ undeclared (first use in this function) xsml_node.c:89: error: ‘n’ undeclared (first use in this function) xsml_node.c:92: warning: assignment makes pointer from integer without a cast xsml_node.c:93: error: ‘attribute’ undeclared (first use in this function) xsml_node.c:103: error: ‘value’ undeclared (first use in this function) xsml_node.c:107: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c: In function ‘print_value’: xsml_node.c:116: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:118: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c: In function ‘new_string’: xsml_node.c:129: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:131: error: ‘OP_OK’ undeclared (first use in this function) xsml_syn.c:6: error: syntax error before ‘*’ token xsml_syn.c:7: error: syntax error before ‘*’ token xsml_syn.c:8: error: syntax error before ‘*’ token xsml_syn.c:9: error: syntax error before ‘*’ token xsml_syn.c:10: error: syntax error before ‘*’ token xsml_syn.c:11: error: syntax error before ‘*’ token xsml_syn.c:13: error: syntax error before ‘token_err’ xsml_syn.c:13: warning: data definition has no type or storage class xsml_syn.c:16: warning: ‘struct node’ declared inside parameter list xsml_syn.c:16: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:19: error: ‘SAERR_BAD_ARG’ undeclared (first use in this function) xsml_syn.c:19: error: (Each undeclared identifier is reported only once xsml_syn.c:19: error: for each function it appears in.) xsml_syn.c:21: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:23: error: ‘lex_an’ undeclared (first use in this function) xsml_syn.c:23: error: syntax error before ‘lex’ xsml_syn.c:24: error: ‘token’ undeclared (first use in this function) xsml_syn.c:26: error: ‘lex’ undeclared (first use in this function) xsml_syn.c:28: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:30: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:32: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c:35: error: ‘ERR_EOF’ undeclared (first use in this function) xsml_syn.c:37: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:48: error: syntax error before ‘*’ token xsml_syn.c: In function ‘make_tree’: xsml_syn.c:51: error: ‘lex’ undeclared (first use in this function) xsml_syn.c:51: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:54: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:55: error: ‘k’ undeclared (first use in this function) xsml_syn.c:58: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c:60: error: ‘node’ undeclared (first use in this function) xsml_syn.c:64: error: ‘NAME’ undeclared (first use in this function) xsml_syn.c:72: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_syn.c:80: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c:88: error: ‘ERROR’ undeclared (first use in this function) xsml_syn.c:89: error: ‘ERR_EOF’ undeclared (first use in this function) xsml_syn.c:90: error: ‘SAERR_UNEXPECTED_EOF’ undeclared (first use in this function) xsml_syn.c:92: error: ‘SAERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_syn.c:94: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:109: error: syntax error before ‘*’ token xsml_syn.c: In function ‘start_leaf’: xsml_syn.c:114: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:120: error: ‘node’ undeclared (first use in this function) xsml_syn.c:123: error: ‘lex’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:134: error: syntax error before ‘*’ token xsml_syn.c: In function ‘attrib_leaf’: xsml_syn.c:137: error: ‘token’ undeclared (first use in this function) xsml_syn.c:137: error: syntax error before ‘temp’ xsml_syn.c:138: error: ‘lex’ undeclared (first use in this function) xsml_syn.c:138: error: ‘temp’ undeclared (first use in this function) xsml_syn.c:141: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:144: error: ‘EQUAL’ undeclared (first use in this function) xsml_syn.c:144: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c:151: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c:152: error: ‘node’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:161: error: syntax error before ‘*’ token xsml_syn.c: In function ‘end_leaf’: xsml_syn.c:164: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:164: error: ‘node’ undeclared (first use in this function) xsml_syn.c:168: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c:170: error: ‘lex’ undeclared (first use in this function) xsml_syn.c:176: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:184: error: syntax error before ‘*’ token xsml_syn.c: In function ‘text_leaf’: xsml_syn.c:189: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:195: error: ‘node’ undeclared (first use in this function) xsml_syn.c:201: error: ‘lex’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:204: error: syntax error before ‘*’ token xsml_syn.c: In function ‘error’: xsml_syn.c:206: error: request for member ‘text’ in something not a structure or union xsml_syn.c:206: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:207: error: request for member ‘riga’ in something not a structure or union xsml_syn.c:208: error: request for member ‘colonna’ in something not a structure or union xsml_syn.c:209: error: request for member ‘type’ in something not a structure or union xsml_syn.c: At top level: xsml_syn.c:213: error: syntax error before ‘last_token’ xsml_iter.c:4: error: syntax error before ‘attrlist_it’ xsml_iter.c:4: warning: ‘struct node’ declared inside parameter list xsml_iter.c:4: warning: its scope is only this definition or declaration, which is probably not what you want xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:6: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:9: error: syntax error before ‘n_attr’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘att_p’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: syntax error before ‘att’ xsml_iter.c:12: error: ‘n_attr’ undeclared (first use in this function) xsml_iter.c:13: error: ‘att’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:18: error: syntax error before ‘nodelist_it’ xsml_iter.c:18: warning: ‘struct node’ declared inside parameter list xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:20: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:23: error: syntax error before ‘next_node’ xsml_iter.c:23: error: syntax error before ‘n_child’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:25: error: ‘n_child’ undeclared (first use in this function) xsml_iter.c:25: warning: return makes integer from pointer without a cast Compile: [ERROR] ========================================================== BahaaNYAbusahlia: Unzip: [OK] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:29: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:29: error: (Each undeclared identifier is reported only once xsml_iter.c:29: error: for each function it appears in.) xsml_iter.c:29: error: syntax error before ‘a’ xsml_iter.c:31: error: ‘a’ undeclared (first use in this function) Compile: [ERROR] ========================================================== ClaudiaRapuano: Unzip: [OK] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct attr’ xsml_node.h:22: error: redefinition of typedef ‘attr’ xsml_node.h:22: error: previous declaration of ‘attr’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:32: error: conflicting types for ‘get_node_type’ xsml_node.h:32: error: previous declaration of ‘get_node_type’ was here xsml_list.c: In function ‘add_first’: xsml_list.c:16: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:42: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:75: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:33: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:77: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:77: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:81: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:109: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:109: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:111: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:117: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:122: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:124: warning: incompatible implicit declaration of built-in function ‘strcpy’ In file included from xsml_syn.h:5, from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:3: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct attr’ xsml_node.h:22: error: redefinition of typedef ‘attr’ xsml_node.h:22: error: previous declaration of ‘attr’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:32: error: conflicting types for ‘get_node_type’ xsml_node.h:32: error: previous declaration of ‘get_node_type’ was here xsml_syn.c: In function ‘get_tree’: xsml_syn.c:95: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c:97: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_syn.c:103: warning: incompatible implicit declaration of built-in function ‘strcpy’ In file included from xsml_syn.h:5, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:20: error: redefinition of ‘struct iterator’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct attr’ xsml_node.h:22: error: redefinition of typedef ‘attr’ xsml_node.h:22: error: previous declaration of ‘attr’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:32: error: conflicting types for ‘get_node_type’ xsml_node.h:32: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== ClaudioCalabrese: Unzip: [TAR] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:17: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:17: error: (Each undeclared identifier is reported only once xsml_iter.c:17: error: for each function it appears in.) xsml_iter.c:17: error: syntax error before ‘as’ xsml_iter.c:18: error: ‘as’ undeclared (first use in this function) Compile: [ERROR] ========================================================== CleoniceMansillo: Unzip: [OK] xsml_list.c: In function ‘new_list’: xsml_list.c:24: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:53: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:75: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:15: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:29: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:66: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:25: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c: In function ‘tag’: xsml_syn.c:60: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c:61: error: ‘t_close’ undeclared (first use in this function) xsml_syn.c:61: error: (Each undeclared identifier is reported only once xsml_syn.c:61: error: for each function it appears in.) xsml_syn.c: In function ‘start_tag’: xsml_syn.c:104: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c: In function ‘attr_pair’: xsml_syn.c:128: warning: incompatible implicit declaration of built-in function ‘malloc’ Compile: [ERROR] ========================================================== CristinaPucci: Unzip: [OK] Compile: [OK] ========================================================== DanielaSavelli: Unzip: [OK] xsml_lex.c:144:84: warning: multi-character character constant xsml_lex.c:196:84: warning: multi-character character constant xsml_lex.c:266:80: warning: multi-character character constant /tmp/cc0V8MOD.o(.text+0x142): In function `stampa_content': main3.c: undefined reference to `next_node' /tmp/cc0V8MOD.o(.text+0x170):main3.c: undefined reference to `next_node' /tmp/cc6GI4qT.o(.text+0x10): In function `get_xsml_doc': xsml_syn.c: undefined reference to `la' /tmp/cc6GI4qT.o(.text+0xc9): In function `analizza_sintassi': xsml_syn.c: undefined reference to `p' /tmp/cc6GI4qT.o(.text+0x14d):xsml_syn.c: undefined reference to `p' /tmp/cc6GI4qT.o(.text+0x552): In function `crea_albero': xsml_syn.c: undefined reference to `la' /tmp/cc6GI4qT.o(.text+0x701): In function `last_token': xsml_syn.c: undefined reference to `p' collect2: ld returned 1 exit status Compile: [ERROR] ========================================================== DanieleCesaroni: Unzip: [OK] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: syntax error before ‘a’ xsml_iter.c:16: error: ‘a’ undeclared (first use in this function) Compile: [ERROR] ========================================================== DanieleGuerrisi: Unzip: [TAR] Compile: [OK] ========================================================== DanieleR: Unzip: [OK] Compile: [OK] ========================================================== DarioLaPadula: Unzip: [OK] xsml_syn.c: In function ‘build_tag’: xsml_syn.c:80: warning: incompatible implicit declaration of built-in function ‘strcpy’ Compile: [WARNING] ========================================================== DarrolProcacciante: Unzip: [OK] In file included from xsml_node.h:4, from main3.c:6: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from main3.c:7: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘node’ xsml_node.h:17: error: previous declaration of ‘node’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:33: warning: assignment makes integer from pointer without a cast xsml_lex.c:42: warning: assignment makes integer from pointer without a cast xsml_lex.c:51: warning: assignment makes integer from pointer without a cast xsml_lex.c:55: warning: assignment makes integer from pointer without a cast xsml_lex.c:63: warning: assignment makes integer from pointer without a cast xsml_lex.c:79: warning: assignment makes integer from pointer without a cast xsml_lex.c:106: warning: assignment makes integer from pointer without a cast xsml_lex.c:112: warning: assignment makes integer from pointer without a cast xsml_lex.c:119: warning: assignment makes integer from pointer without a cast xsml_lex.c:128: warning: assignment makes integer from pointer without a cast xsml_node.c: In function ‘get_attributo’: xsml_node.c:60: warning: initialization makes pointer from integer without a cast xsml_node.c: In function ‘set_attributo’: xsml_node.c:81: warning: initialization makes pointer from integer without a cast In file included from xsml_syn.h:5, from xsml_syn.c:5: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_syn.c:5: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:5: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘node’ xsml_node.h:17: error: previous declaration of ‘node’ was here In file included from xsml_syn.h:5, from xsml_iter.c:5: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:5: xsml_list.h:7: error: redefinition of ‘struct nplist’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct ite’ xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:18: error: nested redefinition of ‘enum op_errors’ xsml_list.h:18: error: redeclaration of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:19: error: previous definition of ‘OP_OK’ was here xsml_list.h:20: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:20: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:23: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:5: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘node’ xsml_node.h:17: error: previous declaration of ‘node’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:12: warning: assignment makes pointer from integer without a cast xsml_iter.c: In function ‘next_attr’: xsml_iter.c:17: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:17: error: (Each undeclared identifier is reported only once xsml_iter.c:17: error: for each function it appears in.) xsml_iter.c:17: error: syntax error before ‘a’ xsml_iter.c:19: error: ‘a’ undeclared (first use in this function) xsml_iter.c:19: error: syntax error before ‘next’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:28: warning: assignment makes pointer from integer without a cast xsml_iter.c: In function ‘next_node’: xsml_iter.c:36: warning: return makes pointer from integer without a cast Compile: [ERROR] ========================================================== DavideDELLAVALLE: Unzip: [OK] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:4: error: redefinition of ‘struct e’ xsml_list.h:8: error: redefinition of typedef ‘ELEMENTO’ xsml_list.h:8: error: previous declaration of ‘ELEMENTO’ was here xsml_list.h:9: error: redefinition of typedef ‘eptr’ xsml_list.h:9: error: previous declaration of ‘eptr’ was here xsml_list.h:12: error: redefinition of ‘struct lista’ xsml_list.h:17: error: redefinition of typedef ‘LISTA’ xsml_list.h:17: error: previous declaration of ‘LISTA’ was here xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct itera’ xsml_list.h:24: error: redefinition of typedef ‘ITERA’ xsml_list.h:24: error: previous declaration of ‘ITERA’ was here xsml_list.h:25: error: redefinition of typedef ‘iterator’ xsml_list.h:25: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: redefinition of ‘struct e’ xsml_list.h:8: error: redefinition of typedef ‘ELEMENTO’ xsml_list.h:8: error: previous declaration of ‘ELEMENTO’ was here xsml_list.h:9: error: redefinition of typedef ‘eptr’ xsml_list.h:9: error: previous declaration of ‘eptr’ was here xsml_list.h:12: error: redefinition of ‘struct lista’ xsml_list.h:17: error: redefinition of typedef ‘LISTA’ xsml_list.h:17: error: previous declaration of ‘LISTA’ was here xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct itera’ xsml_list.h:24: error: redefinition of typedef ‘ITERA’ xsml_list.h:24: error: previous declaration of ‘ITERA’ was here xsml_list.h:25: error: redefinition of typedef ‘iterator’ xsml_list.h:25: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:4: error: redefinition of ‘struct e’ xsml_list.h:8: error: redefinition of typedef ‘ELEMENTO’ xsml_list.h:8: error: previous declaration of ‘ELEMENTO’ was here xsml_list.h:9: error: redefinition of typedef ‘eptr’ xsml_list.h:9: error: previous declaration of ‘eptr’ was here xsml_list.h:12: error: redefinition of ‘struct lista’ xsml_list.h:17: error: redefinition of typedef ‘LISTA’ xsml_list.h:17: error: previous declaration of ‘LISTA’ was here xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct itera’ xsml_list.h:24: error: redefinition of typedef ‘ITERA’ xsml_list.h:24: error: previous declaration of ‘ITERA’ was here xsml_list.h:25: error: redefinition of typedef ‘iterator’ xsml_list.h:25: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct b’ xsml_node.h:14: error: redefinition of typedef ‘B’ xsml_node.h:14: error: previous declaration of ‘B’ was here xsml_node.h:15: error: redefinition of typedef ‘attributoptr’ xsml_node.h:15: error: previous declaration of ‘attributoptr’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:27: error: redefinition of typedef ‘node’ xsml_node.h:27: error: previous declaration of ‘node’ was here xsml_node.h:32: error: conflicting types for ‘get_node_type’ xsml_node.h:32: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:4: error: redefinition of ‘struct e’ xsml_list.h:8: error: redefinition of typedef ‘ELEMENTO’ xsml_list.h:8: error: previous declaration of ‘ELEMENTO’ was here xsml_list.h:9: error: redefinition of typedef ‘eptr’ xsml_list.h:9: error: previous declaration of ‘eptr’ was here xsml_list.h:12: error: redefinition of ‘struct lista’ xsml_list.h:17: error: redefinition of typedef ‘LISTA’ xsml_list.h:17: error: previous declaration of ‘LISTA’ was here xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct itera’ xsml_list.h:24: error: redefinition of typedef ‘ITERA’ xsml_list.h:24: error: previous declaration of ‘ITERA’ was here xsml_list.h:25: error: redefinition of typedef ‘iterator’ xsml_list.h:25: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:5: error: syntax error before ‘nodelist_it’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:6: error: ‘node_it’ undeclared (first use in this function) xsml_iter.c:6: error: (Each undeclared identifier is reported only once xsml_iter.c:6: error: for each function it appears in.) xsml_iter.c:6: error: syntax error before ‘b’ xsml_iter.c:8: error: ‘b’ undeclared (first use in this function) xsml_iter.c:8: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:18: error: syntax error before ‘b’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:22: error: ‘b’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:32: error: syntax error before ‘attrIt_list’ xsml_iter.c: In function ‘attrIt_list’: xsml_iter.c:33: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:33: error: syntax error before ‘itera’ xsml_iter.c:35: error: ‘itera’ undeclared (first use in this function) xsml_iter.c:35: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:43: error: syntax error before ‘itera’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:45: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:45: error: syntax error before ‘l’ xsml_iter.c:47: error: ‘itera’ undeclared (first use in this function) xsml_iter.c:48: error: ‘l’ undeclared (first use in this function) Compile: [ERROR] ========================================================== DeliaPassalacqua: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct node’ xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:25: error: redefinition of ‘struct attribute’ xsml_node.h:28: error: redefinition of typedef ‘attrib’ xsml_node.h:28: error: previous declaration of ‘attrib’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_syn.c:3: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:3: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct node’ xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:25: error: redefinition of ‘struct attribute’ xsml_node.h:28: error: redefinition of typedef ‘attrib’ xsml_node.h:28: error: previous declaration of ‘attrib’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:3: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:7: error: nested redefinition of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of ‘enum op_errors’ xsml_list.h:8: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:8: error: previous definition of ‘OP_OK’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:10: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:12: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:12: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:15: error: redefinition of ‘struct elem’ xsml_list.h:18: error: redefinition of typedef ‘elem’ xsml_list.h:18: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct iterator’ xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct node’ xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:25: error: redefinition of ‘struct attribute’ xsml_node.h:28: error: redefinition of typedef ‘attrib’ xsml_node.h:28: error: previous declaration of ‘attrib’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== DiegoLucaccini: Unzip: [OK] In file included from main3.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c:42: warning: passing argument 1 of ‘attrlist_it’ from incompatible pointer type main3.c:46: warning: passing argument 1 of ‘get_attributo’ from incompatible pointer type main3.c: In function ‘stampa_content’: main3.c:63: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type main3.c: In function ‘main’: main3.c:109: warning: passing argument 2 of ‘get_xsml_doc’ from incompatible pointer type xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:145: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:186: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:256: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c: In function ‘save_string_until’: xsml_lex.c:303: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_syn.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_syn.c:23: error: conflicting types for ‘get_xsml_doc’ xsml_syn.h:25: error: previous declaration of ‘get_xsml_doc’ was here xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:39: warning: passing argument 3 of ‘create_root_node’ from incompatible pointer type xsml_syn.c: In function ‘check_token_seq’: xsml_syn.c:178: warning: passing argument 1 of ‘attrlist_it’ from incompatible pointer type In file included from xsml_iter.c:4: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:8: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:9: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:22: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:23: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== DiegoMaicu: Unzip: [OK] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:20: error: redefinition of typedef ‘node’ xsml_node.h:20: error: previous declaration of ‘node’ was here xsml_node.h:27: error: conflicting types for ‘nomevalore’ xsml_node.h:27: error: previous declaration of ‘nomevalore’ was here xsml_node.h:34: error: conflicting types for ‘get_node_type’ xsml_node.h:34: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:20: error: redefinition of typedef ‘node’ xsml_node.h:20: error: previous declaration of ‘node’ was here xsml_node.h:27: error: conflicting types for ‘nomevalore’ xsml_node.h:27: error: previous declaration of ‘nomevalore’ was here xsml_node.h:34: error: conflicting types for ‘get_node_type’ xsml_node.h:34: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:18: error: redefinition of ‘struct elemento’ xsml_list.h:24: error: redefinition of typedef ‘elemento’ xsml_list.h:24: error: previous declaration of ‘elemento’ was here xsml_list.h:31: error: conflicting types for ‘list’ xsml_list.h:31: error: previous declaration of ‘list’ was here xsml_list.h:36: error: redefinition of typedef ‘iterator’ xsml_list.h:36: error: previous declaration of ‘iterator’ was here xsml_list.h:41: error: conflicting types for ‘new_list’ xsml_list.h:41: error: previous declaration of ‘new_list’ was here xsml_list.h:42: error: conflicting types for ‘add_first’ xsml_list.h:42: error: previous declaration of ‘add_first’ was here xsml_list.h:43: error: conflicting types for ‘add_last’ xsml_list.h:43: error: previous declaration of ‘add_last’ was here xsml_list.h:44: error: conflicting types for ‘is_empty’ xsml_list.h:44: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:20: error: redefinition of typedef ‘node’ xsml_node.h:20: error: previous declaration of ‘node’ was here xsml_node.h:27: error: conflicting types for ‘nomevalore’ xsml_node.h:27: error: previous declaration of ‘nomevalore’ was here xsml_node.h:34: error: conflicting types for ‘get_node_type’ xsml_node.h:34: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== ElenaAgostini: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct list_no_ptr’ xsml_list.h:10: error: redefinition of typedef ‘list_no_ptr’ xsml_list.h:10: error: previous declaration of ‘list_no_ptr’ was here xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:15: error: redefinition of ‘struct iterator_no_ptr’ xsml_list.h:17: error: redefinition of typedef ‘iterator_no_ptr’ xsml_list.h:17: error: previous declaration of ‘iterator_no_ptr’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct list_no_ptr’ xsml_list.h:10: error: redefinition of typedef ‘list_no_ptr’ xsml_list.h:10: error: previous declaration of ‘list_no_ptr’ was here xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:15: error: redefinition of ‘struct iterator_no_ptr’ xsml_list.h:17: error: redefinition of typedef ‘iterator_no_ptr’ xsml_list.h:17: error: previous declaration of ‘iterator_no_ptr’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct list_no_ptr’ xsml_list.h:10: error: redefinition of typedef ‘list_no_ptr’ xsml_list.h:10: error: previous declaration of ‘list_no_ptr’ was here xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:15: error: redefinition of ‘struct iterator_no_ptr’ xsml_list.h:17: error: redefinition of typedef ‘iterator_no_ptr’ xsml_list.h:17: error: previous declaration of ‘iterator_no_ptr’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:22: error: redefinition of typedef ‘node’ xsml_node.h:22: error: previous declaration of ‘node’ was here xsml_node.h:25: error: redefinition of ‘struct data_no_ptr’ xsml_node.h:28: error: redefinition of typedef ‘data_no_ptr’ xsml_node.h:28: error: previous declaration of ‘data_no_ptr’ was here xsml_node.h:30: error: redefinition of typedef ‘data’ xsml_node.h:30: error: previous declaration of ‘data’ was here xsml_node.h:37: error: conflicting types for ‘get_node_type’ xsml_node.h:37: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:5: error: redefinition of ‘struct list_no_ptr’ xsml_list.h:10: error: redefinition of typedef ‘list_no_ptr’ xsml_list.h:10: error: previous declaration of ‘list_no_ptr’ was here xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:15: error: redefinition of ‘struct iterator_no_ptr’ xsml_list.h:17: error: redefinition of typedef ‘iterator_no_ptr’ xsml_list.h:17: error: previous declaration of ‘iterator_no_ptr’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:5: error: redefinition of ‘struct list_no_ptr’ xsml_list.h:10: error: redefinition of typedef ‘list_no_ptr’ xsml_list.h:10: error: previous declaration of ‘list_no_ptr’ was here xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:15: error: redefinition of ‘struct iterator_no_ptr’ xsml_list.h:17: error: redefinition of typedef ‘iterator_no_ptr’ xsml_list.h:17: error: previous declaration of ‘iterator_no_ptr’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here Compile: [ERROR] ========================================================== EltonBushati: Unzip: [TAR] xsml_lex.c: In function ‘next_quoted_str’: xsml_lex.c:64: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:73: warning: assignment makes pointer from integer without a cast xsml_lex.c: In function ‘next_cont_str’: xsml_lex.c:121: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:130: warning: assignment makes pointer from integer without a cast xsml_lex.c: In function ‘next_word’: xsml_lex.c:184: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:193: warning: assignment makes pointer from integer without a cast Compile: [WARNING] ========================================================== EmanueleMariaValentini: Unzip: [OK] gcc: xsml_syn.c: No such file or directory gcc: xsml_iter.c: No such file or directory In file included from main3.c:6: xsml_node.h:10: error: syntax error before ‘node_type’ xsml_node.h:10: warning: no semicolon at end of struct or union xsml_node.h:12: error: syntax error before ‘}’ token main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c:46: warning: passing argument 3 of ‘get_attributo’ from incompatible pointer type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type In file included from xsml_node.c:6: xsml_node.h:10: error: syntax error before ‘node_type’ xsml_node.h:10: warning: no semicolon at end of struct or union xsml_node.h:12: error: syntax error before ‘}’ token xsml_node.c: In function ‘new_tag_node’: xsml_node.c:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct node’ xsml_node.c:14: error: dereferencing pointer to incomplete type xsml_node.c:15: error: dereferencing pointer to incomplete type xsml_node.c:16: error: dereferencing pointer to incomplete type xsml_node.c:17: error: dereferencing pointer to incomplete type xsml_node.c: In function ‘new_text_node’: xsml_node.c:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct node’ xsml_node.c:28: error: dereferencing pointer to incomplete type xsml_node.c:29: error: dereferencing pointer to incomplete type xsml_node.c:30: error: dereferencing pointer to incomplete type xsml_node.c: In function ‘get_node_type’: xsml_node.c:38: error: dereferencing pointer to incomplete type xsml_node.c: In function ‘add_child’: xsml_node.c:43: error: dereferencing pointer to incomplete type xsml_node.c: In function ‘get_attributo’: xsml_node.c:51: error: dereferencing pointer to incomplete type xsml_node.c: In function ‘set_attributo’: xsml_node.c:74: error: dereferencing pointer to incomplete type xsml_node.c:114: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== FedericoScacco: Unzip: [TAR] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:19: error: (Each undeclared identifier is reported only once xsml_iter.c:19: error: for each function it appears in.) xsml_iter.c:19: error: syntax error before ‘t’ xsml_iter.c:20: error: ‘t’ undeclared (first use in this function) Compile: [ERROR] ========================================================== FlavioPietrelli: Unzip: [OK] Compile: [OK] ========================================================== GabrieleIoannucci: Unzip: [TAR] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:39: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:39: error: (Each undeclared identifier is reported only once xsml_iter.c:39: error: for each function it appears in.) xsml_iter.c:39: error: syntax error before ‘attribute’ xsml_iter.c:41: error: ‘attribute’ undeclared (first use in this function) xsml_iter.c:41: error: syntax error before ‘next’ Compile: [ERROR] ========================================================== GabrieleTarantino: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:18: error: redefinition of ‘struct att’ xsml_node.h:21: error: redefinition of typedef ‘Att’ xsml_node.h:21: error: previous declaration of ‘Att’ was here xsml_node.h:27: error: conflicting types for ‘get_node_type’ xsml_node.h:27: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘create’: xsml_lex.c:57: error: ‘node’ undeclared (first use in this function) xsml_lex.c:57: error: (Each undeclared identifier is reported only once xsml_lex.c:57: error: for each function it appears in.) xsml_lex.c:57: error: ‘t’ undeclared (first use in this function) xsml_lex.c:57: error: syntax error before ‘)’ token In file included from xsml_syn.h:5, from xsml_syn.c:4: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:4: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:18: error: redefinition of ‘struct att’ xsml_node.h:21: error: redefinition of typedef ‘Att’ xsml_node.h:21: error: previous declaration of ‘Att’ was here xsml_node.h:27: error: conflicting types for ‘get_node_type’ xsml_node.h:27: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct listNode’ xsml_list.h:15: error: redefinition of typedef ‘Lnode’ xsml_list.h:15: error: previous declaration of ‘Lnode’ was here xsml_list.h:17: error: redefinition of ‘struct listHandler’ xsml_list.h:21: error: redefinition of typedef ‘listH’ xsml_list.h:21: error: previous declaration of ‘listH’ was here xsml_list.h:22: error: redefinition of typedef ‘list’ xsml_list.h:22: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of ‘struct iteratorList’ xsml_list.h:27: error: redefinition of typedef ‘iteratorList’ xsml_list.h:27: error: previous declaration of ‘iteratorList’ was here xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:18: error: redefinition of ‘struct att’ xsml_node.h:21: error: redefinition of typedef ‘Att’ xsml_node.h:21: error: previous declaration of ‘Att’ was here xsml_node.h:27: error: conflicting types for ‘get_node_type’ xsml_node.h:27: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== GennyProto: Unzip: [TAR] Compile: [OK] ========================================================== GianlucaSquarcia: Unzip: [OK] xsml_syn.c:13: error: redeclaration of enumerator ‘false’ xsml_node.h:5: error: previous definition of ‘false’ was here xsml_syn.c:13: error: redeclaration of enumerator ‘true’ xsml_node.h:5: error: previous definition of ‘true’ was here xsml_syn.c:13: error: conflicting types for ‘boolean’ xsml_node.h:5: error: previous declaration of ‘boolean’ was here xsml_syn.c:19: error: conflicting types for ‘data’ xsml_node.h:24: error: previous declaration of ‘data’ was here xsml_syn.c: In function ‘ver_tag_open’: xsml_syn.c:155: error: ‘attr’ undeclared (first use in this function) xsml_syn.c:155: error: (Each undeclared identifier is reported only once xsml_syn.c:155: error: for each function it appears in.) xsml_syn.c:155: error: syntax error before ‘attributo’ xsml_syn.c:156: error: ‘attributo’ undeclared (first use in this function) xsml_syn.c:156: error: invalid application of ‘sizeof’ to incomplete type ‘struct attr’ xsml_syn.c: In function ‘next_attr’: xsml_syn.c:196: error: ‘list_node’ undeclared (first use in this function) xsml_syn.c:196: error: ‘head’ undeclared (first use in this function) xsml_syn.c:196: error: ‘struct iterator’ has no member named ‘p’ xsml_syn.c:198: error: ‘struct iterator’ has no member named ‘p’ xsml_syn.c:198: error: ‘struct iterator’ has no member named ‘p’ xsml_syn.c: In function ‘next_node’: xsml_syn.c:216: error: ‘struct iterator’ has no member named ‘p’ xsml_syn.c:217: error: ‘struct iterator’ has no member named ‘p’ xsml_syn.c:217: error: ‘struct iterator’ has no member named ‘p’ xsml_syn.c: In function ‘print_list’: xsml_syn.c:224: error: invalid type argument of ‘->’ xsml_syn.c:229: error: invalid type argument of ‘->’ xsml_syn.c:230: error: invalid type argument of ‘->’ xsml_syn.c:230: error: invalid type argument of ‘->’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘list_node’ undeclared (first use in this function) xsml_iter.c:18: error: (Each undeclared identifier is reported only once xsml_iter.c:18: error: for each function it appears in.) xsml_iter.c:18: error: ‘head’ undeclared (first use in this function) xsml_iter.c:18: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:20: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:20: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:38: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:39: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:39: error: ‘struct iterator’ has no member named ‘p’ Compile: [ERROR] ========================================================== GioacchinoMendola: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:17: error: redefinition of typedef ‘listelem’ xsml_list.h:17: error: previous declaration of ‘listelem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterNode’ xsml_list.h:26: error: redefinition of typedef ‘iterelem’ xsml_list.h:26: error: previous declaration of ‘iterelem’ was here xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:17: error: redefinition of typedef ‘listelem’ xsml_list.h:17: error: previous declaration of ‘listelem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterNode’ xsml_list.h:26: error: redefinition of typedef ‘iterelem’ xsml_list.h:26: error: previous declaration of ‘iterelem’ was here xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:17: error: redefinition of typedef ‘listelem’ xsml_list.h:17: error: previous declaration of ‘listelem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterNode’ xsml_list.h:26: error: redefinition of typedef ‘iterelem’ xsml_list.h:26: error: previous declaration of ‘iterelem’ was here xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:8: error: redefinition of ‘struct node’ xsml_node.h:13: error: redefinition of typedef ‘nodel’ xsml_node.h:13: error: previous declaration of ‘nodel’ was here xsml_node.h:15: error: redefinition of typedef ‘node’ xsml_node.h:15: error: previous declaration of ‘node’ was here xsml_node.h:17: error: redefinition of ‘struct elements’ xsml_node.h:20: error: redefinition of typedef ‘element’ xsml_node.h:20: error: previous declaration of ‘element’ was here xsml_node.h:22: error: redefinition of typedef ‘elemen’ xsml_node.h:22: error: previous declaration of ‘elemen’ was here xsml_node.h:27: error: conflicting types for ‘get_node_type’ xsml_node.h:27: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:17: error: redefinition of typedef ‘listelem’ xsml_list.h:17: error: previous declaration of ‘listelem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterNode’ xsml_list.h:26: error: redefinition of typedef ‘iterelem’ xsml_list.h:26: error: previous declaration of ‘iterelem’ was here xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:17: error: redefinition of typedef ‘listelem’ xsml_list.h:17: error: previous declaration of ‘listelem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterNode’ xsml_list.h:26: error: redefinition of typedef ‘iterelem’ xsml_list.h:26: error: previous declaration of ‘iterelem’ was here xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here Compile: [ERROR] ========================================================== GiorgioDePropris: Unzip: [OK] xsml_lex.c:675: error: conflicting types for ‘eliminaspazio’ xsml_lex.c:325: error: previous implicit declaration of ‘eliminaspazio’ was here In file included from xsml_syn.c:3: xsml_lex.c:675: error: conflicting types for ‘eliminaspazio’ xsml_lex.c:325: error: previous implicit declaration of ‘eliminaspazio’ was here In file included from xsml_syn.c:5: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:42: error: redefinition of ‘add_last’ xsml_list.c:42: error: previous definition of ‘add_last’ was here xsml_list.c:72: error: redefinition of ‘is_empty’ xsml_list.c:72: error: previous definition of ‘is_empty’ was here xsml_list.c:80: error: redefinition of ‘get_iterator’ xsml_list.c:80: error: previous definition of ‘get_iterator’ was here xsml_list.c:90: error: redefinition of ‘next’ xsml_list.c:90: error: previous definition of ‘next’ was here xsml_list.c:103: error: redefinition of ‘has_next’ xsml_list.c:103: error: previous definition of ‘has_next’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:21: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:21: error: (Each undeclared identifier is reported only once xsml_iter.c:21: error: for each function it appears in.) xsml_iter.c:21: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:44: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:48: error: ‘struct iteratore’ has no member named ‘p’ Compile: [ERROR] ========================================================== GiorgioMarinelli: Unzip: [TAR] Compile: [OK] ========================================================== GiuseppeAntonioSestito: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elemento_lista’ xsml_list.h:16: error: redefinition of typedef ‘ELEM’ xsml_list.h:16: error: previous declaration of ‘ELEM’ was here xsml_list.h:19: error: redefinition of ‘struct lista’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iteratore’ xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elemento_lista’ xsml_list.h:16: error: redefinition of typedef ‘ELEM’ xsml_list.h:16: error: previous declaration of ‘ELEM’ was here xsml_list.h:19: error: redefinition of ‘struct lista’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iteratore’ xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elemento_lista’ xsml_list.h:16: error: redefinition of typedef ‘ELEM’ xsml_list.h:16: error: previous declaration of ‘ELEM’ was here xsml_list.h:19: error: redefinition of ‘struct lista’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iteratore’ xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:19: error: redefinition of ‘struct attributes’ xsml_node.h:23: error: redefinition of typedef ‘ATTRI’ xsml_node.h:23: error: previous declaration of ‘ATTRI’ was here xsml_node.h:28: error: conflicting types for ‘get_node_type’ xsml_node.h:28: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:4: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elemento_lista’ xsml_list.h:16: error: redefinition of typedef ‘ELEM’ xsml_list.h:16: error: previous declaration of ‘ELEM’ was here xsml_list.h:19: error: redefinition of ‘struct lista’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iteratore’ xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elemento_lista’ xsml_list.h:16: error: redefinition of typedef ‘ELEM’ xsml_list.h:16: error: previous declaration of ‘ELEM’ was here xsml_list.h:19: error: redefinition of ‘struct lista’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iteratore’ xsml_list.h:29: error: redefinition of typedef ‘iterator’ xsml_list.h:29: error: previous declaration of ‘iterator’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:62: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ Compile: [ERROR] ========================================================== GiuseppeCoppola: Unzip: [TAR] gcc: xsml_iter.c: No such file or directory In file included from xsml_list.h:1, from main3.c:5: xsml_list.c:6: error: syntax error before ‘*’ token xsml_list.c: In function ‘new_list’: xsml_list.c:8: error: ‘l’ undeclared (first use in this function) xsml_list.c:8: error: (Each undeclared identifier is reported only once xsml_list.c:8: error: for each function it appears in.) xsml_list.c:8: error: ‘list’ undeclared (first use in this function) xsml_list.c:8: error: syntax error before ‘malloc’ xsml_list.c:13: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:16: error: syntax error before ‘return’ xsml_list.c:19: error: syntax error before ‘l’ xsml_list.c: In function ‘is_empty’: xsml_list.c:21: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:25: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_first’: xsml_list.c:27: error: ‘elm’ undeclared (first use in this function) xsml_list.c:27: error: ‘new’ undeclared (first use in this function) xsml_list.c:28: error: syntax error before ‘)’ token xsml_list.c:31: error: ‘el’ undeclared (first use in this function) xsml_list.c:32: error: ‘l’ undeclared (first use in this function) xsml_list.c:41: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:43: error: syntax error before ‘return’ xsml_list.c:46: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_last’: xsml_list.c:48: error: ‘elm’ undeclared (first use in this function) xsml_list.c:48: error: ‘new’ undeclared (first use in this function) xsml_list.c:49: error: syntax error before ‘)’ token xsml_list.c:52: error: ‘el’ undeclared (first use in this function) xsml_list.c:54: error: ‘l’ undeclared (first use in this function) xsml_list.c:63: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:65: error: syntax error before ‘return’ xsml_list.c:69: error: syntax error before ‘l’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:70: error: ‘iterator’ undeclared (first use in this function) xsml_list.c:70: error: syntax error before ‘j’ xsml_list.c:71: error: ‘j’ undeclared (first use in this function) xsml_list.c:72: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:79: error: syntax error before ‘i’ xsml_list.c: In function ‘next’: xsml_list.c:81: error: ‘i’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:88: error: syntax error before ‘i’ xsml_list.c: In function ‘has_next’: xsml_list.c:89: error: ‘i’ undeclared (first use in this function) In file included from main3.c:5: xsml_list.h: At top level: xsml_list.h:3: error: syntax error before ‘*’ token xsml_list.h:4: error: syntax error before ‘*’ token xsml_list.h:5: error: syntax error before ‘*’ token xsml_list.h:6: error: syntax error before ‘l’ xsml_list.h:7: error: syntax error before ‘get_iterator’ xsml_list.h:7: error: syntax error before ‘l’ xsml_list.h:7: warning: data definition has no type or storage class xsml_list.h:8: error: syntax error before ‘i’ xsml_list.h:9: error: syntax error before ‘i’ In file included from xsml_list.h:1, from xsml_node.h:1, from main3.c:6: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:20: error: redefinition of ‘is_empty’ xsml_list.c:20: error: previous definition of ‘is_empty’ was here xsml_list.c:25: error: redefinition of ‘add_first’ xsml_list.c:25: error: previous definition of ‘add_first’ was here xsml_list.c:46: error: redefinition of ‘add_last’ xsml_list.c:46: error: previous definition of ‘add_last’ was here xsml_list.c:69: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.c:79: error: redefinition of ‘next’ xsml_list.c:79: error: previous definition of ‘next’ was here xsml_list.c:88: error: redefinition of ‘has_next’ xsml_list.c:88: error: previous definition of ‘has_next’ was here In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:7: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elm’ xsml_list.h:16: error: previous declaration of ‘elm’ was here xsml_list.h:18: error: redefinition of ‘struct lista’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iter’ xsml_list.h:33: error: redefinition of typedef ‘iterator’ xsml_list.h:33: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_list.h:1, from xsml_syn.h:5, from main3.c:7: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:20: error: redefinition of ‘is_empty’ xsml_list.c:20: error: previous definition of ‘is_empty’ was here xsml_list.c:25: error: redefinition of ‘add_first’ xsml_list.c:25: error: previous definition of ‘add_first’ was here xsml_list.c:46: error: redefinition of ‘add_last’ xsml_list.c:46: error: previous definition of ‘add_last’ was here xsml_list.c:69: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.c:79: error: redefinition of ‘next’ xsml_list.c:79: error: previous definition of ‘next’ was here xsml_list.c:88: error: redefinition of ‘has_next’ xsml_list.c:88: error: previous definition of ‘has_next’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:7: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elm’ xsml_list.h:16: error: previous declaration of ‘elm’ was here xsml_list.h:18: error: redefinition of ‘struct lista’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iter’ xsml_list.h:33: error: redefinition of typedef ‘iterator’ xsml_list.h:33: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_list.h:1, from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:20: error: redefinition of ‘is_empty’ xsml_list.c:20: error: previous definition of ‘is_empty’ was here xsml_list.c:25: error: redefinition of ‘add_first’ xsml_list.c:25: error: previous definition of ‘add_first’ was here xsml_list.c:46: error: redefinition of ‘add_last’ xsml_list.c:46: error: previous definition of ‘add_last’ was here xsml_list.c:69: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.c:79: error: redefinition of ‘next’ xsml_list.c:79: error: previous definition of ‘next’ was here xsml_list.c:88: error: redefinition of ‘has_next’ xsml_list.c:88: error: previous definition of ‘has_next’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:7: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elm’ xsml_list.h:16: error: previous declaration of ‘elm’ was here xsml_list.h:18: error: redefinition of ‘struct lista’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iter’ xsml_list.h:33: error: redefinition of typedef ‘iterator’ xsml_list.h:33: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:8: error: redefinition of ‘struct node’ xsml_node.h:14: error: redefinition of typedef ‘node’ xsml_node.h:14: error: previous declaration of ‘node’ was here xsml_node.h:19: error: conflicting types for ‘get_node_type’ xsml_node.h:19: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:23: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:44: warning: assignment makes pointer from integer without a cast xsml_lex.c:82: warning: assignment makes pointer from integer without a cast xsml_lex.c:113: warning: assignment makes pointer from integer without a cast xsml_lex.c:151: warning: assignment makes pointer from integer without a cast xsml_lex.c:207: warning: assignment makes pointer from integer without a cast xsml_lex.c:245: warning: assignment makes pointer from integer without a cast xsml_lex.c:295: warning: assignment makes pointer from integer without a cast xsml_list.c:6: error: syntax error before ‘*’ token xsml_list.c: In function ‘new_list’: xsml_list.c:8: error: ‘l’ undeclared (first use in this function) xsml_list.c:8: error: (Each undeclared identifier is reported only once xsml_list.c:8: error: for each function it appears in.) xsml_list.c:8: error: ‘list’ undeclared (first use in this function) xsml_list.c:8: error: syntax error before ‘malloc’ xsml_list.c:13: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:16: error: syntax error before ‘return’ xsml_list.c:19: error: syntax error before ‘l’ xsml_list.c: In function ‘is_empty’: xsml_list.c:21: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:25: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_first’: xsml_list.c:27: error: ‘elm’ undeclared (first use in this function) xsml_list.c:27: error: ‘new’ undeclared (first use in this function) xsml_list.c:28: error: syntax error before ‘)’ token xsml_list.c:31: error: ‘el’ undeclared (first use in this function) xsml_list.c:32: error: ‘l’ undeclared (first use in this function) xsml_list.c:41: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:43: error: syntax error before ‘return’ xsml_list.c:46: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_last’: xsml_list.c:48: error: ‘elm’ undeclared (first use in this function) xsml_list.c:48: error: ‘new’ undeclared (first use in this function) xsml_list.c:49: error: syntax error before ‘)’ token xsml_list.c:52: error: ‘el’ undeclared (first use in this function) xsml_list.c:54: error: ‘l’ undeclared (first use in this function) xsml_list.c:63: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:65: error: syntax error before ‘return’ xsml_list.c:69: error: syntax error before ‘l’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:70: error: ‘iterator’ undeclared (first use in this function) xsml_list.c:70: error: syntax error before ‘j’ xsml_list.c:71: error: ‘j’ undeclared (first use in this function) xsml_list.c:72: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:79: error: syntax error before ‘i’ xsml_list.c: In function ‘next’: xsml_list.c:81: error: ‘i’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:88: error: syntax error before ‘i’ xsml_list.c: In function ‘has_next’: xsml_list.c:89: error: ‘i’ undeclared (first use in this function) In file included from xsml_node.c:2: xsml_list.c:6: error: syntax error before ‘*’ token xsml_list.c: In function ‘new_list’: xsml_list.c:8: error: ‘l’ undeclared (first use in this function) xsml_list.c:8: error: (Each undeclared identifier is reported only once xsml_list.c:8: error: for each function it appears in.) xsml_list.c:8: error: ‘list’ undeclared (first use in this function) xsml_list.c:8: error: syntax error before ‘malloc’ xsml_list.c:13: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:16: error: syntax error before ‘return’ xsml_list.c:19: error: syntax error before ‘l’ xsml_list.c: In function ‘is_empty’: xsml_list.c:21: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:25: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_first’: xsml_list.c:27: error: ‘elm’ undeclared (first use in this function) xsml_list.c:27: error: ‘new’ undeclared (first use in this function) xsml_list.c:28: error: syntax error before ‘)’ token xsml_list.c:31: error: ‘el’ undeclared (first use in this function) xsml_list.c:32: error: ‘l’ undeclared (first use in this function) xsml_list.c:41: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:43: error: syntax error before ‘return’ xsml_list.c:46: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_last’: xsml_list.c:48: error: ‘elm’ undeclared (first use in this function) xsml_list.c:48: error: ‘new’ undeclared (first use in this function) xsml_list.c:49: error: syntax error before ‘)’ token xsml_list.c:52: error: ‘el’ undeclared (first use in this function) xsml_list.c:54: error: ‘l’ undeclared (first use in this function) xsml_list.c:63: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:65: error: syntax error before ‘return’ xsml_list.c:69: error: syntax error before ‘l’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:70: error: ‘iterator’ undeclared (first use in this function) xsml_list.c:70: error: syntax error before ‘j’ xsml_list.c:71: error: ‘j’ undeclared (first use in this function) xsml_list.c:72: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:79: error: syntax error before ‘i’ xsml_list.c: In function ‘next’: xsml_list.c:81: error: ‘i’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:88: error: syntax error before ‘i’ xsml_list.c: In function ‘has_next’: xsml_list.c:89: error: ‘i’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:4: error: syntax error before ‘*’ token xsml_node.c: In function ‘new_text_node’: xsml_node.c:6: error: ‘node’ undeclared (first use in this function) xsml_node.c:6: error: syntax error before ‘x’ xsml_node.c:7: error: ‘x’ undeclared (first use in this function) xsml_node.c:7: error: syntax error before ‘malloc’ xsml_node.c:8: error: ‘text’ undeclared (first use in this function) xsml_node.c:9: error: ‘TEXT_NODE’ undeclared (first use in this function) xsml_node.c:10: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:12: error: ‘n’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:16: error: syntax error before ‘*’ token xsml_node.c: In function ‘new_tag_node’: xsml_node.c:18: error: ‘node’ undeclared (first use in this function) xsml_node.c:18: error: syntax error before ‘x’ xsml_node.c:19: error: ‘x’ undeclared (first use in this function) xsml_node.c:19: error: syntax error before ‘malloc’ xsml_node.c:20: error: ‘name’ undeclared (first use in this function) xsml_node.c:21: error: ‘TAG_NODE’ undeclared (first use in this function) xsml_node.c:22: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:24: error: ‘n’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:28: error: syntax error before ‘get_node_type’ xsml_node.c:28: error: syntax error before ‘n’ xsml_node.c: In function ‘get_node_type’: xsml_node.c:29: error: ‘n’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:32: error: syntax error before ‘parent’ xsml_node.c: In function ‘add_child’: xsml_node.c:34: error: ‘parent’ undeclared (first use in this function) xsml_node.c:34: error: ‘child’ undeclared (first use in this function) xsml_node.c:34: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:38: error: syntax error before ‘n’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:39: error: ‘iterator’ undeclared (first use in this function) xsml_node.c:39: error: syntax error before ‘i’ xsml_node.c:40: error: ‘i’ undeclared (first use in this function) xsml_node.c:40: error: ‘n’ undeclared (first use in this function) xsml_node.c:43: error: ‘node’ undeclared (first use in this function) xsml_node.c:43: error: syntax error before ‘x’ xsml_node.c:44: error: ‘x’ undeclared (first use in this function) xsml_node.c:45: error: ‘attribute’ undeclared (first use in this function) xsml_node.c:46: error: ‘value’ undeclared (first use in this function) xsml_node.c:47: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:50: error: ‘OP_NO_ATTRIBUTE_ERROR’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:55: error: syntax error before ‘n’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:57: error: ‘node’ undeclared (first use in this function) xsml_node.c:57: error: syntax error before ‘x’ xsml_node.c:58: error: ‘x’ undeclared (first use in this function) xsml_node.c:58: error: ‘attribute’ undeclared (first use in this function) xsml_node.c:58: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:59: error: ‘value’ undeclared (first use in this function) xsml_node.c:60: error: ‘n’ undeclared (first use in this function) xsml_node.c:62: error: ‘OP_GENERIC’ undeclared (first use in this function) In file included from xsml_list.h:1, from xsml_syn.h:5, from xsml_syn.c:1: xsml_list.c:6: error: syntax error before ‘*’ token xsml_list.c: In function ‘new_list’: xsml_list.c:8: error: ‘l’ undeclared (first use in this function) xsml_list.c:8: error: (Each undeclared identifier is reported only once xsml_list.c:8: error: for each function it appears in.) xsml_list.c:8: error: ‘list’ undeclared (first use in this function) xsml_list.c:8: error: syntax error before ‘malloc’ xsml_list.c:13: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:16: error: syntax error before ‘return’ xsml_list.c:19: error: syntax error before ‘l’ xsml_list.c: In function ‘is_empty’: xsml_list.c:21: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:25: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_first’: xsml_list.c:27: error: ‘elm’ undeclared (first use in this function) xsml_list.c:27: error: ‘new’ undeclared (first use in this function) xsml_list.c:28: error: syntax error before ‘)’ token xsml_list.c:31: error: ‘el’ undeclared (first use in this function) xsml_list.c:32: error: ‘l’ undeclared (first use in this function) xsml_list.c:41: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:43: error: syntax error before ‘return’ xsml_list.c:46: error: syntax error before ‘*’ token xsml_list.c: In function ‘add_last’: xsml_list.c:48: error: ‘elm’ undeclared (first use in this function) xsml_list.c:48: error: ‘new’ undeclared (first use in this function) xsml_list.c:49: error: syntax error before ‘)’ token xsml_list.c:52: error: ‘el’ undeclared (first use in this function) xsml_list.c:54: error: ‘l’ undeclared (first use in this function) xsml_list.c:63: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:65: error: syntax error before ‘return’ xsml_list.c:69: error: syntax error before ‘l’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:70: error: ‘iterator’ undeclared (first use in this function) xsml_list.c:70: error: syntax error before ‘j’ xsml_list.c:71: error: ‘j’ undeclared (first use in this function) xsml_list.c:72: error: ‘l’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:79: error: syntax error before ‘i’ xsml_list.c: In function ‘next’: xsml_list.c:81: error: ‘i’ undeclared (first use in this function) xsml_list.c: At top level: xsml_list.c:88: error: syntax error before ‘i’ xsml_list.c: In function ‘has_next’: xsml_list.c:89: error: ‘i’ undeclared (first use in this function) In file included from xsml_syn.h:5, from xsml_syn.c:1: xsml_list.h: At top level: xsml_list.h:3: error: syntax error before ‘*’ token xsml_list.h:4: error: syntax error before ‘*’ token xsml_list.h:5: error: syntax error before ‘*’ token xsml_list.h:6: error: syntax error before ‘l’ xsml_list.h:7: error: syntax error before ‘get_iterator’ xsml_list.h:7: error: syntax error before ‘l’ xsml_list.h:7: warning: data definition has no type or storage class xsml_list.h:8: error: syntax error before ‘i’ xsml_list.h:9: error: syntax error before ‘i’ In file included from xsml_list.h:1, from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:20: error: redefinition of ‘is_empty’ xsml_list.c:20: error: previous definition of ‘is_empty’ was here xsml_list.c:25: error: redefinition of ‘add_first’ xsml_list.c:25: error: previous definition of ‘add_first’ was here xsml_list.c:46: error: redefinition of ‘add_last’ xsml_list.c:46: error: previous definition of ‘add_last’ was here xsml_list.c:69: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.c:79: error: redefinition of ‘next’ xsml_list.c:79: error: previous definition of ‘next’ was here xsml_list.c:88: error: redefinition of ‘has_next’ xsml_list.c:88: error: previous definition of ‘has_next’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:7: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elm’ xsml_list.h:16: error: previous declaration of ‘elm’ was here xsml_list.h:18: error: redefinition of ‘struct lista’ xsml_list.h:24: error: redefinition of typedef ‘list’ xsml_list.h:24: error: previous declaration of ‘list’ was here xsml_list.h:26: error: redefinition of ‘struct iter’ xsml_list.h:33: error: redefinition of typedef ‘iterator’ xsml_list.h:33: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.c:2, from xsml_syn.c:4: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:20: error: redefinition of ‘is_empty’ xsml_list.c:20: error: previous definition of ‘is_empty’ was here xsml_list.c:25: error: redefinition of ‘add_first’ xsml_list.c:25: error: previous definition of ‘add_first’ was here xsml_list.c:46: error: redefinition of ‘add_last’ xsml_list.c:46: error: previous definition of ‘add_last’ was here xsml_list.c:69: error: conflicting types for ‘get_iterator’ xsml_list.c:69: error: previous definition of ‘get_iterator’ was here xsml_list.c:79: error: redefinition of ‘next’ xsml_list.c:79: error: previous definition of ‘next’ was here xsml_list.c:88: error: redefinition of ‘has_next’ xsml_list.c:88: error: previous definition of ‘has_next’ was here Compile: [ERROR] ========================================================== GiuseppeCrisafulli: Unzip: [OK] xsml_list.c: In function ‘new_list’: xsml_list.c:5: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:22: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:81: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:8: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:33: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:100: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:136: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:144: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:191: warning: incompatible implicit declaration of built-in function ‘malloc’ Compile: [WARNING] ========================================================== GiuseppeLaTorre: Unzip: [OK] Compile: [OK] ========================================================== GiuseppeMarzo: Unzip: [TAR] In file included from main3.c:6: xsml_node.h:4: error: redefinition of ‘struct elem’ xsml_node.h:7: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_node.h:7: error: redefinition of typedef ‘list’ xsml_list.h:9: error: previous declaration of ‘list’ was here xsml_node.h:24: error: redefinition of ‘struct iter’ xsml_node.h:27: error: redefinition of typedef ‘iter’ xsml_list.h:15: error: previous declaration of ‘iter’ was here xsml_node.h:27: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_node.h:47: error: nested redefinition of ‘enum op_errors’ xsml_node.h:47: error: redeclaration of ‘enum op_errors’ xsml_node.h:48: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_node.h:49: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_node.h:50: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_node.h:51: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here xsml_node.h:53: error: redeclaration of enumerator ‘OP_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_ERROR’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_node.h:7: error: previous declaration of ‘elem’ was here xsml_list.h:9: error: redefinition of typedef ‘list’ xsml_node.h:7: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct iter’ xsml_list.h:15: error: redefinition of typedef ‘iter’ xsml_node.h:27: error: previous declaration of ‘iter’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_node.h:27: error: previous declaration of ‘iterator’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_node.h:48: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_node.h:49: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_node.h:50: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_node.h:51: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_ERROR’ xsml_node.h:53: error: previous definition of ‘OP_ERROR’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redefinition of ‘struct elem’ xsml_node.h:7: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_node.h:7: error: redefinition of typedef ‘list’ xsml_list.h:9: error: previous declaration of ‘list’ was here xsml_node.h:12: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:12: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:14: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:14: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:14: error: conflicting types for ‘node_type’ xsml_node.h:14: error: previous declaration of ‘node_type’ was here xsml_node.h:18: error: redefinition of ‘struct attributo’ xsml_node.h:21: error: redefinition of typedef ‘attributo’ xsml_node.h:21: error: previous declaration of ‘attributo’ was here xsml_node.h:21: error: redefinition of typedef ‘ATT’ xsml_node.h:21: error: previous declaration of ‘ATT’ was here xsml_node.h:24: error: redefinition of ‘struct iter’ xsml_node.h:27: error: redefinition of typedef ‘iter’ xsml_list.h:15: error: previous declaration of ‘iter’ was here xsml_node.h:27: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_node.h:31: error: redefinition of ‘struct node’ xsml_node.h:41: error: redefinition of typedef ‘node’ xsml_node.h:41: error: previous declaration of ‘node’ was here xsml_node.h:47: error: nested redefinition of ‘enum op_errors’ xsml_node.h:47: error: redeclaration of ‘enum op_errors’ xsml_node.h:48: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_node.h:49: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_node.h:50: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_node.h:51: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here xsml_node.h:53: error: redeclaration of enumerator ‘OP_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_ERROR’ was here xsml_node.h:58: error: conflicting types for ‘get_node_type’ xsml_node.h:58: error: previous declaration of ‘get_node_type’ was here xsml_lex.c:93: warning: conflicting types for ‘lavora_open_start_tag’ xsml_lex.c:55: warning: previous implicit declaration of ‘lavora_open_start_tag’ was here xsml_lex.c:146: warning: conflicting types for ‘lavora_close’ xsml_lex.c:132: warning: previous implicit declaration of ‘lavora_close’ was here xsml_lex.c:162: warning: conflicting types for ‘lavora_openclose’ xsml_lex.c:119: warning: previous implicit declaration of ‘lavora_openclose’ was here xsml_lex.c:196: warning: conflicting types for ‘lavora_spazio’ xsml_lex.c:138: warning: previous implicit declaration of ‘lavora_spazio’ was here xsml_lex.c:293: warning: conflicting types for ‘end_of_file’ xsml_lex.c:278: warning: previous implicit declaration of ‘end_of_file’ was here xsml_lex.c:307: warning: conflicting types for ‘lavora_stringa’ xsml_lex.c:247: warning: previous implicit declaration of ‘lavora_stringa’ was here xsml_lex.c:404: warning: conflicting types for ‘riempi_text_ptk’ xsml_lex.c:123: warning: previous implicit declaration of ‘riempi_text_ptk’ was here In file included from xsml_syn.h:6, from xsml_syn.c:4: xsml_node.h:4: error: redefinition of ‘struct elem’ xsml_node.h:7: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_node.h:7: error: redefinition of typedef ‘list’ xsml_list.h:9: error: previous declaration of ‘list’ was here xsml_node.h:24: error: redefinition of ‘struct iter’ xsml_node.h:27: error: redefinition of typedef ‘iter’ xsml_list.h:15: error: previous declaration of ‘iter’ was here xsml_node.h:27: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_node.h:47: error: nested redefinition of ‘enum op_errors’ xsml_node.h:47: error: redeclaration of ‘enum op_errors’ xsml_node.h:48: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_node.h:49: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_node.h:50: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_node.h:51: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here xsml_node.h:53: error: redeclaration of enumerator ‘OP_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_ERROR’ was here In file included from xsml_syn.c:6: xsml_node.h:4: error: redefinition of ‘struct elem’ xsml_node.h:7: error: redefinition of typedef ‘elem’ xsml_node.h:7: error: previous declaration of ‘elem’ was here xsml_node.h:7: error: redefinition of typedef ‘list’ xsml_node.h:7: error: previous declaration of ‘list’ was here xsml_node.h:12: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:12: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:14: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:14: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:14: error: conflicting types for ‘node_type’ xsml_node.h:14: error: previous declaration of ‘node_type’ was here xsml_node.h:18: error: redefinition of ‘struct attributo’ xsml_node.h:21: error: redefinition of typedef ‘attributo’ xsml_node.h:21: error: previous declaration of ‘attributo’ was here xsml_node.h:21: error: redefinition of typedef ‘ATT’ xsml_node.h:21: error: previous declaration of ‘ATT’ was here xsml_node.h:24: error: redefinition of ‘struct iter’ xsml_node.h:27: error: redefinition of typedef ‘iter’ xsml_node.h:27: error: previous declaration of ‘iter’ was here xsml_node.h:27: error: redefinition of typedef ‘iterator’ xsml_node.h:27: error: previous declaration of ‘iterator’ was here xsml_node.h:31: error: redefinition of ‘struct node’ xsml_node.h:41: error: redefinition of typedef ‘node’ xsml_node.h:41: error: previous declaration of ‘node’ was here xsml_node.h:47: error: nested redefinition of ‘enum op_errors’ xsml_node.h:47: error: redeclaration of ‘enum op_errors’ xsml_node.h:48: error: redeclaration of enumerator ‘OP_OK’ xsml_node.h:48: error: previous definition of ‘OP_OK’ was here xsml_node.h:49: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_node.h:49: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_node.h:50: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_node.h:50: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_node.h:51: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_node.h:51: error: previous definition of ‘OP_GENERIC’ was here xsml_node.h:53: error: redeclaration of enumerator ‘OP_ERROR’ xsml_node.h:53: error: previous definition of ‘OP_ERROR’ was here xsml_node.h:58: error: conflicting types for ‘get_node_type’ xsml_node.h:58: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.c:7: xsml_list.h:6: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_node.h:7: error: previous declaration of ‘elem’ was here xsml_list.h:9: error: redefinition of typedef ‘list’ xsml_node.h:7: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct iter’ xsml_list.h:15: error: redefinition of typedef ‘iter’ xsml_node.h:27: error: previous declaration of ‘iter’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_node.h:27: error: previous declaration of ‘iterator’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_node.h:48: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_node.h:49: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_node.h:50: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_node.h:51: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_ERROR’ xsml_node.h:53: error: previous definition of ‘OP_ERROR’ was here xsml_syn.c:9: error: redefinition of ‘struct elem’ xsml_syn.c:13: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:4: error: redefinition of ‘struct elem’ xsml_node.h:7: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_node.h:7: error: redefinition of typedef ‘list’ xsml_list.h:9: error: previous declaration of ‘list’ was here xsml_node.h:24: error: redefinition of ‘struct iter’ xsml_node.h:27: error: redefinition of typedef ‘iter’ xsml_list.h:15: error: previous declaration of ‘iter’ was here xsml_node.h:27: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_node.h:47: error: nested redefinition of ‘enum op_errors’ xsml_node.h:47: error: redeclaration of ‘enum op_errors’ xsml_node.h:48: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_node.h:49: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_node.h:50: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_node.h:51: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here xsml_node.h:53: error: redeclaration of enumerator ‘OP_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_ERROR’ was here In file included from xsml_iter.c:5: xsml_node.h:4: error: redefinition of ‘struct elem’ xsml_node.h:7: error: redefinition of typedef ‘elem’ xsml_node.h:7: error: previous declaration of ‘elem’ was here xsml_node.h:7: error: redefinition of typedef ‘list’ xsml_node.h:7: error: previous declaration of ‘list’ was here xsml_node.h:12: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:12: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:14: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:14: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:14: error: conflicting types for ‘node_type’ xsml_node.h:14: error: previous declaration of ‘node_type’ was here xsml_node.h:18: error: redefinition of ‘struct attributo’ xsml_node.h:21: error: redefinition of typedef ‘attributo’ xsml_node.h:21: error: previous declaration of ‘attributo’ was here xsml_node.h:21: error: redefinition of typedef ‘ATT’ xsml_node.h:21: error: previous declaration of ‘ATT’ was here xsml_node.h:24: error: redefinition of ‘struct iter’ xsml_node.h:27: error: redefinition of typedef ‘iter’ xsml_node.h:27: error: previous declaration of ‘iter’ was here xsml_node.h:27: error: redefinition of typedef ‘iterator’ xsml_node.h:27: error: previous declaration of ‘iterator’ was here xsml_node.h:31: error: redefinition of ‘struct node’ xsml_node.h:41: error: redefinition of typedef ‘node’ xsml_node.h:41: error: previous declaration of ‘node’ was here xsml_node.h:47: error: nested redefinition of ‘enum op_errors’ xsml_node.h:47: error: redeclaration of ‘enum op_errors’ xsml_node.h:48: error: redeclaration of enumerator ‘OP_OK’ xsml_node.h:48: error: previous definition of ‘OP_OK’ was here xsml_node.h:49: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_node.h:49: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_node.h:50: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_node.h:50: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_node.h:51: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_node.h:51: error: previous definition of ‘OP_GENERIC’ was here xsml_node.h:53: error: redeclaration of enumerator ‘OP_ERROR’ xsml_node.h:53: error: previous definition of ‘OP_ERROR’ was here xsml_node.h:58: error: conflicting types for ‘get_node_type’ xsml_node.h:58: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:6: xsml_list.h:6: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_node.h:7: error: previous declaration of ‘elem’ was here xsml_list.h:9: error: redefinition of typedef ‘list’ xsml_node.h:7: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct iter’ xsml_list.h:15: error: redefinition of typedef ‘iter’ xsml_node.h:27: error: previous declaration of ‘iter’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_node.h:27: error: previous declaration of ‘iterator’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_node.h:48: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_node.h:49: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_node.h:50: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_node.h:51: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_ERROR’ xsml_node.h:53: error: previous definition of ‘OP_ERROR’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ xsml_iter.c:12: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:12: error: ‘struct elem’ has no member named ‘first’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:21: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:21: error: (Each undeclared identifier is reported only once xsml_iter.c:21: error: for each function it appears in.) xsml_iter.c:21: error: syntax error before ‘h’ xsml_iter.c:22: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:23: error: ‘h’ undeclared (first use in this function) xsml_iter.c:23: error: syntax error before ‘l’ xsml_iter.c:25: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:25: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:35: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ xsml_iter.c:37: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:37: error: ‘struct elem’ has no member named ‘first’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:44: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:45: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:46: error: ‘struct iter’ has no member named ‘p’ xsml_iter.c:46: error: ‘struct iter’ has no member named ‘p’ Compile: [ERROR] ========================================================== GiuseppeSantaMariaSosso: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:15: error: redefinition of typedef ‘elem’ xsml_list.h:15: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: conflicting types for ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:26: error: conflicting types for ‘iterator’ xsml_list.h:26: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: conflicting types for ‘new_list’ xsml_list.h:28: error: previous declaration of ‘new_list’ was here xsml_list.h:29: error: conflicting types for ‘add_first’ xsml_list.h:29: error: previous declaration of ‘add_first’ was here xsml_list.h:30: error: conflicting types for ‘add_last’ xsml_list.h:30: error: previous declaration of ‘add_last’ was here xsml_list.h:31: error: conflicting types for ‘is_empty’ xsml_list.h:31: error: previous declaration of ‘is_empty’ was here xsml_list.h:32: error: conflicting types for ‘get_iterator’ xsml_list.h:32: error: previous declaration of ‘get_iterator’ was here xsml_list.h:33: error: conflicting types for ‘next’ xsml_list.h:33: error: previous declaration of ‘next’ was here xsml_list.h:34: error: conflicting types for ‘has_next’ xsml_list.h:34: error: previous declaration of ‘has_next’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:15: error: redefinition of typedef ‘elem’ xsml_list.h:15: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: conflicting types for ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:26: error: conflicting types for ‘iterator’ xsml_list.h:26: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: conflicting types for ‘new_list’ xsml_list.h:28: error: previous declaration of ‘new_list’ was here xsml_list.h:29: error: conflicting types for ‘add_first’ xsml_list.h:29: error: previous declaration of ‘add_first’ was here xsml_list.h:30: error: conflicting types for ‘add_last’ xsml_list.h:30: error: previous declaration of ‘add_last’ was here xsml_list.h:31: error: conflicting types for ‘is_empty’ xsml_list.h:31: error: previous declaration of ‘is_empty’ was here xsml_list.h:32: error: conflicting types for ‘get_iterator’ xsml_list.h:32: error: previous declaration of ‘get_iterator’ was here xsml_list.h:33: error: conflicting types for ‘next’ xsml_list.h:33: error: previous declaration of ‘next’ was here xsml_list.h:34: error: conflicting types for ‘has_next’ xsml_list.h:34: error: previous declaration of ‘has_next’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:15: error: redefinition of typedef ‘elem’ xsml_list.h:15: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: conflicting types for ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:26: error: conflicting types for ‘iterator’ xsml_list.h:26: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: conflicting types for ‘new_list’ xsml_list.h:28: error: previous declaration of ‘new_list’ was here xsml_list.h:29: error: conflicting types for ‘add_first’ xsml_list.h:29: error: previous declaration of ‘add_first’ was here xsml_list.h:30: error: conflicting types for ‘add_last’ xsml_list.h:30: error: previous declaration of ‘add_last’ was here xsml_list.h:31: error: conflicting types for ‘is_empty’ xsml_list.h:31: error: previous declaration of ‘is_empty’ was here xsml_list.h:32: error: conflicting types for ‘get_iterator’ xsml_list.h:32: error: previous declaration of ‘get_iterator’ was here xsml_list.h:33: error: conflicting types for ‘next’ xsml_list.h:33: error: previous declaration of ‘next’ was here xsml_list.h:34: error: conflicting types for ‘has_next’ xsml_list.h:34: error: previous declaration of ‘has_next’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: conflicting types for ‘attributo’ xsml_node.h:14: error: previous declaration of ‘attributo’ was here xsml_node.h:17: error: redefinition of ‘struct node’ xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:27: error: conflicting types for ‘get_node_type’ xsml_node.h:27: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:15: error: redefinition of typedef ‘elem’ xsml_list.h:15: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: conflicting types for ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:26: error: conflicting types for ‘iterator’ xsml_list.h:26: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: conflicting types for ‘new_list’ xsml_list.h:28: error: previous declaration of ‘new_list’ was here xsml_list.h:29: error: conflicting types for ‘add_first’ xsml_list.h:29: error: previous declaration of ‘add_first’ was here xsml_list.h:30: error: conflicting types for ‘add_last’ xsml_list.h:30: error: previous declaration of ‘add_last’ was here xsml_list.h:31: error: conflicting types for ‘is_empty’ xsml_list.h:31: error: previous declaration of ‘is_empty’ was here xsml_list.h:32: error: conflicting types for ‘get_iterator’ xsml_list.h:32: error: previous declaration of ‘get_iterator’ was here xsml_list.h:33: error: conflicting types for ‘next’ xsml_list.h:33: error: previous declaration of ‘next’ was here xsml_list.h:34: error: conflicting types for ‘has_next’ xsml_list.h:34: error: previous declaration of ‘has_next’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:15: error: redefinition of typedef ‘elem’ xsml_list.h:15: error: previous declaration of ‘elem’ was here xsml_list.h:21: error: conflicting types for ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:26: error: conflicting types for ‘iterator’ xsml_list.h:26: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: conflicting types for ‘new_list’ xsml_list.h:28: error: previous declaration of ‘new_list’ was here xsml_list.h:29: error: conflicting types for ‘add_first’ xsml_list.h:29: error: previous declaration of ‘add_first’ was here xsml_list.h:30: error: conflicting types for ‘add_last’ xsml_list.h:30: error: previous declaration of ‘add_last’ was here xsml_list.h:31: error: conflicting types for ‘is_empty’ xsml_list.h:31: error: previous declaration of ‘is_empty’ was here xsml_list.h:32: error: conflicting types for ‘get_iterator’ xsml_list.h:32: error: previous declaration of ‘get_iterator’ was here xsml_list.h:33: error: conflicting types for ‘next’ xsml_list.h:33: error: previous declaration of ‘next’ was here xsml_list.h:34: error: conflicting types for ‘has_next’ xsml_list.h:34: error: previous declaration of ‘has_next’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:13: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:13: error: (Each undeclared identifier is reported only once xsml_iter.c:13: error: for each function it appears in.) xsml_iter.c:13: error: syntax error before ‘a’ xsml_iter.c:14: error: ‘a’ undeclared (first use in this function) Compile: [ERROR] ========================================================== GiuseppeTreppiedi: Unzip: [TAR] Compile: [OK] ========================================================== GloriaRomualdi: Unzip: [OK] main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type xsml_syn.c:153: error: conflicting types for ‘open_tag’ xsml_syn.c:83: error: previous declaration of ‘open_tag’ was here xsml_syn.c:179: error: conflicting types for ‘f_attr’ xsml_syn.c:154: error: previous declaration of ‘f_attr’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:11: error: dereferencing pointer to incomplete type xsml_iter.c:11: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_iter.c:20: error: dereferencing pointer to incomplete type xsml_iter.c:21: error: dereferencing pointer to incomplete type xsml_iter.c:21: error: dereferencing pointer to incomplete type xsml_iter.c:22: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:30: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:31: error: dereferencing pointer to incomplete type xsml_iter.c:31: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_node’: xsml_iter.c:38: error: dereferencing pointer to incomplete type xsml_iter.c:40: error: dereferencing pointer to incomplete type xsml_iter.c:41: error: dereferencing pointer to incomplete type xsml_iter.c:41: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== JacopoOttaviani: Unzip: [OK] In file included from xsml_node.h:4, from main3.c:6: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_list.c:2, from xsml_syn.c:17: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.c:18: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_node.c:3, from xsml_syn.c:19: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.c:3, from xsml_syn.c:19: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.c:19: xsml_node.c:33: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_syn.c:22: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_syn.c:22: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:22: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_list.c:2, from xsml_iter.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_iter.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_node.c:3, from xsml_iter.c:9: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.c:3, from xsml_iter.c:9: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:9: xsml_node.c:33: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:12: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: conversion to non-scalar type requested Compile: [ERROR] ========================================================== LauraMinicucci: Unzip: [TAR] Compile: [OK] ========================================================== LauraRossi: Unzip: [TAR] gcc: xsml_iter.c: No such file or directory Compile: [ERROR] ========================================================== LorenzoBellincampi: Unzip: [OK] xsml_list.c: In function ‘new_list’: xsml_list.c:10: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:47: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:82: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_list.h:53, from xsml_node.h:3, from xsml_node.c:4: xsml_list.c: In function ‘new_list’: xsml_list.c:10: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:47: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:82: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:14: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:30: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:79: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_list.h:53, from xsml_iter.c:4: xsml_list.c: In function ‘new_list’: xsml_list.c:10: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:47: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:82: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:29, from xsml_iter.c:6: xsml_node.c: In function ‘new_text_node’: xsml_node.c:14: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:30: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:79: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:22: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:22: error: (Each undeclared identifier is reported only once xsml_iter.c:22: error: for each function it appears in.) Compile: [ERROR] ========================================================== LorenzoLiscio: Unzip: [TAR] xsml_syn.c:1: error: stray ‘\31’ in program xsml_syn.c:1: error: stray ‘\139’ in program xsml_syn.c:1: error: stray ‘\8’ in program xsml_syn.c:1:4: warning: null character(s) ignored xsml_syn.c:1: error: stray ‘\5’ in program xsml_syn.c:1:9: warning: null character(s) ignored xsml_syn.c:1: error: stray ‘\3’ in program xsml_syn.c:1: error: stray ‘\237’ in program xsml_syn.c:1: error: stray ‘\210’ in program xsml_syn.c:1: error: stray ‘\221’ in program xsml_syn.c:1: error: syntax error before ‘j’ xsml_syn.c:1: error: stray ‘\194’ in program xsml_syn.c:1: error: stray ‘\20’ in program xsml_syn.c:1: error: stray ‘\7’ in program xsml_syn.c:1: error: stray ‘\240’ in program xsml_syn.c:1: error: stray ‘\222’ in program xsml_syn.c:1: error: stray ‘\26’ in program xsml_syn.c:1: error: stray ‘\200’ in program xsml_syn.c:1: error: stray ‘\4’ in program xsml_syn.c:1: error: stray ‘\147’ in program xsml_syn.c:2: error: stray ‘\235’ in program xsml_syn.c:2: error: syntax error before ‘{’ token xsml_syn.c:2: error: stray ‘\243’ in program xsml_syn.c:2: error: stray ‘\187’ in program xsml_syn.c:2: error: stray ‘\150’ in program xsml_syn.c:2: error: stray ‘\174’ in program xsml_syn.c:2: error: stray ‘\160’ in program xsml_syn.c:2: error: stray ‘\198’ in program xsml_syn.c:2: error: stray ‘\145’ in program xsml_syn.c:2: error: stray ‘\164’ in program xsml_syn.c:2: error: stray ‘\224’ in program xsml_syn.c:2: error: stray ‘\24’ in program xsml_syn.c:2: error: stray ‘\190’ in program xsml_syn.c:2: error: stray ‘\251’ in program xsml_syn.c:2: error: stray ‘\234’ in program xsml_syn.c:2: error: stray ‘\199’ in program xsml_syn.c:2: error: stray ‘\131’ in program xsml_syn.c:2: error: stray ‘\25’ in program xsml_syn.c:2: error: stray ‘\131’ in program xsml_syn.c:2: error: stray ‘\255’ in program xsml_syn.c:2: error: stray ‘\239’ in program xsml_syn.c:2: error: stray ‘\233’ in program xsml_syn.c:2: error: stray ‘\201’ in program xsml_syn.c:2: error: stray ‘\155’ in program xsml_syn.c:2: error: stray ‘\141’ in program xsml_syn.c:2: error: stray ‘\213’ in program xsml_syn.c:2: error: stray ‘\237’ in program xsml_syn.c:2: error: stray ‘\149’ in program xsml_syn.c:2: error: stray ‘\29’ in program xsml_syn.c:2: error: stray ‘\148’ in program xsml_syn.c:2: error: stray ‘\209’ in program xsml_syn.c:2: error: stray ‘\173’ in program xsml_syn.c:2: error: stray ‘\158’ in program xsml_syn.c:2: error: stray ‘\166’ in program xsml_syn.c:2: error: stray ‘\249’ in program xsml_syn.c:2: error: stray ‘\228’ in program xsml_syn.c:2: error: stray ‘\229’ in program xsml_syn.c:2: error: stray ‘\217’ in program xsml_syn.c:2: error: stray ‘\147’ in program xsml_syn.c:2: error: stray ‘\148’ in program xsml_syn.c:2: error: stray ‘\142’ in program xsml_syn.c:2: error: stray ‘\179’ in program xsml_syn.c:2: error: stray ‘\158’ in program xsml_syn.c:2: error: stray ‘\15’ in program xsml_syn.c:2: error: stray ‘\163’ in program xsml_syn.c:2: error: stray ‘\29’ in program xsml_syn.c:2: error: stray ‘\163’ in program xsml_syn.c:2: error: stray ‘\146’ in program xsml_syn.c:2: error: stray ‘\155’ in program xsml_syn.c:2: error: stray ‘\162’ in program xsml_syn.c:2: error: stray ‘\190’ in program xsml_syn.c:2: error: stray ‘\176’ in program xsml_syn.c:2: error: stray ‘\245’ in program xsml_syn.c:2: error: stray ‘\218’ in program xsml_syn.c:2: error: stray ‘\214’ in program xsml_syn.c:2: error: stray ‘\218’ in program xsml_syn.c:2: error: stray ‘\207’ in program xsml_syn.c:2: error: stray ‘\251’ in program xsml_syn.c:2: error: stray ‘\253’ in program xsml_syn.c:2: error: stray ‘\159’ in program xsml_syn.c:2: error: stray ‘\186’ in program xsml_syn.c:2: error: stray ‘\211’ in program xsml_syn.c:2: error: stray ‘\166’ in program xsml_syn.c:2: error: stray ‘\172’ in program xsml_syn.c:2: error: stray ‘\155’ in program xsml_syn.c:2: error: stray ‘\165’ in program xsml_syn.c:2: error: stray ‘\18’ in program xsml_syn.c:2: error: stray ‘\221’ in program xsml_syn.c:3: error: stray ‘\221’ in program xsml_syn.c:3: error: stray ‘\4’ in program xsml_syn.c:3: error: stray ‘\247’ in program xsml_syn.c:3: error: stray ‘\6’ in program xsml_syn.c:3: error: stray ‘\151’ in program xsml_syn.c:3: error: stray ‘\179’ in program xsml_syn.c:3: error: stray ‘\179’ in program xsml_syn.c:3: error: stray ‘\170’ in program xsml_syn.c:3: error: stray ‘\241’ in program xsml_syn.c:3: error: stray ‘\240’ in program xsml_syn.c:3: error: stray ‘\27’ in program xsml_syn.c:3: error: stray ‘\231’ in program xsml_syn.c:3: error: stray ‘\172’ in program xsml_syn.c:3: error: stray ‘\240’ in program xsml_syn.c:3: error: stray ‘\222’ in program xsml_syn.c:3: error: stray ‘\134’ in program xsml_syn.c:3: error: stray ‘\139’ in program xsml_syn.c:3: error: stray ‘\164’ in program xsml_syn.c:3: error: stray ‘\152’ in program xsml_syn.c:3: error: stray ‘\231’ in program xsml_syn.c:3: error: stray ‘\187’ in program xsml_syn.c:3: error: stray ‘\207’ in program xsml_syn.c:3: error: stray ‘\196’ in program xsml_syn.c:3: error: stray ‘\156’ in program xsml_syn.c:3: error: stray ‘\189’ in program xsml_syn.c:3: error: stray ‘\214’ in program xsml_syn.c:3: error: stray ‘\177’ in program xsml_syn.c:3: error: stray ‘\202’ in program xsml_syn.c:3: error: stray ‘\214’ in program xsml_syn.c:3: error: stray ‘\136’ in program xsml_syn.c:3: error: stray ‘\23’ in program xsml_syn.c:3: error: stray ‘\229’ in program xsml_syn.c:3: error: stray ‘\219’ in program xsml_syn.c:3: error: stray ‘\248’ in program xsml_syn.c:3: error: stray ‘\181’ in program xsml_syn.c:3: error: stray ‘\149’ in program xsml_syn.c:3: error: stray ‘\166’ in program xsml_syn.c:3: error: stray ‘\163’ in program xsml_syn.c:3: error: stray ‘\250’ in program xsml_syn.c:3: error: stray ‘\169’ in program xsml_syn.c:3: error: stray ‘\241’ in program xsml_syn.c:3: error: stray ‘\202’ in program xsml_syn.c:3: error: stray ‘\197’ in program xsml_syn.c:3: error: stray ‘\206’ in program xsml_syn.c:3: error: stray ‘\182’ in program xsml_syn.c:3: error: stray ‘\156’ in program xsml_syn.c:3: error: stray ‘\149’ in program xsml_syn.c:3: error: stray ‘\248’ in program xsml_syn.c:3: error: stray ‘\163’ in program xsml_syn.c:3: error: stray ‘\242’ in program xsml_syn.c:3: error: stray ‘\128’ in program xsml_syn.c:3: error: stray ‘\222’ in program xsml_syn.c:3: error: stray ‘\191’ in program xsml_syn.c:3: error: stray ‘\21’ in program xsml_syn.c:3:94: error: invalid suffix "DC" on integer constant xsml_syn.c:3: error: stray ‘\184’ in program xsml_syn.c:3: error: stray ‘\241’ in program xsml_syn.c:3: error: stray ‘\206’ in program xsml_syn.c:3: error: stray ‘\238’ in program xsml_syn.c:3: error: stray ‘\162’ in program xsml_syn.c:3: error: stray ‘\188’ in program xsml_syn.c:3: error: stray ‘\228’ in program xsml_syn.c:3: error: stray ‘\225’ in program xsml_syn.c:3: error: stray ‘\200’ in program xsml_syn.c:3: error: stray ‘\233’ in program xsml_syn.c:3: error: stray ‘\207’ in program xsml_syn.c:3: error: stray ‘\177’ in program xsml_syn.c:3: error: stray ‘\20’ in program xsml_syn.c:3: error: stray ‘\220’ in program xsml_syn.c:3: error: stray ‘\150’ in program xsml_syn.c:3: error: stray ‘\247’ in program xsml_syn.c:3: error: stray ‘\240’ in program xsml_syn.c:3: error: stray ‘\159’ in program xsml_syn.c:3: error: stray ‘\239’ in program xsml_syn.c:3: error: stray ‘\234’ in program xsml_syn.c:3: error: stray ‘\224’ in program xsml_syn.c:3: error: stray ‘\140’ in program xsml_syn.c:3: error: stray ‘\234’ in program xsml_syn.c:3: error: stray ‘\167’ in program xsml_syn.c:3: error: stray ‘\147’ in program xsml_syn.c:3: error: stray ‘\252’ in program xsml_syn.c:3: error: stray ‘\165’ in program xsml_syn.c:3: error: stray ‘\235’ in program xsml_syn.c:3: error: stray ‘\165’ in program xsml_syn.c:3: error: stray ‘\223’ in program xsml_syn.c:3: error: stray ‘\216’ in program xsml_syn.c:3: error: stray ‘\249’ in program xsml_syn.c:3: error: stray ‘\234’ in program xsml_syn.c:3: error: stray ‘\143’ in program xsml_syn.c:3: error: stray ‘\166’ in program xsml_syn.c:3: error: stray ‘\242’ in program xsml_syn.c:3: error: stray ‘\202’ in program xsml_syn.c:3: error: stray ‘\197’ in program xsml_syn.c:3: error: stray ‘\254’ in program xsml_syn.c:3: error: stray ‘\204’ in program xsml_syn.c:3: error: stray ‘\127’ in program xsml_syn.c:3: error: stray ‘\237’ in program xsml_syn.c:3: error: stray ‘\179’ in program xsml_syn.c:3: error: stray ‘\142’ in program xsml_syn.c:3: error: stray ‘\230’ in program xsml_syn.c:3: error: stray ‘\241’ in program xsml_syn.c:3: error: stray ‘\227’ in program xsml_syn.c:3: error: stray ‘\180’ in program xsml_syn.c:3: error: stray ‘\177’ in program xsml_syn.c:3: error: stray ‘\176’ in program xsml_syn.c:3: error: stray ‘\181’ in program xsml_syn.c:3: error: stray ‘\165’ in program xsml_syn.c:3: error: stray ‘\191’ in program xsml_syn.c:3: error: stray ‘\190’ in program xsml_syn.c:3:183: warning: null character(s) ignored xsml_syn.c:3: error: stray ‘\240’ in program xsml_syn.c:3:203: warning: null character(s) ignored xsml_syn.c:3: error: stray ‘\228’ in program xsml_syn.c:3:208: warning: null character(s) ignored xsml_syn.c:3:210: warning: null character(s) ignored xsml_syn.c:3:212: warning: no newline at end of file xsml_syn.c:3: error: syntax error at end of input Compile: [ERROR] ========================================================== LucaDiFilippo: Unzip: [OK] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:27: error: redefinition of typedef ‘node’ xsml_node.h:27: error: previous declaration of ‘node’ was here xsml_node.h:31: error: redefinition of ‘struct attributo’ xsml_node.h:35: error: redefinition of typedef ‘attributo’ xsml_node.h:35: error: previous declaration of ‘attributo’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘read_text’: xsml_lex.c:57: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:243: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result xsml_lex.c:257: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result xsml_lex.c:389: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result xsml_lex.c:458: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result xsml_list.c: In function ‘get_iterator’: xsml_list.c:93: warning: assignment from incompatible pointer type xsml_node.c: In function ‘new_text_node’: xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:17: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type xsml_node.c: In function ‘new_tag_node’: xsml_node.c:43: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:43: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type xsml_node.c: In function ‘get_attributo’: xsml_node.c:101: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:132: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:150: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:150: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast xsml_node.c:164: warning: incompatible implicit declaration of built-in function ‘strcpy’ In file included from xsml_syn.h:5, from xsml_syn.c:4: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:4: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:4: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:27: error: redefinition of typedef ‘node’ xsml_node.h:27: error: previous declaration of ‘node’ was here xsml_node.h:31: error: redefinition of ‘struct attributo’ xsml_node.h:35: error: redefinition of typedef ‘attributo’ xsml_node.h:35: error: previous declaration of ‘attributo’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_syn.c: In function ‘new_node’: xsml_syn.c:67: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c:67: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_syn.c:68: warning: incompatible implicit declaration of built-in function ‘strcpy’ In file included from xsml_syn.h:5, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct node_list’ xsml_list.h:12: error: redefinition of typedef ‘node_list’ xsml_list.h:12: error: previous declaration of ‘node_list’ was here xsml_list.h:17: error: redefinition of ‘struct list’ xsml_list.h:23: error: redefinition of typedef ‘list’ xsml_list.h:23: error: previous declaration of ‘list’ was here xsml_list.h:28: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: nested redefinition of ‘enum op_errors’ xsml_list.h:36: error: redeclaration of ‘enum op_errors’ xsml_list.h:37: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:37: error: previous definition of ‘OP_OK’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:39: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:39: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:41: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:4: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:27: error: redefinition of typedef ‘node’ xsml_node.h:27: error: previous declaration of ‘node’ was here xsml_node.h:31: error: redefinition of ‘struct attributo’ xsml_node.h:35: error: redefinition of typedef ‘attributo’ xsml_node.h:35: error: previous declaration of ‘attributo’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘list_node’ undeclared (first use in this function) xsml_iter.c:19: error: (Each undeclared identifier is reported only once xsml_iter.c:19: error: for each function it appears in.) xsml_iter.c:19: error: ‘value’ undeclared (first use in this function) Compile: [ERROR] ========================================================== LucaFranciosi: Unzip: [TAR] In file included from xsml_node.h:4, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elemento’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:24: error: conflicting types for ‘lista’ xsml_list.h:24: error: previous declaration of ‘lista’ was here xsml_list.h:26: error: conflicting types for ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:33: error: conflicting types for ‘iteratore’ xsml_list.h:33: error: previous declaration of ‘iteratore’ was here xsml_list.h:35: error: conflicting types for ‘iterator’ xsml_list.h:35: error: previous declaration of ‘iterator’ was here xsml_list.h:37: error: conflicting types for ‘new_list’ xsml_list.h:37: error: previous declaration of ‘new_list’ was here xsml_list.h:39: error: conflicting types for ‘add_first’ xsml_list.h:39: error: previous declaration of ‘add_first’ was here xsml_list.h:41: error: conflicting types for ‘add_last’ xsml_list.h:41: error: previous declaration of ‘add_last’ was here xsml_list.h:43: error: conflicting types for ‘is_empty’ xsml_list.h:43: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here xsml_list.h:47: error: conflicting types for ‘next’ xsml_list.h:47: error: previous declaration of ‘next’ was here xsml_list.h:49: error: conflicting types for ‘has_next’ xsml_list.h:49: error: previous declaration of ‘has_next’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elemento’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:24: error: conflicting types for ‘lista’ xsml_list.h:24: error: previous declaration of ‘lista’ was here xsml_list.h:26: error: conflicting types for ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:33: error: conflicting types for ‘iteratore’ xsml_list.h:33: error: previous declaration of ‘iteratore’ was here xsml_list.h:35: error: conflicting types for ‘iterator’ xsml_list.h:35: error: previous declaration of ‘iterator’ was here xsml_list.h:37: error: conflicting types for ‘new_list’ xsml_list.h:37: error: previous declaration of ‘new_list’ was here xsml_list.h:39: error: conflicting types for ‘add_first’ xsml_list.h:39: error: previous declaration of ‘add_first’ was here xsml_list.h:41: error: conflicting types for ‘add_last’ xsml_list.h:41: error: previous declaration of ‘add_last’ was here xsml_list.h:43: error: conflicting types for ‘is_empty’ xsml_list.h:43: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here xsml_list.h:47: error: conflicting types for ‘next’ xsml_list.h:47: error: previous declaration of ‘next’ was here xsml_list.h:49: error: conflicting types for ‘has_next’ xsml_list.h:49: error: previous declaration of ‘has_next’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elemento’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:24: error: conflicting types for ‘lista’ xsml_list.h:24: error: previous declaration of ‘lista’ was here xsml_list.h:26: error: conflicting types for ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:33: error: conflicting types for ‘iteratore’ xsml_list.h:33: error: previous declaration of ‘iteratore’ was here xsml_list.h:35: error: conflicting types for ‘iterator’ xsml_list.h:35: error: previous declaration of ‘iterator’ was here xsml_list.h:37: error: conflicting types for ‘new_list’ xsml_list.h:37: error: previous declaration of ‘new_list’ was here xsml_list.h:39: error: conflicting types for ‘add_first’ xsml_list.h:39: error: previous declaration of ‘add_first’ was here xsml_list.h:41: error: conflicting types for ‘add_last’ xsml_list.h:41: error: previous declaration of ‘add_last’ was here xsml_list.h:43: error: conflicting types for ‘is_empty’ xsml_list.h:43: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here xsml_list.h:47: error: conflicting types for ‘next’ xsml_list.h:47: error: previous declaration of ‘next’ was here xsml_list.h:49: error: conflicting types for ‘has_next’ xsml_list.h:49: error: previous declaration of ‘has_next’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:7: error: redefinition of ‘struct attributo’ xsml_node.h:10: error: redefinition of typedef ‘attributo’ xsml_node.h:10: error: previous declaration of ‘attributo’ was here xsml_node.h:14: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:14: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:16: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:16: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:16: error: conflicting types for ‘node_type’ xsml_node.h:16: error: previous declaration of ‘node_type’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:36: error: conflicting types for ‘get_node_type’ xsml_node.h:36: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_syn.c:2: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elemento’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:24: error: conflicting types for ‘lista’ xsml_list.h:24: error: previous declaration of ‘lista’ was here xsml_list.h:26: error: conflicting types for ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:33: error: conflicting types for ‘iteratore’ xsml_list.h:33: error: previous declaration of ‘iteratore’ was here xsml_list.h:35: error: conflicting types for ‘iterator’ xsml_list.h:35: error: previous declaration of ‘iterator’ was here xsml_list.h:37: error: conflicting types for ‘new_list’ xsml_list.h:37: error: previous declaration of ‘new_list’ was here xsml_list.h:39: error: conflicting types for ‘add_first’ xsml_list.h:39: error: previous declaration of ‘add_first’ was here xsml_list.h:41: error: conflicting types for ‘add_last’ xsml_list.h:41: error: previous declaration of ‘add_last’ was here xsml_list.h:43: error: conflicting types for ‘is_empty’ xsml_list.h:43: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here xsml_list.h:47: error: conflicting types for ‘next’ xsml_list.h:47: error: previous declaration of ‘next’ was here xsml_list.h:49: error: conflicting types for ‘has_next’ xsml_list.h:49: error: previous declaration of ‘has_next’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elemento’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:24: error: conflicting types for ‘lista’ xsml_list.h:24: error: previous declaration of ‘lista’ was here xsml_list.h:26: error: conflicting types for ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:33: error: conflicting types for ‘iteratore’ xsml_list.h:33: error: previous declaration of ‘iteratore’ was here xsml_list.h:35: error: conflicting types for ‘iterator’ xsml_list.h:35: error: previous declaration of ‘iterator’ was here xsml_list.h:37: error: conflicting types for ‘new_list’ xsml_list.h:37: error: previous declaration of ‘new_list’ was here xsml_list.h:39: error: conflicting types for ‘add_first’ xsml_list.h:39: error: previous declaration of ‘add_first’ was here xsml_list.h:41: error: conflicting types for ‘add_last’ xsml_list.h:41: error: previous declaration of ‘add_last’ was here xsml_list.h:43: error: conflicting types for ‘is_empty’ xsml_list.h:43: error: previous declaration of ‘is_empty’ was here xsml_list.h:45: error: conflicting types for ‘get_iterator’ xsml_list.h:45: error: previous declaration of ‘get_iterator’ was here xsml_list.h:47: error: conflicting types for ‘next’ xsml_list.h:47: error: previous declaration of ‘next’ was here xsml_list.h:49: error: conflicting types for ‘has_next’ xsml_list.h:49: error: previous declaration of ‘has_next’ was here Compile: [ERROR] ========================================================== LucaGiardina: Unzip: [OK] xsml_syn.c: In function ‘stampatutto’: xsml_syn.c:131: error: ‘attr’ undeclared (first use in this function) xsml_syn.c:131: error: (Each undeclared identifier is reported only once xsml_syn.c:131: error: for each function it appears in.) xsml_syn.c:131: error: syntax error before ‘att’ xsml_syn.c:134: error: ‘att’ undeclared (first use in this function) xsml_syn.c:134: error: syntax error before ‘next’ xsml_syn.c: At top level: xsml_syn.c:145: warning: conflicting types for ‘stampafigli’ xsml_syn.c:138: warning: previous implicit declaration of ‘stampafigli’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:25: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:25: error: (Each undeclared identifier is reported only once xsml_iter.c:25: error: for each function it appears in.) xsml_iter.c:25: error: syntax error before ‘att’ xsml_iter.c:26: error: ‘att’ undeclared (first use in this function) Compile: [ERROR] ========================================================== LucaLollobrigida: Unzip: [OK] xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:55: error: invalid application of ‘sizeof’ to incomplete type ‘struct iterator’ Compile: [ERROR] ========================================================== LucaLupo: Unzip: [OK] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:6: error: ‘struct iterator’ has no member named ‘prossimo’ xsml_iter.c:6: error: ‘struct iterator’ has no member named ‘prossimo’ xsml_iter.c:8: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:8: error: (Each undeclared identifier is reported only once xsml_iter.c:8: error: for each function it appears in.) xsml_iter.c:8: error: ‘a’ undeclared (first use in this function) xsml_iter.c:8: error: syntax error before ‘)’ token xsml_iter.c: In function ‘next_node’: xsml_iter.c:29: error: ‘struct iterator’ has no member named ‘prossimo’ xsml_iter.c:29: error: ‘struct iterator’ has no member named ‘prossimo’ xsml_iter.c:31: error: ‘struct iterator’ has no member named ‘prossimo’ Compile: [ERROR] ========================================================== ManueleTamburrano: Unzip: [OK] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of typedef ‘node’ xsml_node.h:19: error: previous declaration of ‘node’ was here xsml_node.h:21: error: redefinition of ‘struct attributoSlot’ xsml_node.h:24: error: redefinition of typedef ‘attributoSlot’ xsml_node.h:24: error: previous declaration of ‘attributoSlot’ was here xsml_node.h:24: error: redefinition of typedef ‘attributo’ xsml_node.h:24: error: previous declaration of ‘attributo’ was here xsml_node.h:30: error: conflicting types for ‘get_node_type’ xsml_node.h:30: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_syn.c:3: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of typedef ‘node’ xsml_node.h:19: error: previous declaration of ‘node’ was here xsml_node.h:21: error: redefinition of ‘struct attributoSlot’ xsml_node.h:24: error: redefinition of typedef ‘attributoSlot’ xsml_node.h:24: error: previous declaration of ‘attributoSlot’ was here xsml_node.h:24: error: redefinition of typedef ‘attributo’ xsml_node.h:24: error: previous declaration of ‘attributo’ was here xsml_node.h:30: error: conflicting types for ‘get_node_type’ xsml_node.h:30: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:3: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:5: error: redefinition of ‘struct listSlot’ xsml_list.h:10: error: redefinition of typedef ‘listSlot’ xsml_list.h:10: error: previous declaration of ‘listSlot’ was here xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:13: error: redefinition of ‘struct iteratorSlot’ xsml_list.h:15: error: redefinition of typedef ‘iteratorSlot’ xsml_list.h:15: error: previous declaration of ‘iteratorSlot’ was here xsml_list.h:15: error: redefinition of typedef ‘iterator’ xsml_list.h:15: error: previous declaration of ‘iterator’ was here xsml_list.h:19: error: nested redefinition of ‘enum op_errors’ xsml_list.h:19: error: redeclaration of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:20: error: previous definition of ‘OP_OK’ was here xsml_list.h:21: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:21: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:24: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:9: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of typedef ‘node’ xsml_node.h:19: error: previous declaration of ‘node’ was here xsml_node.h:21: error: redefinition of ‘struct attributoSlot’ xsml_node.h:24: error: redefinition of typedef ‘attributoSlot’ xsml_node.h:24: error: previous declaration of ‘attributoSlot’ was here xsml_node.h:24: error: redefinition of typedef ‘attributo’ xsml_node.h:24: error: previous declaration of ‘attributo’ was here xsml_node.h:30: error: conflicting types for ‘get_node_type’ xsml_node.h:30: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== ManuelMinopoli: Unzip: [OK] Compile: [OK] ========================================================== MarcoAntelmi: Unzip: [TAR] main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:24: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:24: error: (Each undeclared identifier is reported only once xsml_iter.c:24: error: for each function it appears in.) xsml_iter.c:24: error: syntax error before ‘a’ xsml_iter.c:30: error: ‘a’ undeclared (first use in this function) xsml_iter.c:30: error: syntax error before ‘next’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:48: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== MarcoAurelioSterpa: Unzip: [RAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:1: error: redefinition of ‘struct list’ xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:4: error: redefinition of typedef ‘iterator’ xsml_list.h:4: error: previous declaration of ‘iterator’ was here xsml_list.h:33: error: nested redefinition of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of ‘enum op_errors’ xsml_list.h:34: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:34: error: previous definition of ‘OP_OK’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:36: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:38: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:1: error: redefinition of ‘struct list’ xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:4: error: redefinition of typedef ‘iterator’ xsml_list.h:4: error: previous declaration of ‘iterator’ was here xsml_list.h:33: error: nested redefinition of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of ‘enum op_errors’ xsml_list.h:34: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:34: error: previous definition of ‘OP_OK’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:36: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:38: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:1: error: redefinition of ‘struct list’ xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:4: error: redefinition of typedef ‘iterator’ xsml_list.h:4: error: previous declaration of ‘iterator’ was here xsml_list.h:33: error: nested redefinition of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of ‘enum op_errors’ xsml_list.h:34: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:34: error: previous definition of ‘OP_OK’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:36: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:38: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:8: error: redefinition of ‘struct node’ xsml_node.h:18: error: redefinition of typedef ‘node’ xsml_node.h:18: error: previous declaration of ‘node’ was here xsml_node.h:24: error: conflicting types for ‘attr’ xsml_node.h:24: error: previous declaration of ‘attr’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:34: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:14: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:22: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:37: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:51: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:52: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:16: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:42: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:61: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:66: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:1: error: redefinition of ‘struct list’ xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:4: error: redefinition of typedef ‘iterator’ xsml_list.h:4: error: previous declaration of ‘iterator’ was here xsml_list.h:33: error: nested redefinition of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of ‘enum op_errors’ xsml_list.h:34: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:34: error: previous definition of ‘OP_OK’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:36: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:38: error: previous definition of ‘OP_GENERIC’ was here xsml_syn.c: In function ‘SaveTok’: xsml_syn.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:35: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:1: error: redefinition of ‘struct list’ xsml_list.h:4: error: redefinition of typedef ‘list’ xsml_list.h:4: error: previous declaration of ‘list’ was here xsml_list.h:4: error: redefinition of typedef ‘iterator’ xsml_list.h:4: error: previous declaration of ‘iterator’ was here xsml_list.h:33: error: nested redefinition of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of ‘enum op_errors’ xsml_list.h:34: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:34: error: previous definition of ‘OP_OK’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:36: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:38: error: previous definition of ‘OP_GENERIC’ was here Compile: [ERROR] ========================================================== MarcoMarinangeli: Unzip: [OK] Compile: [OK] ========================================================== MarcoRotiroti: Unzip: [TAR] Compile: [OK] ========================================================== MartinaTrani: Unzip: [OK] In file included from xsml_node.h:3, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:20: error: redefinition of ‘struct attributo’ xsml_node.h:22: error: redefinition of typedef ‘ATTRIBUTO’ xsml_node.h:22: error: previous declaration of ‘ATTRIBUTO’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:84: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:107: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:189: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:213: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:230: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:286: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:310: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:327: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:382: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:439: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:460: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_syn.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:20: error: redefinition of ‘struct attributo’ xsml_node.h:22: error: redefinition of typedef ‘ATTRIBUTO’ xsml_node.h:22: error: previous declaration of ‘ATTRIBUTO’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_syn.c:434: warning: conflicting types for ‘alloca_inizializza_ultimo’ xsml_syn.c:92: warning: previous implicit declaration of ‘alloca_inizializza_ultimo’ was here xsml_syn.c:448: warning: conflicting types for ‘crea_ultimo’ xsml_syn.c:103: warning: previous implicit declaration of ‘crea_ultimo’ was here In file included from xsml_syn.h:5, from xsml_iter.c:5: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_iter.c:5: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct vagone’ xsml_list.h:14: error: redefinition of typedef ‘VAGONE’ xsml_list.h:14: error: previous declaration of ‘VAGONE’ was here xsml_list.h:18: error: redefinition of ‘struct list’ xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:16: error: redefinition of typedef ‘node’ xsml_node.h:16: error: previous declaration of ‘node’ was here xsml_node.h:20: error: redefinition of ‘struct attributo’ xsml_node.h:22: error: redefinition of typedef ‘ATTRIBUTO’ xsml_node.h:22: error: previous declaration of ‘ATTRIBUTO’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== MassimilianoFerretti: Unzip: [OK] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:17: error: redefinition of typedef ‘elemento’ xsml_list.h:17: error: previous declaration of ‘elemento’ was here xsml_list.h:19: error: redefinition of ‘struct iter’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here xsml_list.h:24: error: nested redefinition of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of ‘enum op_errors’ xsml_list.h:25: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:25: error: previous definition of ‘OP_OK’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:27: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:29: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:17: error: redefinition of typedef ‘elemento’ xsml_list.h:17: error: previous declaration of ‘elemento’ was here xsml_list.h:19: error: redefinition of ‘struct iter’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here xsml_list.h:24: error: nested redefinition of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of ‘enum op_errors’ xsml_list.h:25: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:25: error: previous definition of ‘OP_OK’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:27: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:29: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:17: error: redefinition of typedef ‘elemento’ xsml_list.h:17: error: previous declaration of ‘elemento’ was here xsml_list.h:19: error: redefinition of ‘struct iter’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here xsml_list.h:24: error: nested redefinition of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of ‘enum op_errors’ xsml_list.h:25: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:25: error: previous definition of ‘OP_OK’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:27: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:29: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:27: error: redefinition of ‘struct attr’ xsml_node.h:32: error: redefinition of typedef ‘attribu’ xsml_node.h:32: error: previous declaration of ‘attribu’ was here xsml_node.h:39: error: conflicting types for ‘get_node_type’ xsml_node.h:39: error: previous declaration of ‘get_node_type’ was here xsml_lex.c:1: error: syntax error before ‘lex_an’ xsml_lex.c: In function ‘new_lexical_analyzer’: xsml_lex.c:4: error: ‘fname’ undeclared (first use in this function) xsml_lex.c:4: error: (Each undeclared identifier is reported only once xsml_lex.c:4: error: for each function it appears in.) xsml_lex.c:4: error: ‘NULL’ undeclared (first use in this function) xsml_lex.c:4: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:5: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:8: error: ‘ERR_FILE’ undeclared (first use in this function) xsml_lex.c:10: error: ‘LEX_STATE_CONTENT’ undeclared (first use in this function) xsml_lex.c: At top level: xsml_lex.c:17: error: syntax error before ‘*’ token xsml_lex.c: In function ‘close_lexical_analyzer’: xsml_lex.c:19: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:20: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c: At top level: xsml_lex.c:26: error: syntax error before ‘*’ token xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:31: error: ‘ptk’ undeclared (first use in this function) xsml_lex.c:31: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:34: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:38: error: ‘LEX_STATE_CONTENT’ undeclared (first use in this function) xsml_lex.c:40: error: ‘EOF’ undeclared (first use in this function) xsml_lex.c:40: error: ‘ERROR’ undeclared (first use in this function) xsml_lex.c:40: error: ‘ERR_EOF’ undeclared (first use in this function) xsml_lex.c:49: error: ‘LEX_STATE_TAG’ undeclared (first use in this function) xsml_lex.c:53: error: ‘STRING’ undeclared (first use in this function) xsml_lex.c:80: error: ‘EQUAL’ undeclared (first use in this function) xsml_lex.c:95: error: ‘NAME’ undeclared (first use in this function) xsml_lex.c:117: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_lex.c:130: error: ‘ERR_INPUT’ undeclared (first use in this function) xsml_lex.c:145: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_lex.c:149: error: ‘ERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_lex.c:212: error: ‘OPEN_START_TAG’ undeclared (first use in this function) In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:17: error: redefinition of typedef ‘elemento’ xsml_list.h:17: error: previous declaration of ‘elemento’ was here xsml_list.h:19: error: redefinition of ‘struct iter’ xsml_list.h:22: error: redefinition of typedef ‘iterator’ xsml_list.h:22: error: previous declaration of ‘iterator’ was here xsml_list.h:24: error: nested redefinition of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of ‘enum op_errors’ xsml_list.h:25: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:25: error: previous definition of ‘OP_OK’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:27: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:29: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:6: error: syntax error before ‘temp’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:7: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:7: error: (Each undeclared identifier is reported only once xsml_iter.c:7: error: for each function it appears in.) xsml_iter.c:7: error: syntax error before ‘val’ xsml_iter.c:8: error: ‘temp’ undeclared (first use in this function) xsml_iter.c:9: error: ‘val’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:15: error: syntax error before ‘attrIt_list’ xsml_iter.c: In function ‘attrIt_list’: xsml_iter.c:16: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:16: error: syntax error before ‘temp’ xsml_iter.c:17: error: ‘temp’ undeclared (first use in this function) xsml_iter.c:17: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:22: error: syntax error before ‘nodelist_it’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:23: error: ‘node_it’ undeclared (first use in this function) xsml_iter.c:23: error: syntax error before ‘aux’ xsml_iter.c:24: error: ‘aux’ undeclared (first use in this function) xsml_iter.c:24: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:29: error: syntax error before ‘aux’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:31: error: ‘aux’ undeclared (first use in this function) Compile: [ERROR] ========================================================== MatteoLatini: Unzip: [TAR] Compile: [OK] ========================================================== MatteoPallocca: Unzip: [OK] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:7: error: redefinition of ‘struct list’ xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:17: error: redefinition of ‘struct iterator’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:26: error: nested redefinition of ‘enum op_errors’ xsml_list.h:26: error: redeclaration of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:27: error: previous definition of ‘OP_OK’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:28: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:31: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:7: error: redefinition of ‘struct list’ xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:17: error: redefinition of ‘struct iterator’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:26: error: nested redefinition of ‘enum op_errors’ xsml_list.h:26: error: redeclaration of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:27: error: previous definition of ‘OP_OK’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:28: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:31: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:7: error: redefinition of ‘struct list’ xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:17: error: redefinition of ‘struct iterator’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:26: error: nested redefinition of ‘enum op_errors’ xsml_list.h:26: error: redeclaration of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:27: error: previous definition of ‘OP_OK’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:28: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:31: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:9: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:9: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:9: error: conflicting types for ‘node_type’ xsml_node.h:9: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:21: error: redefinition of typedef ‘node’ xsml_node.h:21: error: previous declaration of ‘node’ was here xsml_node.h:24: error: redefinition of ‘struct attribute_couple’ xsml_node.h:29: error: redefinition of typedef ‘AttributeCouplePtr’ xsml_node.h:29: error: previous declaration of ‘AttributeCouplePtr’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_list.c: In function ‘add_first’: xsml_list.c:35: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:48: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:9: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:128: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘add_child’: xsml_node.c:153: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:7: error: redefinition of ‘struct list’ xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:17: error: redefinition of ‘struct iterator’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:26: error: nested redefinition of ‘enum op_errors’ xsml_list.h:26: error: redeclaration of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:27: error: previous definition of ‘OP_OK’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:28: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:31: error: previous definition of ‘OP_GENERIC’ was here xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:16: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:7: error: redefinition of ‘struct list’ xsml_list.h:12: error: redefinition of typedef ‘list’ xsml_list.h:12: error: previous declaration of ‘list’ was here xsml_list.h:17: error: redefinition of ‘struct iterator’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:26: error: nested redefinition of ‘enum op_errors’ xsml_list.h:26: error: redeclaration of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:27: error: previous definition of ‘OP_OK’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:28: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:31: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:8: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c:10: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:10: error: ‘struct list’ has no member named ‘first’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:20: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: syntax error before ‘newattr’ xsml_iter.c:22: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:22: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:24: error: ‘newattr’ undeclared (first use in this function) xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:37: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c:39: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:39: error: ‘struct list’ has no member named ‘first’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:48: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:50: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:52: error: ‘struct iterator’ has no member named ‘p’ xsml_iter.c:52: error: ‘struct iterator’ has no member named ‘p’ Compile: [ERROR] ========================================================== MevioColucci: Unzip: [OK] Compile: [OK] ========================================================== MicheleMartinelli: Unzip: [TAR] Compile: [OK] ========================================================== MircoCanzano: Unzip: [OK] gcc: xsml_iter.c: No such file or directory In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.c:3: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== MirkoSquitieri: Unzip: [TAR] Compile: [OK] ========================================================== NadiaDiSchino: Unzip: [OK] In file included from main3.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:34: error: syntax error before ‘attr_it’ xsml_syn.h:34: warning: data definition has no type or storage class xsml_syn.h:39: error: syntax error before ‘attrlist_it’ xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: data definition has no type or storage class xsml_syn.h:46: warning: parameter names (without types) in function declaration xsml_syn.h:50: error: syntax error before ‘node_it’ xsml_syn.h:50: warning: data definition has no type or storage class xsml_syn.h:55: error: syntax error before ‘nodelist_it’ xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: data definition has no type or storage class xsml_syn.h:62: warning: parameter names (without types) in function declaration main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c:42: error: syntax error before ‘ai’ main3.c:43: error: ‘ai’ undeclared (first use in this function) main3.c:43: error: (Each undeclared identifier is reported only once main3.c:43: error: for each function it appears in.) main3.c: In function ‘stampa_content’: main3.c:63: error: syntax error before ‘ni’ main3.c:64: error: ‘ni’ undeclared (first use in this function) main3.c:65: error: ‘OP_OK’ undeclared (first use in this function) main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:76: error: ‘TEXT_NODE’ undeclared (first use in this function) main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:78: error: ‘TAG_NODE’ undeclared (first use in this function) main3.c:81: error: dereferencing pointer to incomplete type main3.c: In function ‘main’: main3.c:109: warning: passing argument 2 of ‘get_xsml_doc’ from incompatible pointer type xsml_lex.c:12: error: syntax error before ‘lex_an’ xsml_lex.c: In function ‘new_lexical_analyzer’: xsml_lex.c:15: error: ‘fname’ undeclared (first use in this function) xsml_lex.c:15: error: (Each undeclared identifier is reported only once xsml_lex.c:15: error: for each function it appears in.) xsml_lex.c:15: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:19: error: ‘ERR_FILE’ undeclared (first use in this function) xsml_lex.c:26: error: ‘LEX_STATE_CONTENT’ undeclared (first use in this function) xsml_lex.c:36: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:38: error: ‘ERR_GENERIC’ undeclared (first use in this function) xsml_lex.c: At top level: xsml_lex.c:45: error: syntax error before ‘*’ token xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:56: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:56: error: ‘ptk’ undeclared (first use in this function) xsml_lex.c:58: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:71: error: ‘ERROR’ undeclared (first use in this function) xsml_lex.c:73: error: ‘ERR_EOF’ undeclared (first use in this function) xsml_lex.c:81: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_lex.c:84: error: ‘LEX_STATE_TAG’ undeclared (first use in this function) xsml_lex.c:100: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_lex.c:121: error: ‘ERR_MEM’ undeclared (first use in this function) xsml_lex.c:126: error: ‘ERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_lex.c:211: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_lex.c:212: error: ‘LEX_STATE_CONTENT’ undeclared (first use in this function) xsml_lex.c:253: error: ‘NAME’ undeclared (first use in this function) xsml_lex.c:336: error: ‘EQUAL’ undeclared (first use in this function) xsml_lex.c:347: error: ‘STRING’ undeclared (first use in this function) xsml_lex.c:511: error: ‘ERR_GENERIC’ undeclared (first use in this function) xsml_lex.c: At top level: xsml_lex.c:518: error: syntax error before ‘*’ token xsml_lex.c: In function ‘close_lexical_analyzer’: xsml_lex.c:520: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:521: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:528: error: ‘ERR_GENERIC’ undeclared (first use in this function) In file included from xsml_syn.c:6: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:34: error: syntax error before ‘attr_it’ xsml_syn.h:34: warning: data definition has no type or storage class xsml_syn.h:39: error: syntax error before ‘attrlist_it’ xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: data definition has no type or storage class xsml_syn.h:46: warning: parameter names (without types) in function declaration xsml_syn.h:50: error: syntax error before ‘node_it’ xsml_syn.h:50: warning: data definition has no type or storage class xsml_syn.h:55: error: syntax error before ‘nodelist_it’ xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: data definition has no type or storage class xsml_syn.h:62: warning: parameter names (without types) in function declaration xsml_syn.c:22: error: conflicting types for ‘get_xsml_doc’ xsml_syn.h:25: error: previous declaration of ‘get_xsml_doc’ was here xsml_syn.c: In function ‘err_liste’: xsml_syn.c:98: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_syn.c:98: error: (Each undeclared identifier is reported only once xsml_syn.c:98: error: for each function it appears in.) xsml_syn.c:100: error: ‘OP_GENERIC’ undeclared (first use in this function) In file included from xsml_iter.c:2: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:34: error: syntax error before ‘attr_it’ xsml_syn.h:34: warning: data definition has no type or storage class xsml_syn.h:39: error: syntax error before ‘attrlist_it’ xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: data definition has no type or storage class xsml_syn.h:46: warning: parameter names (without types) in function declaration xsml_syn.h:50: error: syntax error before ‘node_it’ xsml_syn.h:50: warning: data definition has no type or storage class xsml_syn.h:55: error: syntax error before ‘nodelist_it’ xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: data definition has no type or storage class xsml_syn.h:62: warning: parameter names (without types) in function declaration xsml_iter.c:8: error: syntax error before ‘attrlist_it’ xsml_iter.c:9: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:10: error: syntax error before ‘it’ xsml_iter.c:12: error: ‘it’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c: At top level: xsml_iter.c:18: error: syntax error before ‘it’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘iterator’ undeclared (first use in this function) xsml_iter.c:20: error: syntax error before ‘it’ xsml_iter.c:22: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:24: error: ‘nuovo’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:30: error: syntax error before ‘nodelist_it’ xsml_iter.c:31: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:32: error: syntax error before ‘it’ xsml_iter.c:34: error: ‘it’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:40: error: syntax error before ‘it’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:42: error: ‘iterator’ undeclared (first use in this function) xsml_iter.c:42: error: syntax error before ‘it’ Compile: [ERROR] ========================================================== NicolasFrancavilla: Unzip: [TAR] Compile: [OK] ========================================================== OliverTran: Unzip: [OK] In file included from main3.c:5: xsml_list.h:16: warning: useless storage class specifier in empty declaration xsml_list.h:27: warning: useless storage class specifier in empty declaration xsml_list.h:40: warning: useless storage class specifier in empty declaration In file included from main3.c:6: xsml_node.h:56:7: warning: no newline at end of file In file included from xsml_list.c:3: xsml_list.h:16: warning: useless storage class specifier in empty declaration xsml_list.h:27: warning: useless storage class specifier in empty declaration xsml_list.h:40: warning: useless storage class specifier in empty declaration In file included from xsml_node.h:5, from xsml_node.c:4: xsml_list.h:16: warning: useless storage class specifier in empty declaration xsml_list.h:27: warning: useless storage class specifier in empty declaration xsml_list.h:40: warning: useless storage class specifier in empty declaration In file included from xsml_node.c:4: xsml_node.h:56:7: warning: no newline at end of file In file included from xsml_syn.c:8: xsml_list.h:16: warning: useless storage class specifier in empty declaration xsml_list.h:27: warning: useless storage class specifier in empty declaration xsml_list.h:40: warning: useless storage class specifier in empty declaration In file included from xsml_syn.c:9: xsml_node.h:56:7: warning: no newline at end of file In file included from xsml_iter.c:5: xsml_list.h:16: warning: useless storage class specifier in empty declaration xsml_list.h:27: warning: useless storage class specifier in empty declaration xsml_list.h:40: warning: useless storage class specifier in empty declaration In file included from xsml_iter.c:6: xsml_node.h:56:7: warning: no newline at end of file xsml_iter.c:49:2: warning: no newline at end of file Compile: [WARNING] ========================================================== PaoloDiRollo: Unzip: [OK] xsml_lex.c: In function ‘new_lexical_analyzer’: xsml_lex.c:388: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_iter.c:9: error: conflicting types for ‘node_attribute’ xsml_node.h:15: error: previous declaration of ‘node_attribute’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘struct list_element’ has no member named ‘element’ xsml_iter.c:21: error: ‘struct list_element’ has no member named ‘element’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:30: error: ‘struct list_element’ has no member named ‘element’ xsml_iter.c:32: error: ‘struct list_element’ has no member named ‘element’ Compile: [ERROR] ========================================================== PaoloFalbo: Unzip: [OK] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:21: error: conflicting types for ‘nomevalore’ xsml_node.h:21: error: previous declaration of ‘nomevalore’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: conflicting types for ‘get_node_type’ xsml_node.h:28: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_syn.c:3: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:21: error: conflicting types for ‘nomevalore’ xsml_node.h:21: error: previous declaration of ‘nomevalore’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: conflicting types for ‘get_node_type’ xsml_node.h:28: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:3: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:2: error: nested redefinition of ‘enum op_errors’ xsml_list.h:2: error: redeclaration of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:3: error: previous definition of ‘OP_OK’ was here xsml_list.h:4: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:4: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:7: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:10: error: redefinition of ‘struct cella’ xsml_list.h:13: error: redefinition of typedef ‘cella’ xsml_list.h:13: error: previous declaration of ‘cella’ was here xsml_list.h:19: error: conflicting types for ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: conflicting types for ‘new_list’ xsml_list.h:23: error: previous declaration of ‘new_list’ was here xsml_list.h:24: error: conflicting types for ‘add_first’ xsml_list.h:24: error: previous declaration of ‘add_first’ was here xsml_list.h:25: error: conflicting types for ‘add_last’ xsml_list.h:25: error: previous declaration of ‘add_last’ was here xsml_list.h:26: error: conflicting types for ‘is_empty’ xsml_list.h:26: error: previous declaration of ‘is_empty’ was here xsml_list.h:27: error: conflicting types for ‘get_iterator’ xsml_list.h:27: error: previous declaration of ‘get_iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:3: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:21: error: conflicting types for ‘nomevalore’ xsml_node.h:21: error: previous declaration of ‘nomevalore’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: conflicting types for ‘get_node_type’ xsml_node.h:28: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== PaoloMoscatelli: Unzip: [OK] main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:125: error: ‘n’ undeclared (first use in this function) xsml_lex.c:125: error: (Each undeclared identifier is reported only once xsml_lex.c:125: error: for each function it appears in.) xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:8: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:24: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== PatrizioTamorri: Unzip: [OK] In file included from xsml_list.h:13, from main3.c:5: xsml_list.c:140:2: warning: no newline at end of file In file included from main3.c:5: xsml_list.h:24:26: warning: no newline at end of file In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: nested redefinition of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:5: error: previous definition of ‘OP_OK’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:9: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_list.h:13, from xsml_syn.h:5, from main3.c:7: xsml_list.c:5: error: redefinition of ‘struct list’ xsml_list.c:11: error: redefinition of ‘struct lista’ xsml_list.c:18: error: redefinition of ‘struct iterator’ xsml_list.c:23: error: redefinition of typedef ‘list’ xsml_list.c:23: error: previous declaration of ‘list’ was here xsml_list.c:24: error: redefinition of typedef ‘iterator’ xsml_list.c:24: error: previous declaration of ‘iterator’ was here xsml_list.c:34: error: redefinition of ‘new_list’ xsml_list.c:34: error: previous definition of ‘new_list’ was here xsml_list.c:49: error: redefinition of ‘add_first’ xsml_list.c:49: error: previous definition of ‘add_first’ was here xsml_list.c:79: error: redefinition of ‘add_last’ xsml_list.c:79: error: previous definition of ‘add_last’ was here xsml_list.c:106: error: redefinition of ‘is_empty’ xsml_list.c:106: error: previous definition of ‘is_empty’ was here xsml_list.c:117: error: redefinition of ‘get_iterator’ xsml_list.c:117: error: previous definition of ‘get_iterator’ was here xsml_list.c:126: error: redefinition of ‘next’ xsml_list.c:126: error: previous definition of ‘next’ was here xsml_list.c:137: error: redefinition of ‘has_next’ xsml_list.c:137: error: previous definition of ‘has_next’ was here In file included from xsml_list.h:13, from xsml_syn.h:5, from main3.c:7: xsml_list.c:140:2: warning: no newline at end of file In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:24:26: warning: no newline at end of file In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘node’ xsml_node.h:17: error: previous declaration of ‘node’ was here xsml_node.h:22: error: conflicting types for ‘get_node_type’ xsml_node.c:31: error: previous definition of ‘get_node_type’ was here In file included from xsml_node.h:27, from xsml_syn.h:6, from main3.c:7: xsml_node.c:3: error: redefinition of ‘new_text_node’ xsml_node.c:3: error: previous definition of ‘new_text_node’ was here xsml_node.c:18: error: redefinition of ‘new_tag_node’ xsml_node.c:18: error: previous definition of ‘new_tag_node’ was here xsml_node.c:31: error: conflicting types for ‘get_node_type’ xsml_node.c:31: error: previous definition of ‘get_node_type’ was here xsml_node.c:38: error: redefinition of ‘add_child’ xsml_node.c:38: error: previous definition of ‘add_child’ was here xsml_node.c:52: error: redefinition of ‘set_attributo’ xsml_node.c:52: error: previous definition of ‘set_attributo’ was here xsml_node.c:110: error: redefinition of ‘get_attributo’ xsml_node.c:110: error: previous definition of ‘get_attributo’ was here xsml_lex.c:3: error: syntax error before ‘lex_an’ xsml_lex.c: In function ‘new_lexical_analyzer’: xsml_lex.c:5: error: ‘fname’ undeclared (first use in this function) xsml_lex.c:5: error: (Each undeclared identifier is reported only once xsml_lex.c:5: error: for each function it appears in.) xsml_lex.c:5: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:6: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:7: error: ‘ERR_FILE’ undeclared (first use in this function) xsml_lex.c:10: error: ‘LEX_STATE_CONTENT’ undeclared (first use in this function) xsml_lex.c: At top level: xsml_lex.c:15: error: syntax error before ‘*’ token xsml_lex.c: In function ‘close_lexical_analyzer’: xsml_lex.c:17: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:17: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:18: error: ‘EOF’ undeclared (first use in this function) xsml_lex.c: At top level: xsml_lex.c:23: error: syntax error before ‘*’ token xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:58: error: ‘pla’ undeclared (first use in this function) xsml_lex.c:58: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_lex.c:60: error: ‘ERR_MEM’ undeclared (first use in this function) xsml_lex.c:63: error: ‘ptk’ undeclared (first use in this function) xsml_lex.c:75: error: ‘EOF’ undeclared (first use in this function) xsml_lex.c:75: error: ‘ERR_INPUT’ undeclared (first use in this function) xsml_lex.c:93: error: ‘LEX_STATE_TAG’ undeclared (first use in this function) xsml_lex.c:101: error: ‘LEX_STATE_CONTENT’ undeclared (first use in this function) xsml_lex.c:172: error: ‘ERROR’ undeclared (first use in this function) xsml_lex.c:173: error: ‘ERR_EOF’ undeclared (first use in this function) xsml_lex.c:205: error: ‘ERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_lex.c:239: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_lex.c:315: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_lex.c:367: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_lex.c:379: error: ‘EQUAL’ undeclared (first use in this function) xsml_lex.c:429: error: ‘STRING’ undeclared (first use in this function) xsml_lex.c:463: error: ‘NAME’ undeclared (first use in this function) xsml_list.c: In function ‘new_list’: xsml_list.c:37: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c:37: error: (Each undeclared identifier is reported only once xsml_list.c:37: error: for each function it appears in.) xsml_list.c: In function ‘add_first’: xsml_list.c:55: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_list.c:60: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c: In function ‘add_last’: xsml_list.c:85: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_list.c:90: error: ‘OP_OK’ undeclared (first use in this function) xsml_list.c:140:2: warning: no newline at end of file xsml_node.c:2: error: syntax error before ‘*’ token xsml_node.c: In function ‘new_text_node’: xsml_node.c:4: error: ‘node’ undeclared (first use in this function) xsml_node.c:4: error: (Each undeclared identifier is reported only once xsml_node.c:4: error: for each function it appears in.) xsml_node.c:4: error: syntax error before ‘p’ xsml_node.c:5: error: ‘p’ undeclared (first use in this function) xsml_node.c:5: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:5: error: invalid application of ‘sizeof’ to incomplete type ‘struct node’ xsml_node.c:6: error: ‘NULL’ undeclared (first use in this function) xsml_node.c:6: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:7: error: ‘text’ undeclared (first use in this function) xsml_node.c:10: error: ‘TEXT_NODE’ undeclared (first use in this function) xsml_node.c:11: error: ‘n’ undeclared (first use in this function) xsml_node.c:12: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:17: error: syntax error before ‘*’ token xsml_node.c: In function ‘new_tag_node’: xsml_node.c:19: error: ‘node’ undeclared (first use in this function) xsml_node.c:19: error: syntax error before ‘p’ xsml_node.c:20: error: ‘p’ undeclared (first use in this function) xsml_node.c:20: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct node’ xsml_node.c:21: error: ‘NULL’ undeclared (first use in this function) xsml_node.c:21: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:22: error: ‘name’ undeclared (first use in this function) xsml_node.c:25: error: ‘TAG_NODE’ undeclared (first use in this function) xsml_node.c:26: error: ‘n’ undeclared (first use in this function) xsml_node.c:27: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:30: error: syntax error before ‘get_node_type’ xsml_node.c:30: error: syntax error before ‘n’ xsml_node.c: In function ‘get_node_type’: xsml_node.c:32: error: ‘n’ undeclared (first use in this function) xsml_node.c:32: error: ‘NULL’ undeclared (first use in this function) xsml_node.c:32: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:37: error: syntax error before ‘parent’ xsml_node.c: In function ‘add_child’: xsml_node.c:39: error: ‘parent’ undeclared (first use in this function) xsml_node.c:39: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:39: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_node.c:40: error: ‘child’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:51: error: syntax error before ‘n’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:56: error: ‘list’ undeclared (first use in this function) xsml_node.c:56: error: syntax error before ‘l’ xsml_node.c:64: error: ‘attribute’ undeclared (first use in this function) xsml_node.c:65: error: ‘l’ undeclared (first use in this function) xsml_node.c:65: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:65: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_node.c:69: error: ‘value’ undeclared (first use in this function) xsml_node.c:72: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:73: error: ‘NULL’ undeclared (first use in this function) xsml_node.c:73: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_node.c:95: error: ‘n’ undeclared (first use in this function) xsml_node.c: At top level: xsml_node.c:109: error: syntax error before ‘n’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:112: error: ‘iterator’ undeclared (first use in this function) xsml_node.c:112: error: syntax error before ‘i’ xsml_node.c:116: error: ‘list’ undeclared (first use in this function) xsml_node.c:116: error: syntax error before ‘l’ xsml_node.c:121: error: ‘l’ undeclared (first use in this function) xsml_node.c:121: error: ‘OP_OK’ undeclared (first use in this function) xsml_node.c:121: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_node.c:122: error: ‘n’ undeclared (first use in this function) xsml_node.c:123: error: ‘attribute’ undeclared (first use in this function) xsml_node.c:129: error: ‘i’ undeclared (first use in this function) xsml_node.c:153: error: ‘value’ undeclared (first use in this function) xsml_node.c:157: error: ‘OP_NO_ATTRIBUTE_ERROR’ undeclared (first use in this function) xsml_syn.c:3: error: syntax error before ‘*’ token xsml_syn.c:4: error: syntax error before ‘*’ token xsml_syn.c:5: error: syntax error before ‘*’ token xsml_syn.c:6: error: syntax error before ‘*’ token xsml_syn.c:7: error: syntax error before ‘*’ token xsml_syn.c:8: error: syntax error before ‘*’ token xsml_syn.c:9: error: syntax error before ‘*’ token xsml_syn.c:10: error: syntax error before ‘*’ token xsml_syn.c:11: error: syntax error before ‘crea_nodi’ xsml_syn.c:11: error: syntax error before ‘*’ token xsml_syn.c:11: warning: data definition has no type or storage class xsml_syn.c:14: error: syntax error before ‘*’ token xsml_syn.c:14: warning: data definition has no type or storage class xsml_syn.c:16: error: syntax error before ‘last_token’ xsml_syn.c:27: warning: ‘struct node’ declared inside parameter list xsml_syn.c:27: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:30: error: ‘lex_an’ undeclared (first use in this function) xsml_syn.c:30: error: (Each undeclared identifier is reported only once xsml_syn.c:30: error: for each function it appears in.) xsml_syn.c:30: error: syntax error before ‘pla’ xsml_syn.c:32: error: ‘list’ undeclared (first use in this function) xsml_syn.c:32: error: syntax error before ‘l’ xsml_syn.c:33: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:34: error: ‘token’ undeclared (first use in this function) xsml_syn.c:34: error: ‘tok’ undeclared (first use in this function) xsml_syn.c:35: error: ‘p’ undeclared (first use in this function) xsml_syn.c:36: error: ‘l’ undeclared (first use in this function) xsml_syn.c:39: error: ‘pla’ undeclared (first use in this function) xsml_syn.c:40: error: ‘ERR_MEM’ undeclared (first use in this function) xsml_syn.c:40: error: ‘SAERR_MEM’ undeclared (first use in this function) xsml_syn.c:41: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_syn.c:41: error: ‘SAERR_BAD_ARG’ undeclared (first use in this function) xsml_syn.c:42: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:44: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:48: error: ‘SAERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_syn.c:49: error: ‘SAERR_UNEXPECTED_EOF’ undeclared (first use in this function) xsml_syn.c:57: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c:109: error: ‘i’ undeclared (first use in this function) xsml_syn.c:110: error: syntax error before ‘)’ token xsml_syn.c:114: error: ‘ERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_syn.c:115: error: ‘ERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:116: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_syn.c:116: error: syntax error before ‘)’ token xsml_syn.c:119: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:124: error: syntax error before ‘if’ xsml_syn.c:144: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controllo_end_tag_ripetuti’: xsml_syn.c:147: error: ‘token’ undeclared (first use in this function) xsml_syn.c:147: error: ‘point’ undeclared (first use in this function) xsml_syn.c:147: error: ‘point2’ undeclared (first use in this function) xsml_syn.c:148: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:148: error: syntax error before ‘i’ xsml_syn.c:149: error: ‘i’ undeclared (first use in this function) xsml_syn.c:149: error: ‘l’ undeclared (first use in this function) xsml_syn.c:151: error: syntax error before ‘)’ token xsml_syn.c:151: error: syntax error before ‘)’ token xsml_syn.c:155: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_syn.c:158: error: ‘i2’ undeclared (first use in this function) xsml_syn.c:159: error: syntax error before ‘)’ token xsml_syn.c:159: error: syntax error before ‘)’ token xsml_syn.c:163: error: break statement not within loop or switch xsml_syn.c:165: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:168: error: syntax error before ‘}’ token xsml_syn.c:193: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controllo_nodi’: xsml_syn.c:196: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:196: error: syntax error before ‘i’ xsml_syn.c:197: error: ‘token’ undeclared (first use in this function) xsml_syn.c:197: error: ‘p’ undeclared (first use in this function) xsml_syn.c:200: error: ‘i’ undeclared (first use in this function) xsml_syn.c:200: error: ‘l’ undeclared (first use in this function) xsml_syn.c:201: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:201: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:204: error: syntax error before ‘)’ token xsml_syn.c:205: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:210: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_syn.c:215: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:232: error: syntax error before ‘*’ token xsml_syn.c: In function ‘crea_lista_di_entrata’: xsml_syn.c:235: error: ‘token’ undeclared (first use in this function) xsml_syn.c:235: error: ‘ptk’ undeclared (first use in this function) xsml_syn.c:240: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c:241: error: ‘pla’ undeclared (first use in this function) xsml_syn.c:243: error: ‘ERR_BAD_ARG’ undeclared (first use in this function) xsml_syn.c:243: error: ‘SAERR_BAD_ARG’ undeclared (first use in this function) xsml_syn.c:244: error: ‘ERR_MEM’ undeclared (first use in this function) xsml_syn.c:244: error: ‘SAERR_MEM’ undeclared (first use in this function) xsml_syn.c:245: error: ‘ERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_syn.c:245: error: ‘SAERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_syn.c:246: error: ‘ERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:246: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:247: error: ‘l’ undeclared (first use in this function) xsml_syn.c:250: error: ‘ERR_EOF’ undeclared (first use in this function) xsml_syn.c:251: error: ‘SAERR_UNEXPECTED_EOF’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:257: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controlla_bilanciamento_parentesi’: xsml_syn.c:260: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:260: error: syntax error before ‘i’ xsml_syn.c:261: error: ‘token’ undeclared (first use in this function) xsml_syn.c:261: error: ‘v’ undeclared (first use in this function) xsml_syn.c:263: error: ‘i’ undeclared (first use in this function) xsml_syn.c:263: error: ‘l’ undeclared (first use in this function) xsml_syn.c:264: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:264: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:267: error: syntax error before ‘)’ token xsml_syn.c:268: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:272: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_syn.c:280: error: ‘SAERR_UNEXPECTED_EOF’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:285: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controlla_correttezza_open_end_tag’: xsml_syn.c:289: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:289: error: syntax error before ‘i’ xsml_syn.c:290: error: ‘token’ undeclared (first use in this function) xsml_syn.c:290: error: ‘v’ undeclared (first use in this function) xsml_syn.c:290: error: ‘v2’ undeclared (first use in this function) xsml_syn.c:291: error: syntax error before ‘i2’ xsml_syn.c:293: error: ‘i’ undeclared (first use in this function) xsml_syn.c:293: error: ‘l’ undeclared (first use in this function) xsml_syn.c:295: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:295: error: ‘SAERR_MEM’ undeclared (first use in this function) xsml_syn.c:297: error: syntax error before ‘)’ token xsml_syn.c:297: error: syntax error before ‘)’ token xsml_syn.c:303: error: ‘i2’ undeclared (first use in this function) xsml_syn.c:307: error: syntax error before ‘)’ token xsml_syn.c:311: error: syntax error before ‘)’ token xsml_syn.c: At top level: xsml_syn.c:322: warning: data definition has no type or storage class xsml_syn.c:323: error: syntax error before ‘}’ token xsml_syn.c:332: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controllo_bilanciamento_tag’: xsml_syn.c:335: error: ‘token’ undeclared (first use in this function) xsml_syn.c:335: error: ‘v’ undeclared (first use in this function) xsml_syn.c:335: error: ‘v2’ undeclared (first use in this function) xsml_syn.c:337: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:337: error: syntax error before ‘i2’ xsml_syn.c:340: error: ‘i’ undeclared (first use in this function) xsml_syn.c:340: error: ‘l’ undeclared (first use in this function) xsml_syn.c:341: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:341: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:343: error: syntax error before ‘)’ token xsml_syn.c:343: error: syntax error before ‘)’ token xsml_syn.c:349: error: ‘i2’ undeclared (first use in this function) xsml_syn.c:351: error: syntax error before ‘)’ token xsml_syn.c:356: error: syntax error before ‘)’ token xsml_syn.c:356: error: syntax error before ‘)’ token xsml_syn.c:359: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:360: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:362: error: conflicting types for ‘last’ xsml_syn.c:14: error: previous declaration of ‘last’ was here xsml_syn.c:362: error: ‘v2’ undeclared here (not in a function) xsml_syn.c:362: warning: data definition has no type or storage class xsml_syn.c:363: error: syntax error before ‘if’ xsml_syn.c:379: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controllo_radice’: xsml_syn.c:383: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:383: error: syntax error before ‘i’ xsml_syn.c:384: error: ‘token’ undeclared (first use in this function) xsml_syn.c:384: error: ‘v’ undeclared (first use in this function) xsml_syn.c:384: error: ‘prec’ undeclared (first use in this function) xsml_syn.c:384: error: ‘first’ undeclared (first use in this function) xsml_syn.c:384: error: ‘ultimo’ undeclared (first use in this function) xsml_syn.c:385: error: ‘i’ undeclared (first use in this function) xsml_syn.c:385: error: ‘l’ undeclared (first use in this function) xsml_syn.c:386: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:386: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:389: error: syntax error before ‘)’ token xsml_syn.c:389: error: syntax error before ‘)’ token xsml_syn.c:392: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:392: error: ‘SAERR_UNEXPECTED_TOKEN’ undeclared (first use in this function) xsml_syn.c: At top level: xsml_syn.c:396: error: conflicting types for ‘last’ xsml_syn.c:14: error: previous declaration of ‘last’ was here xsml_syn.c:396: error: ‘v’ undeclared here (not in a function) xsml_syn.c:396: warning: data definition has no type or storage class xsml_syn.c:398: error: syntax error before ‘if’ xsml_syn.c:427: error: syntax error before ‘*’ token xsml_syn.c: In function ‘crea_nodi’: xsml_syn.c:431: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:431: error: syntax error before ‘i’ xsml_syn.c:432: error: ‘token’ undeclared (first use in this function) xsml_syn.c:432: error: ‘t’ undeclared (first use in this function) xsml_syn.c:432: error: ‘prec’ undeclared (first use in this function) xsml_syn.c:432: error: ‘temp’ undeclared (first use in this function) xsml_syn.c:433: error: ‘node’ undeclared (first use in this function) xsml_syn.c:433: error: syntax error before ‘n’ xsml_syn.c:437: error: syntax error before ‘w1’ xsml_syn.c:438: error: ‘i’ undeclared (first use in this function) xsml_syn.c:438: error: ‘l’ undeclared (first use in this function) xsml_syn.c:439: error: ‘i2’ undeclared (first use in this function) xsml_syn.c:440: error: ‘i4’ undeclared (first use in this function) xsml_syn.c:441: error: ‘n’ undeclared (first use in this function) xsml_syn.c:441: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:445: error: ‘nm’ undeclared (first use in this function) xsml_syn.c:451: error: syntax error before ‘)’ token xsml_syn.c:456: error: syntax error before ‘)’ token xsml_syn.c:462: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c:462: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_syn.c:466: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:469: error: syntax error before ‘)’ token xsml_syn.c:471: error: syntax error before ‘)’ token xsml_syn.c: At top level: xsml_syn.c:478: error: syntax error before ‘if’ xsml_syn.c:483: error: ‘nm’ undeclared here (not in a function) xsml_syn.c:483: warning: data definition has no type or storage class xsml_syn.c:485: error: ‘t’ undeclared here (not in a function) xsml_syn.c:485: warning: data definition has no type or storage class xsml_syn.c:486: error: ‘temp’ undeclared here (not in a function) xsml_syn.c:486: warning: data definition has no type or storage class xsml_syn.c:487: warning: data definition has no type or storage class xsml_syn.c:488: error: syntax error before ‘if’ xsml_syn.c:490: error: syntax error before ‘!’ token xsml_syn.c:490: error: redefinition of ‘t’ xsml_syn.c:486: error: previous definition of ‘t’ was here xsml_syn.c:490: error: ‘token’ undeclared here (not in a function) xsml_syn.c:490: error: syntax error before ‘)’ token xsml_syn.c:512: error: initializer element is not constant xsml_syn.c:512: warning: data definition has no type or storage class xsml_syn.c:513: error: syntax error before ‘}’ token xsml_syn.c:535: error: syntax error before ‘*’ token xsml_syn.c: In function ‘controllo_regole_token’: xsml_syn.c:541: error: ‘iterator’ undeclared (first use in this function) xsml_syn.c:541: error: syntax error before ‘i’ xsml_syn.c:546: error: ‘i’ undeclared (first use in this function) xsml_syn.c:546: error: ‘l’ undeclared (first use in this function) xsml_syn.c:547: error: ‘NULL’ undeclared (first use in this function) xsml_syn.c:547: error: ‘SAERR_GENERIC’ undeclared (first use in this function) xsml_syn.c:548: error: syntax error before ‘)’ token xsml_syn.c:549: error: syntax error before ‘)’ token xsml_syn.c:552: error: invalid type argument of ‘->’ xsml_syn.c:552: error: ‘OPEN_END_TAG’ undeclared (first use in this function) xsml_syn.c:552: error: invalid type argument of ‘->’ xsml_syn.c:552: error: ‘OPEN_START_TAG’ undeclared (first use in this function) xsml_syn.c:554: error: ‘SAERR_INVALID_TOKEN’ undeclared (first use in this function) xsml_syn.c:556: error: invalid type argument of ‘->’ xsml_syn.c:557: error: invalid type argument of ‘->’ xsml_syn.c:557: error: ‘CLOSE_TAG’ undeclared (first use in this function) xsml_syn.c:562: error: invalid type argument of ‘->’ xsml_syn.c:564: error: invalid type argument of ‘->’ xsml_syn.c:564: error: ‘NAME’ undeclared (first use in this function) xsml_syn.c:564: error: invalid type argument of ‘->’ xsml_syn.c:564: error: ‘EQUAL’ undeclared (first use in this function) xsml_syn.c:564: error: invalid type argument of ‘->’ xsml_syn.c:564: error: ‘STRING’ undeclared (first use in this function) xsml_syn.c:568: error: invalid type argument of ‘->’ xsml_syn.c:569: error: invalid type argument of ‘->’ xsml_syn.c:570: error: invalid type argument of ‘->’ xsml_syn.c: At top level: xsml_syn.c:585: error: syntax error before ‘return’ xsml_syn.c: In function ‘confronta’: xsml_syn.c:598: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:1: error: syntax error before ‘attrlist_it’ xsml_iter.c:1: warning: ‘struct node’ declared inside parameter list xsml_iter.c:1: warning: its scope is only this definition or declaration, which is probably not what you want xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:3: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:3: error: (Each undeclared identifier is reported only once xsml_iter.c:3: error: for each function it appears in.) xsml_iter.c:3: error: syntax error before ‘i’ xsml_iter.c:4: error: ‘i’ undeclared (first use in this function) xsml_iter.c:4: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c:4: error: invalid application of ‘sizeof’ to incomplete type ‘struct lista’ xsml_iter.c:4: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:5: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:9: error: syntax error before ‘it’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: storage size of ‘it2’ isn’t known xsml_iter.c:12: error: ‘it’ undeclared (first use in this function) xsml_iter.c:12: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:23: error: syntax error before ‘nodelist_it’ xsml_iter.c:23: warning: ‘struct node’ declared inside parameter list xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:25: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:25: error: syntax error before ‘i’ xsml_iter.c:26: error: ‘i’ undeclared (first use in this function) xsml_iter.c:26: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c:26: error: invalid application of ‘sizeof’ to incomplete type ‘struct lista’ xsml_iter.c:26: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:27: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:32: error: syntax error before ‘it’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:34: error: storage size of ‘it2’ isn’t known xsml_iter.c:35: error: ‘it’ undeclared (first use in this function) xsml_iter.c:35: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:39:2: warning: no newline at end of file Compile: [ERROR] ========================================================== PezzRico: Unzip: [OK] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct list’ xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct act_node’ xsml_list.h:18: error: redefinition of typedef ‘act_node’ xsml_list.h:18: error: previous declaration of ‘act_node’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct list’ xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct act_node’ xsml_list.h:18: error: redefinition of typedef ‘act_node’ xsml_list.h:18: error: previous declaration of ‘act_node’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct list’ xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct act_node’ xsml_list.h:18: error: redefinition of typedef ‘act_node’ xsml_list.h:18: error: previous declaration of ‘act_node’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:21: error: redefinition of typedef ‘node’ xsml_node.h:21: error: previous declaration of ‘node’ was here xsml_node.h:24: error: redefinition of ‘struct attribute_info’ xsml_node.h:29: error: redefinition of typedef ‘attribute_info’ xsml_node.h:29: error: previous declaration of ‘attribute_info’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here main3.c: In function ‘stampa_open_tag’: main3.c:46: error: incompatible type for argument 1 of ‘get_attributo’ xsml_lex.c: In function ‘copy_token’: xsml_lex.c:117: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_list.c:123:69: warning: no newline at end of file xsml_node.c: In function ‘set_attributo’: xsml_node.c:66: warning: assignment from incompatible pointer type xsml_node.c: In function ‘get_attributo’: xsml_node.c:103: warning: assignment from incompatible pointer type In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:5: error: redefinition of ‘struct list’ xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct act_node’ xsml_list.h:18: error: redefinition of typedef ‘act_node’ xsml_list.h:18: error: previous declaration of ‘act_node’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here xsml_syn.c: In function ‘open_start_tag_handler’: xsml_syn.c:36: warning: passing argument 1 of ‘new_tag_node’ from incompatible pointer type xsml_syn.c:41: error: invalid type argument of ‘->’ xsml_syn.c:41: error: ‘list_node’ undeclared (first use in this function) xsml_syn.c:41: error: (Each undeclared identifier is reported only once xsml_syn.c:41: error: for each function it appears in.) xsml_syn.c:43: error: incompatible type for argument 1 of ‘add_child’ xsml_syn.c:43: error: incompatible type for argument 2 of ‘add_child’ xsml_syn.c:44: error: invalid type argument of ‘->’ xsml_syn.c:44: error: invalid type argument of ‘->’ xsml_syn.c: In function ‘attrib_handler’: xsml_syn.c:107: error: incompatible type for argument 1 of ‘set_attributo’ xsml_syn.c: In function ‘string_handler’: xsml_syn.c:131: warning: passing argument 1 of ‘new_text_node’ from incompatible pointer type xsml_syn.c:136: error: invalid type argument of ‘->’ xsml_syn.c:136: error: ‘list_node’ undeclared (first use in this function) xsml_syn.c:138: error: incompatible type for argument 1 of ‘add_child’ xsml_syn.c:138: error: incompatible type for argument 2 of ‘add_child’ xsml_syn.c:140: error: invalid type argument of ‘->’ xsml_syn.c: In function ‘get_xsml_doc’: xsml_syn.c:184: warning: passing argument 1 of ‘new_tag_node’ from incompatible pointer type In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:5: error: redefinition of ‘struct list’ xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct act_node’ xsml_list.h:18: error: redefinition of typedef ‘act_node’ xsml_list.h:18: error: previous declaration of ‘act_node’ was here xsml_list.h:19: error: redefinition of typedef ‘iterator’ xsml_list.h:19: error: previous declaration of ‘iterator’ was here xsml_list.h:22: error: nested redefinition of ‘enum op_errors’ xsml_list.h:22: error: redeclaration of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:23: error: previous definition of ‘OP_OK’ was here xsml_list.h:24: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:24: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:27: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:27: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:3: error: parameter name omitted xsml_iter.c: In function ‘next_node’: xsml_iter.c:6: error: parameter name omitted xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:9: error: parameter name omitted xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: parameter name omitted Compile: [ERROR] ========================================================== RaffaeleBisegna: Unzip: [OK] In file included from xsml_node.h:13, from main3.c:6: xsml_list.h:22: error: redefinition of ‘struct listst’ xsml_list.h:26: error: redefinition of typedef ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:34: error: redefinition of ‘struct iteratorst’ xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here xsml_list.h:44: error: nested redefinition of ‘enum op_errors’ xsml_list.h:44: error: redeclaration of ‘enum op_errors’ xsml_list.h:45: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:45: error: previous definition of ‘OP_OK’ was here xsml_list.h:46: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:46: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:47: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:47: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:49: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:49: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:22: error: redefinition of ‘struct listst’ xsml_list.h:26: error: redefinition of typedef ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:34: error: redefinition of ‘struct iteratorst’ xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here xsml_list.h:44: error: nested redefinition of ‘enum op_errors’ xsml_list.h:44: error: redeclaration of ‘enum op_errors’ xsml_list.h:45: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:45: error: previous definition of ‘OP_OK’ was here xsml_list.h:46: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:46: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:47: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:47: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:49: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:49: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:13, from xsml_syn.h:6, from main3.c:7: xsml_list.h:22: error: redefinition of ‘struct listst’ xsml_list.h:26: error: redefinition of typedef ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:34: error: redefinition of ‘struct iteratorst’ xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here xsml_list.h:44: error: nested redefinition of ‘enum op_errors’ xsml_list.h:44: error: redeclaration of ‘enum op_errors’ xsml_list.h:45: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:45: error: previous definition of ‘OP_OK’ was here xsml_list.h:46: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:46: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:47: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:47: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:49: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:49: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:18: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:18: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:20: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:20: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:20: error: conflicting types for ‘node_type’ xsml_node.h:20: error: previous declaration of ‘node_type’ was here xsml_node.h:24: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:38: error: redefinition of ‘struct valchar’ xsml_node.h:41: error: redefinition of typedef ‘valchar’ xsml_node.h:41: error: previous declaration of ‘valchar’ was here xsml_node.h:50: error: conflicting types for ‘get_node_type’ xsml_node.h:50: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:13, from xsml_syn.h:6, from xsml_syn.c:22: xsml_list.h:22: error: redefinition of ‘struct listst’ xsml_list.h:26: error: redefinition of typedef ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:34: error: redefinition of ‘struct iteratorst’ xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here xsml_list.h:44: error: nested redefinition of ‘enum op_errors’ xsml_list.h:44: error: redeclaration of ‘enum op_errors’ xsml_list.h:45: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:45: error: previous definition of ‘OP_OK’ was here xsml_list.h:46: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:46: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:47: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:47: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:49: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:49: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:13, from xsml_syn.c:25: xsml_list.h:22: error: redefinition of ‘struct listst’ xsml_list.h:26: error: redefinition of typedef ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:34: error: redefinition of ‘struct iteratorst’ xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here xsml_list.h:44: error: nested redefinition of ‘enum op_errors’ xsml_list.h:44: error: redeclaration of ‘enum op_errors’ xsml_list.h:45: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:45: error: previous definition of ‘OP_OK’ was here xsml_list.h:46: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:46: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:47: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:47: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:49: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:49: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.c:25: xsml_node.h:18: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:18: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:20: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:20: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:20: error: conflicting types for ‘node_type’ xsml_node.h:20: error: previous declaration of ‘node_type’ was here xsml_node.h:24: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:38: error: redefinition of ‘struct valchar’ xsml_node.h:41: error: redefinition of typedef ‘valchar’ xsml_node.h:41: error: previous declaration of ‘valchar’ was here xsml_node.h:50: error: conflicting types for ‘get_node_type’ xsml_node.h:50: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:13, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:22: error: redefinition of ‘struct listst’ xsml_list.h:26: error: redefinition of typedef ‘list’ xsml_list.h:26: error: previous declaration of ‘list’ was here xsml_list.h:34: error: redefinition of ‘struct iteratorst’ xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here xsml_list.h:44: error: nested redefinition of ‘enum op_errors’ xsml_list.h:44: error: redeclaration of ‘enum op_errors’ xsml_list.h:45: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:45: error: previous definition of ‘OP_OK’ was here xsml_list.h:46: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:46: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:47: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:47: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:49: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:49: error: previous definition of ‘OP_GENERIC’ was here Compile: [ERROR] ========================================================== RigersYlli: Unzip: [TAR] xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:18: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:18: error: ‘LEN_BUF’ undeclared (first use in this function) xsml_lex.c:18: error: (Each undeclared identifier is reported only once xsml_lex.c:18: error: for each function it appears in.) xsml_lex.c:105: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:105: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:112: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_lex.c:128: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:128: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:135: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_lex.c:182: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:182: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:189: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_lex.c:232: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:232: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:239: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_lex.c:264: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:264: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:265: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_lex.c:302: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:302: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:303: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_lex.c:331: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:331: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_lex.c:338: warning: incompatible implicit declaration of built-in function ‘memcpy’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:50: error: ‘struct attribute’ has no member named ‘name’ Compile: [ERROR] ========================================================== RobertoNavigli: Unzip: [C] gcc: xsml_syn.c: No such file or directory gcc: xsml_iter.c: No such file or directory Compile: [ERROR] ========================================================== SabrinaFranchin: Unzip: [OK] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:19: error: (Each undeclared identifier is reported only once xsml_iter.c:19: error: for each function it appears in.) xsml_iter.c:19: error: syntax error before ‘attribute’ xsml_iter.c:20: error: ‘attribute’ undeclared (first use in this function) Compile: [ERROR] ========================================================== SergioStraccamore: Unzip: [TAR] In file included from xsml_node.h:3, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:4: error: syntax error before ‘attrIt_list’ xsml_iter.c: In function ‘attrIt_list’: xsml_iter.c:5: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:5: error: (Each undeclared identifier is reported only once xsml_iter.c:5: error: for each function it appears in.) xsml_iter.c:5: error: syntax error before ‘i’ xsml_iter.c:6: error: ‘i’ undeclared (first use in this function) xsml_iter.c:6: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:12: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:13: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:13: error: syntax error before ‘val’ xsml_iter.c:14: error: ‘i’ undeclared (first use in this function) xsml_iter.c:15: error: ‘val’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:22: error: syntax error before ‘nodelist_it’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:23: error: ‘node_it’ undeclared (first use in this function) xsml_iter.c:23: error: syntax error before ‘i’ xsml_iter.c:24: error: ‘i’ undeclared (first use in this function) xsml_iter.c:24: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:32: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:34: error: ‘i’ undeclared (first use in this function) Compile: [ERROR] ========================================================== SergueiCharounine: Unzip: [OK] In file included from xsml_node.h:3, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘nodeS’ xsml_node.h:17: error: previous declaration of ‘nodeS’ was here xsml_node.h:18: error: redefinition of typedef ‘node’ xsml_node.h:18: error: previous declaration of ‘node’ was here xsml_node.h:20: error: redefinition of ‘struct attributeS’ xsml_node.h:25: error: redefinition of typedef ‘attributeS’ xsml_node.h:25: error: previous declaration of ‘attributeS’ was here xsml_node.h:30: error: conflicting types for ‘get_node_type’ xsml_node.h:30: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from xsml_syn.c:4: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_syn.c:4: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_syn.c:4: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘nodeS’ xsml_node.h:17: error: previous declaration of ‘nodeS’ was here xsml_node.h:18: error: redefinition of typedef ‘node’ xsml_node.h:18: error: previous declaration of ‘node’ was here xsml_node.h:20: error: redefinition of ‘struct attributeS’ xsml_node.h:25: error: redefinition of typedef ‘attributeS’ xsml_node.h:25: error: previous declaration of ‘attributeS’ was here xsml_node.h:30: error: conflicting types for ‘get_node_type’ xsml_node.h:30: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:3, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from xsml_iter.c:4: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of typedef ‘elLista’ xsml_list.h:13: error: previous declaration of ‘elLista’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:16: error: redefinition of ‘struct elLista’ xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:26: error: redefinition of ‘struct iteratorS’ xsml_list.h:30: error: redefinition of typedef ‘iteratorS’ xsml_list.h:30: error: previous declaration of ‘iteratorS’ was here xsml_list.h:31: error: redefinition of typedef ‘iterator’ xsml_list.h:31: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:4: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:17: error: redefinition of typedef ‘nodeS’ xsml_node.h:17: error: previous declaration of ‘nodeS’ was here xsml_node.h:18: error: redefinition of typedef ‘node’ xsml_node.h:18: error: previous declaration of ‘node’ was here xsml_node.h:20: error: redefinition of ‘struct attributeS’ xsml_node.h:25: error: redefinition of typedef ‘attributeS’ xsml_node.h:25: error: previous declaration of ‘attributeS’ was here xsml_node.h:30: error: conflicting types for ‘get_node_type’ xsml_node.h:30: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== SilviaRinaldi: Unzip: [OK] In file included from xsml_node.h:3, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct node’ xsml_node.h:26: error: redefinition of ‘struct _attribute’ xsml_node.h:31: error: redefinition of typedef ‘attrib’ xsml_node.h:31: error: previous declaration of ‘attrib’ was here xsml_node.h:34: error: redefinition of typedef ‘node’ xsml_node.h:34: error: previous declaration of ‘node’ was here xsml_node.h:39: error: conflicting types for ‘get_node_type’ xsml_node.h:39: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:52: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_node.h:3, from xsml_syn.c:8: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_syn.c:10: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_syn.c:10: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:10: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct node’ xsml_node.h:26: error: redefinition of ‘struct _attribute’ xsml_node.h:31: error: redefinition of typedef ‘attrib’ xsml_node.h:31: error: previous declaration of ‘attrib’ was here xsml_node.h:34: error: redefinition of typedef ‘node’ xsml_node.h:34: error: previous declaration of ‘node’ was here xsml_node.h:39: error: conflicting types for ‘get_node_type’ xsml_node.h:39: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:5: error: redefinition of ‘struct listElement’ xsml_list.h:10: error: redefinition of typedef ‘listE’ xsml_list.h:10: error: previous declaration of ‘listE’ was here xsml_list.h:11: error: redefinition of typedef ‘list’ xsml_list.h:11: error: previous declaration of ‘list’ was here xsml_list.h:14: error: redefinition of ‘struct iteratorStr’ xsml_list.h:19: error: redefinition of typedef ‘iteratorS’ xsml_list.h:19: error: previous declaration of ‘iteratorS’ was here xsml_list.h:20: error: redefinition of typedef ‘iterator’ xsml_list.h:20: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct node’ xsml_node.h:26: error: redefinition of ‘struct _attribute’ xsml_node.h:31: error: redefinition of typedef ‘attrib’ xsml_node.h:31: error: previous declaration of ‘attrib’ was here xsml_node.h:34: error: redefinition of typedef ‘node’ xsml_node.h:34: error: previous declaration of ‘node’ was here xsml_node.h:39: error: conflicting types for ‘get_node_type’ xsml_node.h:39: error: previous declaration of ‘get_node_type’ was here Compile: [ERROR] ========================================================== SimonaSforza: Unzip: [OK] In file included from xsml_node.h:4, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:10: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:10: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:12: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:12: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:12: error: conflicting types for ‘node_type’ xsml_node.h:12: error: previous declaration of ‘node_type’ was here xsml_node.h:16: error: redefinition of ‘struct node’ xsml_node.h:31: error: redefinition of ‘struct attributo’ xsml_node.h:37: error: redefinition of typedef ‘node’ xsml_node.h:37: error: previous declaration of ‘node’ was here xsml_node.h:39: error: redefinition of typedef ‘ptrattr’ xsml_node.h:39: error: previous declaration of ‘ptrattr’ was here xsml_node.h:48: error: conflicting types for ‘get_node_type’ xsml_node.h:48: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:58: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:130: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:227: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:287: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:354: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:421: warning: incompatible implicit declaration of built-in function ‘malloc’ In file included from xsml_syn.h:5, from xsml_syn.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_syn.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_syn.c:6: xsml_node.h:10: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:10: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:12: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:12: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:12: error: conflicting types for ‘node_type’ xsml_node.h:12: error: previous declaration of ‘node_type’ was here xsml_node.h:16: error: redefinition of ‘struct node’ xsml_node.h:31: error: redefinition of ‘struct attributo’ xsml_node.h:37: error: redefinition of typedef ‘node’ xsml_node.h:37: error: previous declaration of ‘node’ was here xsml_node.h:39: error: redefinition of typedef ‘ptrattr’ xsml_node.h:39: error: previous declaration of ‘ptrattr’ was here xsml_node.h:48: error: conflicting types for ‘get_node_type’ xsml_node.h:48: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:12: error: redefinition of typedef ‘ptrlist’ xsml_list.h:12: error: previous declaration of ‘ptrlist’ was here xsml_list.h:13: error: redefinition of typedef ‘iterator’ xsml_list.h:13: error: previous declaration of ‘iterator’ was here xsml_list.h:14: error: redefinition of typedef ‘list’ xsml_list.h:14: error: previous declaration of ‘list’ was here xsml_list.h:20: error: nested redefinition of ‘enum op_errors’ xsml_list.h:20: error: redeclaration of ‘enum op_errors’ xsml_list.h:21: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:21: error: previous definition of ‘OP_OK’ was here xsml_list.h:22: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:22: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:23: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:23: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:25: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:4: xsml_node.h:10: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:10: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:12: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:12: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:12: error: conflicting types for ‘node_type’ xsml_node.h:12: error: previous declaration of ‘node_type’ was here xsml_node.h:16: error: redefinition of ‘struct node’ xsml_node.h:31: error: redefinition of ‘struct attributo’ xsml_node.h:37: error: redefinition of typedef ‘node’ xsml_node.h:37: error: previous declaration of ‘node’ was here xsml_node.h:39: error: redefinition of typedef ‘ptrattr’ xsml_node.h:39: error: previous declaration of ‘ptrattr’ was here xsml_node.h:48: error: conflicting types for ‘get_node_type’ xsml_node.h:48: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:31: error: ‘list_node’ undeclared (first use in this function) xsml_iter.c:31: error: (Each undeclared identifier is reported only once xsml_iter.c:31: error: for each function it appears in.) xsml_iter.c:31: error: ‘nomestringa’ undeclared (first use in this function) Compile: [ERROR] ========================================================== SimoneDAndreta: Unzip: [OK] In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:20: error: redefinition of typedef ‘node’ xsml_node.h:20: error: previous declaration of ‘node’ was here xsml_node.h:23: error: redefinition of ‘struct attributo’ xsml_node.h:28: error: redefinition of typedef ‘attributi’ xsml_node.h:28: error: previous declaration of ‘attributi’ was here xsml_node.h:35: error: conflicting types for ‘get_node_type’ xsml_node.h:35: error: previous declaration of ‘get_node_type’ was here xsml_lex.c:671: error: conflicting types for ‘eliminaspazio’ xsml_lex.c:321: error: previous implicit declaration of ‘eliminaspazio’ was here xsml_list.c: In function ‘add_first’: xsml_list.c:37: warning: assignment from incompatible pointer type xsml_list.c: In function ‘add_last’: xsml_list.c:70: warning: assignment from incompatible pointer type In file included from xsml_node.c:4: xsml_list.c: In function ‘add_first’: xsml_list.c:37: warning: assignment from incompatible pointer type xsml_list.c: In function ‘add_last’: xsml_list.c:70: warning: assignment from incompatible pointer type In file included from xsml_syn.c:3: xsml_lex.c:671: error: conflicting types for ‘eliminaspazio’ xsml_lex.c:321: error: previous implicit declaration of ‘eliminaspazio’ was here In file included from xsml_node.c:3, from xsml_syn.c:4: xsml_node.h:7: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:7: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:20: error: redefinition of typedef ‘node’ xsml_node.h:20: error: previous declaration of ‘node’ was here xsml_node.h:23: error: redefinition of ‘struct attributo’ xsml_node.h:28: error: redefinition of typedef ‘attributi’ xsml_node.h:28: error: previous declaration of ‘attributi’ was here xsml_node.h:35: error: conflicting types for ‘get_node_type’ xsml_node.h:35: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.c:4, from xsml_syn.c:4: xsml_list.c: In function ‘add_first’: xsml_list.c:37: warning: assignment from incompatible pointer type xsml_list.c: In function ‘add_last’: xsml_list.c:70: warning: assignment from incompatible pointer type In file included from xsml_syn.c:4: xsml_node.c: At top level: xsml_node.c:50: error: conflicting types for ‘get_node_type’ xsml_node.h:35: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.c:5: xsml_list.c:7: error: redefinition of ‘new_list’ xsml_list.c:7: error: previous definition of ‘new_list’ was here xsml_list.c:25: error: redefinition of ‘add_first’ xsml_list.c:25: error: previous definition of ‘add_first’ was here xsml_list.c: In function ‘add_first’: xsml_list.c:37: warning: assignment from incompatible pointer type xsml_list.c: At top level: xsml_list.c:46: error: redefinition of ‘add_last’ xsml_list.c:46: error: previous definition of ‘add_last’ was here xsml_list.c: In function ‘add_last’: xsml_list.c:70: warning: assignment from incompatible pointer type xsml_list.c: At top level: xsml_list.c:80: error: redefinition of ‘is_empty’ xsml_list.c:80: error: previous definition of ‘is_empty’ was here xsml_list.c:89: error: redefinition of ‘get_iterator’ xsml_list.c:89: error: previous definition of ‘get_iterator’ was here xsml_list.c:99: error: redefinition of ‘next’ xsml_list.c:99: error: previous definition of ‘next’ was here xsml_list.c:113: error: redefinition of ‘has_next’ xsml_list.c:113: error: previous definition of ‘has_next’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:27: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:27: error: (Each undeclared identifier is reported only once xsml_iter.c:27: error: for each function it appears in.) xsml_iter.c:27: error: syntax error before ‘t’ xsml_iter.c:28: error: ‘t’ undeclared (first use in this function) xsml_iter.c:28: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:37: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:41: error: ‘struct iteratore’ has no member named ‘p’ Compile: [ERROR] ========================================================== SimoneDuse: Unzip: [OK] Compile: [OK] ========================================================== SimoneMori: Unzip: [OK] In file included from xsml_node.h:3, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct Item’ xsml_list.h:15: error: redefinition of typedef ‘Item’ xsml_list.h:15: error: previous declaration of ‘Item’ was here xsml_list.h:17: error: redefinition of ‘struct Heandler’ xsml_list.h:20: error: redefinition of typedef ‘Heandler’ xsml_list.h:20: error: previous declaration of ‘Heandler’ was here xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of typedef ‘Iterator’ xsml_list.h:23: error: previous declaration of ‘Iterator’ was here xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct Item’ xsml_list.h:15: error: redefinition of typedef ‘Item’ xsml_list.h:15: error: previous declaration of ‘Item’ was here xsml_list.h:17: error: redefinition of ‘struct Heandler’ xsml_list.h:20: error: redefinition of typedef ‘Heandler’ xsml_list.h:20: error: previous declaration of ‘Heandler’ was here xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of typedef ‘Iterator’ xsml_list.h:23: error: previous declaration of ‘Iterator’ was here xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct Item’ xsml_list.h:15: error: redefinition of typedef ‘Item’ xsml_list.h:15: error: previous declaration of ‘Item’ was here xsml_list.h:17: error: redefinition of ‘struct Heandler’ xsml_list.h:20: error: redefinition of typedef ‘Heandler’ xsml_list.h:20: error: previous declaration of ‘Heandler’ was here xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of typedef ‘Iterator’ xsml_list.h:23: error: previous declaration of ‘Iterator’ was here xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attribute’ xsml_node.h:15: error: redefinition of typedef ‘Attributo’ xsml_node.h:15: error: previous declaration of ‘Attributo’ was here xsml_node.h:16: error: redefinition of typedef ‘attributo’ xsml_node.h:16: error: previous declaration of ‘attributo’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_list.c: In function ‘get_iterator’: xsml_list.c:47: error: invalid lvalue in assignment xsml_list.c: In function ‘next’: xsml_list.c:58: error: invalid lvalue in assignment xsml_node.c: In function ‘get_attributo’: xsml_node.c:35: error: invalid lvalue in assignment xsml_node.c: In function ‘set_attributo’: xsml_node.c:56: error: invalid lvalue in assignment In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct Item’ xsml_list.h:15: error: redefinition of typedef ‘Item’ xsml_list.h:15: error: previous declaration of ‘Item’ was here xsml_list.h:17: error: redefinition of ‘struct Heandler’ xsml_list.h:20: error: redefinition of typedef ‘Heandler’ xsml_list.h:20: error: previous declaration of ‘Heandler’ was here xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of typedef ‘Iterator’ xsml_list.h:23: error: previous declaration of ‘Iterator’ was here xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_iter.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:10: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:10: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct Item’ xsml_list.h:15: error: redefinition of typedef ‘Item’ xsml_list.h:15: error: previous declaration of ‘Item’ was here xsml_list.h:17: error: redefinition of ‘struct Heandler’ xsml_list.h:20: error: redefinition of typedef ‘Heandler’ xsml_list.h:20: error: previous declaration of ‘Heandler’ was here xsml_list.h:21: error: redefinition of typedef ‘list’ xsml_list.h:21: error: previous declaration of ‘list’ was here xsml_list.h:23: error: redefinition of typedef ‘Iterator’ xsml_list.h:23: error: previous declaration of ‘Iterator’ was here xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:6: warning: return makes pointer from integer without a cast xsml_iter.c: In function ‘next_attr’: xsml_iter.c:10: error: ‘Att’ undeclared (first use in this function) xsml_iter.c:10: error: (Each undeclared identifier is reported only once xsml_iter.c:10: error: for each function it appears in.) xsml_iter.c:10: error: syntax error before ‘temp’ xsml_iter.c:11: error: ‘temp’ undeclared (first use in this function) xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:15: warning: return makes pointer from integer without a cast xsml_iter.c: In function ‘next_node’: xsml_iter.c:19: warning: return makes pointer from integer without a cast Compile: [ERROR] ========================================================== SimoneStraccia: Unzip: [OK] In file included from main3.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c:42: warning: passing argument 1 of ‘attrlist_it’ from incompatible pointer type main3.c:46: warning: passing argument 1 of ‘get_attributo’ from incompatible pointer type main3.c: In function ‘stampa_content’: main3.c:63: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type main3.c: In function ‘main’: main3.c:109: warning: passing argument 2 of ‘get_xsml_doc’ from incompatible pointer type xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:23: warning: incompatible implicit declaration of built-in function ‘calloc’ In file included from xsml_syn.c:6: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_syn.c: In function ‘attr_pair’: xsml_syn.c:34: warning: passing argument 1 of ‘set_attributo’ from incompatible pointer type xsml_syn.c: In function ‘start_tag’: xsml_syn.c:82: warning: passing argument 1 of ‘new_tag_node’ from incompatible pointer type xsml_syn.c: In function ‘text’: xsml_syn.c:93: warning: passing argument 1 of ‘new_text_node’ from incompatible pointer type xsml_syn.c: In function ‘end_tag’: xsml_syn.c:104: warning: passing argument 1 of ‘new_tag_node’ from incompatible pointer type xsml_syn.c: In function ‘tree_create’: xsml_syn.c:123: error: dereferencing pointer to incomplete type xsml_syn.c:123: error: dereferencing pointer to incomplete type xsml_syn.c:127: warning: passing argument 1 of ‘add_child’ from incompatible pointer type xsml_syn.c:127: warning: passing argument 2 of ‘add_child’ from incompatible pointer type xsml_syn.c:143: warning: passing argument 1 of ‘new_tag_node’ from incompatible pointer type xsml_syn.c:159: warning: passing argument 1 of ‘add_child’ from incompatible pointer type xsml_syn.c:159: warning: passing argument 2 of ‘add_child’ from incompatible pointer type xsml_syn.c:169: warning: passing argument 1 of ‘add_child’ from incompatible pointer type xsml_syn.c:169: warning: passing argument 2 of ‘add_child’ from incompatible pointer type xsml_syn.c: At top level: xsml_syn.c:178: error: conflicting types for ‘get_xsml_doc’ xsml_syn.h:25: error: previous declaration of ‘get_xsml_doc’ was here In file included from xsml_iter.c:6: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:8: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:11: warning: passing argument 1 of ‘get_node_type’ from incompatible pointer type xsml_iter.c:12: error: dereferencing pointer to incomplete type xsml_iter.c:14: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:30: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:32: error: dereferencing pointer to incomplete type xsml_iter.c:34: error: dereferencing pointer to incomplete type Compile: [ERROR] ========================================================== StefanoCaruso: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:6: error: nested redefinition of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:7: error: previous definition of ‘OP_OK’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct NodoLista’ xsml_list.h:17: error: redefinition of typedef ‘list’ xsml_list.h:17: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct nodoIt’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:6: error: nested redefinition of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:7: error: previous definition of ‘OP_OK’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct NodoLista’ xsml_list.h:17: error: redefinition of typedef ‘list’ xsml_list.h:17: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct nodoIt’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:6: error: nested redefinition of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:7: error: previous definition of ‘OP_OK’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct NodoLista’ xsml_list.h:17: error: redefinition of typedef ‘list’ xsml_list.h:17: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct nodoIt’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct node’ xsml_node.h:22: error: redefinition of typedef ‘node’ xsml_node.h:22: error: previous declaration of ‘node’ was here xsml_node.h:24: error: redefinition of ‘struct date_attrib’ xsml_node.h:28: error: redefinition of typedef ‘date_attrib_p’ xsml_node.h:28: error: previous declaration of ‘date_attrib_p’ was here xsml_node.h:32: error: conflicting types for ‘get_node_type’ xsml_node.h:32: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘new_lexical_analyzer’: xsml_lex.c:27: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:48: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:49: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:58: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:59: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:71: warning: comparison between pointer and integer xsml_lex.c:71: warning: comparison between pointer and integer xsml_lex.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:74: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:126: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:127: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:146: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:147: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:163: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:164: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:173: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:174: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:178: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:179: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:208: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:209: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:232: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:233: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:239: warning: comparison between pointer and integer xsml_lex.c:250: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:251: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:261: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:262: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:272: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:273: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:277: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:278: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:303: warning: comparison between pointer and integer xsml_lex.c:303: warning: comparison between pointer and integer xsml_lex.c:316: warning: comparison between pointer and integer xsml_lex.c:320: warning: comparison between pointer and integer xsml_lex.c:326: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:327: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:334: warning: comparison between pointer and integer xsml_lex.c:342: warning: comparison between pointer and integer xsml_lex.c:353: warning: comparison between pointer and integer xsml_lex.c:354: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:355: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:360: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:361: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:383: warning: comparison between pointer and integer xsml_lex.c:383: warning: comparison between pointer and integer xsml_lex.c:432: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:433: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:452: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:453: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:469: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:470: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:479: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:480: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:484: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:485: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:514: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:515: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:538: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:539: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:545: warning: comparison between pointer and integer xsml_lex.c:556: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:557: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:567: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:568: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:578: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:579: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:583: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:584: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:627: warning: comparison between pointer and integer xsml_lex.c:629: warning: comparison between pointer and integer xsml_lex.c:641: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:642: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:647: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:648: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:677: warning: comparison between pointer and integer xsml_lex.c:679: warning: comparison between pointer and integer xsml_lex.c:691: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:692: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:698: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:699: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:730: warning: comparison between pointer and integer xsml_lex.c:730: warning: comparison between pointer and integer xsml_lex.c:768: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:769: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:788: warning: comparison between pointer and integer xsml_lex.c:809: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:810: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:825: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:826: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:831: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:832: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:848: warning: comparison between pointer and integer xsml_lex.c:869: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:870: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:884: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:885: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c:890: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_lex.c:891: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_lex.c: In function ‘close_lexical_analyzer’: xsml_lex.c:903: warning: comparison between pointer and integer xsml_lex.c:903: warning: comparison between pointer and integer In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:6: error: nested redefinition of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:7: error: previous definition of ‘OP_OK’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct NodoLista’ xsml_list.h:17: error: redefinition of typedef ‘list’ xsml_list.h:17: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct nodoIt’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:6: error: nested redefinition of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of ‘enum op_errors’ xsml_list.h:7: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:7: error: previous definition of ‘OP_OK’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:9: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:9: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:12: error: redefinition of ‘struct NodoLista’ xsml_list.h:17: error: redefinition of typedef ‘list’ xsml_list.h:17: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct nodoIt’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:23: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:23: error: (Each undeclared identifier is reported only once xsml_iter.c:23: error: for each function it appears in.) xsml_iter.c:23: error: syntax error before ‘p’ xsml_iter.c:29: error: ‘p’ undeclared (first use in this function) Compile: [ERROR] ========================================================== StevenGomes: Unzip: [TAR] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:18: error: redefinition of typedef ‘listelem’ xsml_list.h:18: error: previous declaration of ‘listelem’ was here xsml_list.h:20: error: redefinition of typedef ‘list’ xsml_list.h:20: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct attrNode’ xsml_list.h:28: error: redefinition of typedef ‘attrelem’ xsml_list.h:28: error: previous declaration of ‘attrelem’ was here xsml_list.h:30: error: redefinition of typedef ‘listattr’ xsml_list.h:30: error: previous declaration of ‘listattr’ was here xsml_list.h:34: error: redefinition of ‘struct iterNode’ xsml_list.h:36: error: redefinition of typedef ‘iterelem’ xsml_list.h:36: error: previous declaration of ‘iterelem’ was here xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:18: error: redefinition of typedef ‘listelem’ xsml_list.h:18: error: previous declaration of ‘listelem’ was here xsml_list.h:20: error: redefinition of typedef ‘list’ xsml_list.h:20: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct attrNode’ xsml_list.h:28: error: redefinition of typedef ‘attrelem’ xsml_list.h:28: error: previous declaration of ‘attrelem’ was here xsml_list.h:30: error: redefinition of typedef ‘listattr’ xsml_list.h:30: error: previous declaration of ‘listattr’ was here xsml_list.h:34: error: redefinition of ‘struct iterNode’ xsml_list.h:36: error: redefinition of typedef ‘iterelem’ xsml_list.h:36: error: previous declaration of ‘iterelem’ was here xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:18: error: redefinition of typedef ‘listelem’ xsml_list.h:18: error: previous declaration of ‘listelem’ was here xsml_list.h:20: error: redefinition of typedef ‘list’ xsml_list.h:20: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct attrNode’ xsml_list.h:28: error: redefinition of typedef ‘attrelem’ xsml_list.h:28: error: previous declaration of ‘attrelem’ was here xsml_list.h:30: error: redefinition of typedef ‘listattr’ xsml_list.h:30: error: previous declaration of ‘listattr’ was here xsml_list.h:34: error: redefinition of ‘struct iterNode’ xsml_list.h:36: error: redefinition of typedef ‘iterelem’ xsml_list.h:36: error: previous declaration of ‘iterelem’ was here xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:27: error: redefinition of typedef ‘node’ xsml_node.h:27: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:18: error: redefinition of typedef ‘listelem’ xsml_list.h:18: error: previous declaration of ‘listelem’ was here xsml_list.h:20: error: redefinition of typedef ‘list’ xsml_list.h:20: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct attrNode’ xsml_list.h:28: error: redefinition of typedef ‘attrelem’ xsml_list.h:28: error: previous declaration of ‘attrelem’ was here xsml_list.h:30: error: redefinition of typedef ‘listattr’ xsml_list.h:30: error: previous declaration of ‘listattr’ was here xsml_list.h:34: error: redefinition of ‘struct iterNode’ xsml_list.h:36: error: redefinition of typedef ‘iterelem’ xsml_list.h:36: error: previous declaration of ‘iterelem’ was here xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:1: xsml_list.h:3: error: nested redefinition of ‘enum op_errors’ xsml_list.h:3: error: redeclaration of ‘enum op_errors’ xsml_list.h:4: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:4: error: previous definition of ‘OP_OK’ was here xsml_list.h:5: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:5: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:6: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:6: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:8: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct listNode’ xsml_list.h:18: error: redefinition of typedef ‘listelem’ xsml_list.h:18: error: previous declaration of ‘listelem’ was here xsml_list.h:20: error: redefinition of typedef ‘list’ xsml_list.h:20: error: previous declaration of ‘list’ was here xsml_list.h:25: error: redefinition of ‘struct attrNode’ xsml_list.h:28: error: redefinition of typedef ‘attrelem’ xsml_list.h:28: error: previous declaration of ‘attrelem’ was here xsml_list.h:30: error: redefinition of typedef ‘listattr’ xsml_list.h:30: error: previous declaration of ‘listattr’ was here xsml_list.h:34: error: redefinition of ‘struct iterNode’ xsml_list.h:36: error: redefinition of typedef ‘iterelem’ xsml_list.h:36: error: previous declaration of ‘iterelem’ was here xsml_list.h:38: error: redefinition of typedef ‘iterator’ xsml_list.h:38: error: previous declaration of ‘iterator’ was here Compile: [ERROR] ========================================================== TizianoFlati: Unzip: [OK] xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:123: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c: In function ‘caso_CONTENT’: xsml_lex.c:210: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c: In function ‘caso_STRINGA’: xsml_lex.c:235: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:245: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c: In function ‘prendi_parola’: xsml_lex.c:292: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:313: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c:323: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_lex.c: In function ‘caso_EOF’: xsml_lex.c:333: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘new_list’: xsml_list.c:5: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:22: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:5: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:6: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:6: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:8: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:15: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:16: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:16: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:18: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:44: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:46: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:58: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:60: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:62: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:65: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:65: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:67: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_syn.c: In function ‘get_attr_pair’: xsml_syn.c:66: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_syn.c:66: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_syn.c:67: warning: incompatible implicit declaration of built-in function ‘strcpy’ /tmp/cceMfAKK.o(.text+0x0): In function `token_type_to_string': xsml_lex.c: multiple definition of `token_type_to_string' /tmp/cc4w7mb8.o(.text+0x0):main3.c: first defined here /tmp/cceMfAKK.o(.text+0x29): In function `main': xsml_lex.c: multiple definition of `main' /tmp/cc4w7mb8.o(.text+0x21d):main3.c: first defined here /usr/bin/ld: Warning: size of symbol `main' changed from 609 in /tmp/cc4w7mb8.o to 348 in /tmp/cceMfAKK.o collect2: ld returned 1 exit status Compile: [ERROR] ========================================================== TommasoIzzo: Unzip: [OK] In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elemento’ xsml_list.h:19: error: previous declaration of ‘elemento’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:30: error: redefinition of typedef ‘list’ xsml_list.h:30: error: previous declaration of ‘list’ was here xsml_list.h:32: error: redefinition of ‘struct iter’ xsml_list.h:37: error: redefinition of typedef ‘iterator’ xsml_list.h:37: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elemento’ xsml_list.h:19: error: previous declaration of ‘elemento’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:30: error: redefinition of typedef ‘list’ xsml_list.h:30: error: previous declaration of ‘list’ was here xsml_list.h:32: error: redefinition of ‘struct iter’ xsml_list.h:37: error: redefinition of typedef ‘iterator’ xsml_list.h:37: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elemento’ xsml_list.h:19: error: previous declaration of ‘elemento’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:30: error: redefinition of typedef ‘list’ xsml_list.h:30: error: previous declaration of ‘list’ was here xsml_list.h:32: error: redefinition of ‘struct iter’ xsml_list.h:37: error: redefinition of typedef ‘iterator’ xsml_list.h:37: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attr’ xsml_node.h:15: error: redefinition of typedef ‘attrib’ xsml_node.h:15: error: previous declaration of ‘attrib’ was here xsml_node.h:17: error: redefinition of ‘struct node’ xsml_node.h:28: error: redefinition of typedef ‘node’ xsml_node.h:28: error: previous declaration of ‘node’ was here xsml_node.h:37: error: conflicting types for ‘get_node_type’ xsml_node.h:37: error: previous declaration of ‘get_node_type’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_syn.c:3: xsml_list.h:5: error: nested redefinition of ‘enum op_errors’ xsml_list.h:5: error: redeclaration of ‘enum op_errors’ xsml_list.h:6: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:6: error: previous definition of ‘OP_OK’ was here xsml_list.h:7: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:7: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:8: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:8: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:11: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:11: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:13: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elemento’ xsml_list.h:19: error: previous declaration of ‘elemento’ was here xsml_list.h:21: error: redefinition of ‘struct list’ xsml_list.h:30: error: redefinition of typedef ‘list’ xsml_list.h:30: error: previous declaration of ‘list’ was here xsml_list.h:32: error: redefinition of ‘struct iter’ xsml_list.h:37: error: redefinition of typedef ‘iterator’ xsml_list.h:37: error: previous declaration of ‘iterator’ was here xsml_iter.c:5: error: syntax error before ‘it’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:7: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:7: error: (Each undeclared identifier is reported only once xsml_iter.c:7: error: for each function it appears in.) xsml_iter.c:7: error: syntax error before ‘val’ xsml_iter.c:8: error: ‘it’ undeclared (first use in this function) xsml_iter.c:10: error: ‘val’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:20: error: syntax error before ‘attrIt_list’ xsml_iter.c: In function ‘attrIt_list’: xsml_iter.c:22: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:22: error: syntax error before ‘it’ xsml_iter.c:23: error: ‘it’ undeclared (first use in this function) xsml_iter.c:23: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:31: error: syntax error before ‘it’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:35: error: ‘it’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:46: error: syntax error before ‘nodelist_it’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:48: error: ‘node_it’ undeclared (first use in this function) xsml_iter.c:48: error: syntax error before ‘it’ xsml_iter.c:49: error: ‘it’ undeclared (first use in this function) xsml_iter.c:49: error: syntax error before ‘malloc’ Compile: [ERROR] ========================================================== ValerioMassimi: Unzip: [OK] In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_lex.c: In function ‘get_next_token’: xsml_lex.c:40: warning: incompatible implicit declaration of built-in function ‘calloc’ In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_syn.c:1: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.c:3: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.c:3: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: syntax error before ‘attrlist_it’ xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:7: error: ‘attr_it’ undeclared (first use in this function) xsml_iter.c:7: error: (Each undeclared identifier is reported only once xsml_iter.c:7: error: for each function it appears in.) xsml_iter.c:7: error: syntax error before ‘i’ xsml_iter.c:8: error: ‘i’ undeclared (first use in this function) xsml_iter.c:8: error: syntax error before ‘malloc’ xsml_iter.c: At top level: xsml_iter.c:13: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘i’ undeclared (first use in this function) xsml_iter.c:17: error: ‘struct attributo’ has no member named ‘name’ xsml_iter.c: At top level: xsml_iter.c:23: error: syntax error before ‘nodelist_it’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:24: error: ‘node_it’ undeclared (first use in this function) xsml_iter.c:24: error: syntax error before ‘i’ xsml_iter.c:25: error: ‘i’ undeclared (first use in this function) xsml_iter.c: At top level: xsml_iter.c:29: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:31: error: ‘i’ undeclared (first use in this function) Compile: [ERROR] ========================================================== ValerioSecondini: Unzip: [OK] xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: ‘struct iterator’ has no member named ‘next’ xsml_iter.c:32: error: ‘struct iterator’ has no member named ‘next’ xsml_iter.c:34: error: ‘struct iterator’ has no member named ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:56: error: ‘struct iterator’ has no member named ‘next’ xsml_iter.c:56: error: ‘struct iterator’ has no member named ‘next’ xsml_iter.c:58: error: ‘struct iterator’ has no member named ‘next’ Compile: [ERROR] ========================================================== VincenzoNovino: Unzip: [OK] In file included from main3.c:6: xsml_node.h:19: error: syntax error before ‘list’ xsml_node.h:19: warning: no semicolon at end of struct or union xsml_node.h:23: error: syntax error before ‘children’ xsml_node.h:23: warning: data definition has no type or storage class In file included from main3.c:7: xsml_syn.h:34: error: syntax error before ‘attr_it’ xsml_syn.h:34: warning: data definition has no type or storage class xsml_syn.h:39: error: syntax error before ‘attrlist_it’ xsml_syn.h:39: warning: data definition has no type or storage class xsml_syn.h:46: warning: parameter names (without types) in function declaration xsml_syn.h:50: error: syntax error before ‘node_it’ xsml_syn.h:50: warning: data definition has no type or storage class xsml_syn.h:55: error: syntax error before ‘nodelist_it’ xsml_syn.h:55: warning: data definition has no type or storage class xsml_syn.h:62: warning: parameter names (without types) in function declaration main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c:42: error: syntax error before ‘ai’ main3.c:43: error: ‘ai’ undeclared (first use in this function) main3.c:43: error: (Each undeclared identifier is reported only once main3.c:43: error: for each function it appears in.) main3.c: In function ‘stampa_content’: main3.c:63: error: syntax error before ‘ni’ main3.c:64: error: ‘ni’ undeclared (first use in this function) main3.c:65: error: ‘OP_OK’ undeclared (first use in this function) main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:81: error: dereferencing pointer to incomplete type In file included from xsml_syn.c:6: xsml_node.h:19: error: syntax error before ‘list’ xsml_node.h:19: warning: no semicolon at end of struct or union xsml_node.h:23: error: syntax error before ‘children’ xsml_node.h:23: warning: data definition has no type or storage class In file included from xsml_syn.c:7: xsml_syn.h:34: error: syntax error before ‘attr_it’ xsml_syn.h:34: warning: data definition has no type or storage class xsml_syn.h:39: error: syntax error before ‘attrlist_it’ xsml_syn.h:39: warning: data definition has no type or storage class xsml_syn.h:46: warning: parameter names (without types) in function declaration xsml_syn.h:50: error: syntax error before ‘node_it’ xsml_syn.h:50: warning: data definition has no type or storage class xsml_syn.h:55: error: syntax error before ‘nodelist_it’ xsml_syn.h:55: warning: data definition has no type or storage class xsml_syn.h:62: warning: parameter names (without types) in function declaration xsml_syn.c: In function ‘err_node’: xsml_syn.c:68: error: ‘OP_MEM_ERROR’ undeclared (first use in this function) xsml_syn.c:68: error: (Each undeclared identifier is reported only once xsml_syn.c:68: error: for each function it appears in.) xsml_syn.c:69: error: ‘OP_GENERIC’ undeclared (first use in this function) xsml_syn.c: In function ‘end_tag’: xsml_syn.c:228: error: dereferencing pointer to incomplete type In file included from xsml_iter.c:6: xsml_node.h:19: error: syntax error before ‘list’ xsml_node.h:19: warning: no semicolon at end of struct or union xsml_node.h:23: error: syntax error before ‘children’ xsml_node.h:23: warning: data definition has no type or storage class In file included from xsml_iter.c:7: xsml_syn.h:34: error: syntax error before ‘attr_it’ xsml_syn.h:34: warning: data definition has no type or storage class xsml_syn.h:39: error: syntax error before ‘attrlist_it’ xsml_syn.h:39: warning: data definition has no type or storage class xsml_syn.h:46: warning: parameter names (without types) in function declaration xsml_syn.h:50: error: syntax error before ‘node_it’ xsml_syn.h:50: warning: data definition has no type or storage class xsml_syn.h:55: error: syntax error before ‘nodelist_it’ xsml_syn.h:55: warning: data definition has no type or storage class xsml_syn.h:62: warning: parameter names (without types) in function declaration xsml_iter.c:11: error: syntax error before ‘attrlist_it’ xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:13: error: syntax error before ‘i’ xsml_iter.c:15: error: ‘i’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: syntax error before ‘get_iterator’ xsml_iter.c: At top level: xsml_iter.c:22: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:28: error: ‘i’ undeclared (first use in this function) xsml_iter.c:30: warning: assignment makes pointer from integer without a cast xsml_iter.c: At top level: xsml_iter.c:44: error: syntax error before ‘nodelist_it’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:46: error: syntax error before ‘i’ xsml_iter.c:48: error: ‘i’ undeclared (first use in this function) xsml_iter.c:48: error: syntax error before ‘get_iterator’ xsml_iter.c: At top level: xsml_iter.c:56: error: syntax error before ‘i’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:60: error: ‘i’ undeclared (first use in this function) xsml_iter.c:62: warning: assignment makes pointer from integer without a cast Compile: [ERROR] ========================================================== VitalijZadneprovskij: Unzip: [OK] gcc: xsml_iter.c: No such file or directory In file included from main3.c:6: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from main3.c:5: /usr/lib/gcc/i386-redhat-linux/4.0.2/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_syn.c:11: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_syn.c:10: /usr/lib/gcc/i386-redhat-linux/4.0.2/include/stddef.h:403:1: warning: this is the location of the previous definition Compile: [ERROR] ========================================================== VladLupascu: Unzip: [TAR] Compile: [OK] ========================================================== Results of unpacking and compiling Total = 99 Unpacking: Unzipped = 61 Untarrred = 36 Unrared = 1 C file submitted = 1 Errors = 0 Compilation Errors = 75 Warnings = 4 Good = 20