Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -Wall -c src/main.c -o bin/main.o
- src/main.c: In function ‘main’:
- src/main.c:77:10: warning: implicit declaration of function ‘tokenization’ [-Wimplicit-function-declaration]
- free(tokenization(src,delim,taille));
- ^
- src/main.c:77:10: warning: passing argument 1 of ‘free’ makes pointer from integer without a cast [-Wint-conversion]
- In file included from src/exo4.h:5:0,
- from src/main.c:1:
- /usr/include/stdlib.h:483:13: note: expected ‘void *’ but argument is of type ‘int’
- extern void free (void *__ptr) __THROW;
- ^
- src/main.c:63:9: warning: ‘src’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if (scanf("%s",src)!=1) {
- ^
- gcc -Wall bin/exo3.o bin/exo4.o bin/tokenization.o bin/exo1.o bin/main.o bin/exo2.o -o prog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement