Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make -C src/
- make[1]: Entering directory `/home/weegee/docs/projekte/c/ascii-combat/src'
- gcc -Wall -Wextra -Wformat=2 -Wswitch-default -Wcast-align -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wconversion -Wunreachable-code -Wstrict-aliasing=2 -ffloat-store -fno-common -fstrict-aliasing -std=c89 -pedantic -O0 -ggdb3 -pg -c -o console.o console.c
- gcc -Wall -Wextra -Wformat=2 -Wswitch-default -Wcast-align -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wconversion -Wunreachable-code -Wstrict-aliasing=2 -ffloat-store -fno-common -fstrict-aliasing -std=c89 -pedantic -O0 -ggdb3 -pg -c -o game.o game.c
- gcc -Wall -Wextra -Wformat=2 -Wswitch-default -Wcast-align -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Winline -Wundef -Wnested-externs -Wcast-qual -Wshadow -Wwrite-strings -Wconversion -Wunreachable-code -Wstrict-aliasing=2 -ffloat-store -fno-common -fstrict-aliasing -std=c89 -pedantic -O0 -ggdb3 -pg -c -o main.o main.c
- game.c: In function 'create_event':
- game.c:40:2: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
- game.c: In function 'loop_bullets':
- game.c:441:36: warning: ISO C forbids conversion of function pointer to object pointer type [-pedantic]
- game.c:441:79: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- game.c:441:91: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- game.c:441:6: warning: ISO C forbids passing argument 4 of 'create_event' between function pointer and 'void *' [-pedantic]
- game.c:36:16: note: expected 'void (*)(void *)' but argument is of type 'void *'
- game.c: In function 'set_player_damage':
- game.c:783:32: warning: ISO C forbids conversion of function pointer to object pointer type [-pedantic]
- game.c:783:75: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- game.c:783:95: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
- game.c:783:2: warning: ISO C forbids passing argument 4 of 'create_event' between function pointer and 'void *' [-pedantic]
- game.c:36:16: note: expected 'void (*)(void *)' but argument is of type 'void *'
- main.c: In function 'main':
- main.c:70:32: warning: ISO C forbids conversion of function pointer to object pointer type [-pedantic]
- main.c:70:2: warning: ISO C forbids passing argument 4 of 'create_event' between function pointer and 'void *' [-pedantic]
- game.h:112:16: note: expected 'void (*)(void *)' but argument is of type 'void *'
- gcc -L/usr/lib -lncurses -o ascii-combat console.o game.o main.o
- make[1]: Leaving directory `/home/weegee/docs/projekte/c/ascii-combat/src'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement