Compilation started at Fri May 30 11:55:23
gcc list.c ;lex mainEs.l ; gcc lex.yy.c -o mainEs -lfl
In file included from list.c:6:
list.h:49: error: expected ‘)’ before ‘ptr’
list.h:51: error: expected ‘)’ before ‘ptr’
list.h:53: error: expected ‘;’, ‘,’ or ‘)’ before ‘adres’
list.c: In function ‘liste’:
list.c:40: error: ‘listLabels_p’ undeclared (first use in this function)
list.c:40: error: (Each undeclared identifier is reported only once
list.c:40: error: for each function it appears in.)
list.c:40: error: expected ‘;’ before ‘p’
list.c:41: error: ‘tete’ undeclared (first use in this function)
list.c:42: error: ‘p’ undeclared (first use in this function)
list.c: At top level:
list.c:67: error: expected ‘)’ before ‘ptr’
list.c:76: error: expected ‘)’ before ‘ptr’
list.c:93: error: expected ‘;’, ‘,’ or ‘)’ before ‘adres’
In file included from mainEs.l:5:
list.h:49: error: expected ‘)’ before ‘ptr’
list.h:51: error: expected ‘)’ before ‘ptr’
list.h:53: error: expected ‘;’, ‘,’ or ‘)’ before ‘adres’
mainEs.l: In function ‘yylex’:
mainEs.l:38: error: ‘listLabels_p’ undeclared (first use in this function)
mainEs.l:38: error: (Each undeclared identifier is reported only once
mainEs.l:38: error: for each function it appears in.)
mainEs.l:38: error: expected ‘;’ before ‘ptrLablCour’
mainEs.l:39: error: expected ‘;’ before ‘label1’
mainEs.l:41: error: ‘ptrLablCour’ undeclared (first use in this function)
mainEs.l:43: error: ‘listLabels_t’ undeclared (first use in this function)
mainEs.l:43: error: expected expression before ‘)’ token
mainEs.l:54: error: ‘label1’ undeclared (first use in this function)
mainEs.l:54: error: invalid application of ‘sizeof’ to incomplete type ‘struct listLabels’
mainEs.l: In function ‘main’:
mainEs.l:100: error: ‘listLabels_t’ undeclared (first use in this function)
mainEs.l:100: error: ‘label1’ undeclared (first use in this function)
mainEs.l:156: error: ‘listLabels’ undeclared (first use in this function)
mainEs.l:156: error: expected ‘;’ before ‘label1’
mainEs.l:157: error: ‘uneListLabels’ undeclared (first use in this function)
Compilation exited abnormally with code 1 at Fri May 30 11:55:24
Partager