I\'m writing a little program in C++, and come across a strange error :
src/Makefile/Tool.cpp:42:3: error: stray ‘\\302’ in program
src/Makefile/Tool.cpp:42
I had the same issue and it was the character encoding for the spaces before each line. This happened due to copying from notes programs that was synced up with Exchange server & iCloud. All I needed to do is apply a replace all using notepad to all the strange spaces with normal ones and everything compiled normally again.