Know your spelling
Picking such a title for a blog entry means that I need to be on edge. :-)
By not spelling cout properly, Diederik van der Boor was able to get the following gem out of GCC:
invalid operands of types ‘<unresolved overloaded function type>’ and ‘const char [15]’ to binary ‘operator<<’
Quite charming if you ask me :-) The error and solution have been added to my list of GCC errors.
4 Comments:
Do you also file GCC bugs about such uninformative error messages? That might help future programmers a lot.
No, I did not, as the message says the right thing. We cannot blurt out a users guide for each error, instead, the list comes to your assistance.
It might interest some readers that this blogs HTML-thingy did not correctly escape the error message, so that the empty quote are not actually empty.
Thanks Esben, I've updated the text.
Post a Comment
<< Home