Strange Compiler Error

I am getting a strange compiler error ever since I added the OpenDoor Class. It seems like something is wrong with the header file, but I’m not sure what happened or how to fix it.

Wow!!! Several times of starting over to figure out what was happening…

Here’s what happened:

  • sometime after creating the PositionReport Class the videos suggested adding copyright notice in Project Settings
  • when doing that I stupidly added the © symbol
  • when I created the OpenDoor class, the © symbol completely broke the OpenDoor.cpp and OpenDoor.h files in the encoding thus the odd UTF-16 byte order error

Luckily (or not so luckily), I did the same thing again and noticed that is what broke it and when it happened exactly.

Pretty dumb issue, but maybe someone else may be saved by my silliness.

Privacy & Terms