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