Error: Stray ‘\240’ in program
C :17:1: error: stray ‘\240’ in program
container_of. C :17:1: error: stray ‘\302’ in program
container_of. C :17:1: error: stray ‘\240’ in program
container_of. Stray ‘\302’ in program
container_of. C :17:1: error: stray ‘\240’ in program
container_of. C :17:1: error: stray ‘\302’ in program
container_of. Stray ‘\240’ in program
container_of. C :17:1: error: stray ‘\302’ in program
container_of. C :17:1: error: stray ‘\240’ in program
container_of
There was an error when the code was compiled. The reason is that the code was copied from the web page and probably contained Chinese characters and other characters.
The solution: Remove the illegal ASCII characters
Software: notepad++
operation steps
- CTRL KBD>+f KBD> call up the search window check the regular expression under
search mode
Enter
[^\x00-\x7F]+
replace with blank Read More:
- error: How to solve stray ‘\342’ in program
- Solution to stray’\357′ in program when gcc is compiled
- error: stray ‘\357’ in program
- error: stray ‘\302’ in program
- C language error: stray ‘\ 240’ in program|
- Error: stray ‘- 239’in program solution
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- Error: the solution of “241” and “343” in program
- A solution to the problem of “straight ‘\ 357’ in program” when compiling GCC
- Vscode running C program error luanch:program does not exsist
- [OpenGL] cannot start this program because the computer is missing glut32.dll. Try to re install the program to fix this problem. …
- Flash back of running program in Visual Studio 2017
- A strange problem in compiling OpenGL program
- The perfect solution of VS2010 console program running in a flash
- eclipse cdt Program “make” not found in PATH
- Three kinds of errors in C + + program
- Solution of no response of progress bar in MFC program
- Two methods of cmake in VTK program
- This program cannot be started because vcruntime140 is missing from your computer_ 1.dll。 Try to install the program again to solve the problem.
- C language — to solve the problem of program flashback when programming (in VS)