All pastes #45517 Raw Edit

Unnamed

public text v1 · immutable
#45517 ·published 2006-03-13 22:34 UTC
rendered paste body
mykas0@ubuntu:~/Desktop/pasta sem nome$ make
gcc -o projecto1 projecto1.c -Wall -g -ansi -pedantic
projecto1.c:1:19: error: stdio.h: Arquivo ou diretório não encontrado
projecto1.c:2:20: error: stdlib.h: Arquivo ou diretório não encontrado
projecto1.c: In function ‘main’:
projecto1.c:11: warning: implicit declaration of function ‘scanf’
projecto1.c:11: warning: incompatible implicit declaration of built-in function ‘scanf’
projecto1.c:13: warning: implicit declaration of function ‘malloc’
projecto1.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’
projecto1.c:13: error: syntax error before ‘/’ token
projecto1.c:13: error: stray ‘\233’ in program
projecto1.c:13: error: stray ‘\243’ in program
projecto1.c:13: error: stray ‘\250’ in program
projecto1.c:14: error: stray ‘\233’ in program
projecto1.c:14: error: stray ‘\234’ in program
projecto1.c:16: warning: statement with no effect
projecto1.c:16: error: syntax error before ‘)’ token
projecto1.c:9: warning: unused variable ‘aux’
projecto1.c:9: warning: unused variable ‘y’
projecto1.c:9: warning: unused variable ‘x’
projecto1.c:9: warning: unused variable ‘pointer’
projecto1.c:26: warning: control reaches end of non-void function
projecto1.c: At top level:
projecto1.c:27: error: syntax error before ‘++’ token
projecto1.c:28: error: ‘i’ undeclared here (not in a function)
projecto1.c:28: warning: type defaults to ‘int’ in declaration of ‘vector_p0’
projecto1.c:28: warning: data definition has no type or storage class
projecto1.c:29: warning: type defaults to ‘int’ in declaration of ‘vector_p1’
projecto1.c:29: warning: data definition has no type or storage class
projecto1.c:30: warning: type defaults to ‘int’ in declaration of ‘i’
projecto1.c:30: warning: data definition has no type or storage class
projecto1.c:32: error: syntax error before ‘while’
projecto1.c:35: warning: type defaults to ‘int’ in declaration of ‘valor’
projecto1.c:35: warning: data definition has no type or storage class
projecto1.c:37: error: syntax error before ‘while’
projecto1.c:38: error: ‘pointer’ undeclared here (not in a function)
projecto1.c:38: error: syntax error before ‘+’ token
projecto1.c:42: warning: type defaults to ‘int’ in declaration of ‘x’
projecto1.c:42: warning: data definition has no type or storage class
projecto1.c:43: warning: type defaults to ‘int’ in declaration of ‘y’
projecto1.c:43: warning: data definition has no type or storage class
projecto1.c:44: error: syntax error before ‘}’ token
projecto1.c:47: error: syntax error before string constant
projecto1.c:47: warning: type defaults to ‘int’ in declaration of ‘printf’
projecto1.c:47: warning: conflicting types for built-in function ‘printf’
projecto1.c:47: warning: data definition has no type or storage class
make: ** [projecto1] Erro 1