Advertisement
D3ad

Untitled

Mar 19th, 2015
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.38 KB | None | 0 0
  1. gcc -std=c99 -g -c -pedantic -Wall error.c
  2. gcc -std=c99 -g -c -pedantic -Wall scanner.c
  3. gcc -std=c99 -g -c -pedantic -Wall parser.c
  4. parser.c: In function ‘Func_body’:
  5. parser.c:210:3: warning: implicit declaration of function ‘functionDeclaration’ [-Wimplicit-function-declaration]
  6.    functionDeclaration(currentFunction);
  7.    ^
  8. gcc -std=c99 -g -c -pedantic -Wall expr.c
  9. expr.c:315:5: warning: ‘hasValue’ defined but not used [-Wunused-function]
  10.  int hasValue() {
  11.      ^
  12. expr.c:322:5: warning: ‘isComparator’ defined but not used [-Wunused-function]
  13.  int isComparator() {
  14.      ^
  15. expr.c:330:5: warning: ‘isArithmetics’ defined but not used [-Wunused-function]
  16.  int isArithmetics() {
  17.      ^
  18. expr.c: In function ‘expression’:
  19. expr.c:237:1: warning: control reaches end of non-void function [-Wreturn-type]
  20.  }
  21.  ^
  22. gcc -std=c99 -g -c -pedantic -Wall context.c
  23. gcc -std=c99 -g -c -pedantic -Wall ial.c
  24. gcc -std=c99 -g -c -pedantic -Wall semantic.c
  25. gcc -std=c99 -g -c -pedantic -Wall test.c
  26. gcc error.o scanner.o parser.o expr.o context.o ial.o semantic.o test.o -o binary
  27. parser.o: In function `Func_body':
  28. /home/d3ad/Documents/skola/ifj/src/parser.c:210: undefined reference to `functionDeclaration'
  29. /home/d3ad/Documents/skola/ifj/src/parser.c:214: undefined reference to `functionDeclaration'
  30. collect2: error: ld returned 1 exit status
  31. make: *** [binary] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement