I am working on the last part of pset3 (game of fifteen). After trying out my code for the init and draw functions, I tried to "make" it and receive this message in the terminal (CS50 IDE).

clang -fsanitize=integer -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wshadow    fifteen.c  -lcrypt -lcs50 -lm -o fifteen
fifteen.c:240:15: error: unused parameter 'tile' [-Werror,-Wunused-parameter]
bool move(int tile)
1 error generated.
make: *** [fifteen] Error 1

Not sure why I receive this because I haven't touched the move function yet and the message appeared out of the blue. Any idea on why this happens?




I couldn't find anything about this and I ended solving the problem a few minutes after posting the question: for some reason, the MakeFile file had been wiped out and was empty. I uploaded the original file in the IDE and the compiler doesn't throw any exception anymore. I hope this might help someone.

  • How considerate!
    – Aryaman
    Nov 2 '16 at 0:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .