I had a void function which I have now changed to
return an int but somehow the compiler still thinks
it is a void giving me "void value not ignored as it ought to be"
error. There is definitely no multiple definitions or anything.
I can even hover over the function and
CodeBlocks will show me it should return an int.
I have tried restarting both CodeBlocks and
my computer but to no avail. Has anybody seen this
sort of thing before?