error: stray ‘\160′ in program

I was experimenting with virtual and pure virtual methods in C++. I introduced an inline implementation for a pure method and then I couldn’t compile my code anymore.

I turned into the “show invisibles” mode and found the malefactor. The problem was an invisible character in the source file.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>