Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error message indicates that there is a non-void function (a function with a return type other than void) in the file "scrabble.c" that does not have a return statement. This is not allowed because the function is expected to return a value of its specified return type, and not doing so can lead to unexpected behavior or errors in the program. The compiler is flagging this as an error (not just a warning) due to the use of the "-Werror" and "-Wreturn-type" flags, which treat warnings as errors.