I'm using Xcode to do some C++ programming and all of a sudden I am receiving a "Stray /377 in program error"
I think is possibly because I recently started using a non-Apple wireless keyboard and I possibly put in some kind of weird key combination that created a nonvisible key.
I tried changing the encoding of the .cpp file to UTF-8, but then when I reopen the file in Xcode it comes out in Chinese.
My project is very large, so it’s not feasible to post the code for the project.
I'm using Xcode 3.2.6 on Mac OS X v10.6.8 (Snow Leopard).
I tried opening the project in Xcode 3.1.6 and got the same error.
"377" is octal for "255", or an 8-bit "-1".
Do you have one of those anywhere?
I believe XCode has a hex editor: just look for "0xff" somewhere in your recent source changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With