Apostrophes confuse preprocessor
Hello!
Sparse reports errors for apostrophes in preprocessor directives. To make things worse, it suppresses all useful warnings in the file.
$ cat test.c #error Don't do it $ sparse test.c test.c:1:13: error: Bad character constant test.c:1:2: error: Don do it $ gcc test.c test.c:1:2: error: #error Don't do it $
Signature · 2 lines
Regards, Pavel Roskin