Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -std=c99 -g -c -pedantic -Wall error.c
- gcc -std=c99 -g -c -pedantic -Wall scanner.c
- gcc -std=c99 -g -c -pedantic -Wall parser.c
- parser.c: In function ‘Func_body’:
- parser.c:210:3: warning: implicit declaration of function ‘functionDeclaration’ [-Wimplicit-function-declaration]
- functionDeclaration(currentFunction);
- ^
- gcc -std=c99 -g -c -pedantic -Wall expr.c
- expr.c:315:5: warning: ‘hasValue’ defined but not used [-Wunused-function]
- int hasValue() {
- ^
- expr.c:322:5: warning: ‘isComparator’ defined but not used [-Wunused-function]
- int isComparator() {
- ^
- expr.c:330:5: warning: ‘isArithmetics’ defined but not used [-Wunused-function]
- int isArithmetics() {
- ^
- expr.c: In function ‘expression’:
- expr.c:237:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- gcc -std=c99 -g -c -pedantic -Wall context.c
- gcc -std=c99 -g -c -pedantic -Wall ial.c
- gcc -std=c99 -g -c -pedantic -Wall semantic.c
- gcc -std=c99 -g -c -pedantic -Wall test.c
- gcc error.o scanner.o parser.o expr.o context.o ial.o semantic.o test.o -o binary
- parser.o: In function `Func_body':
- /home/d3ad/Documents/skola/ifj/src/parser.c:210: undefined reference to `functionDeclaration'
- /home/d3ad/Documents/skola/ifj/src/parser.c:214: undefined reference to `functionDeclaration'
- collect2: error: ld returned 1 exit status
- make: *** [binary] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement