cparser icon indicating copy to clipboard operation
cparser copied to clipboard

Can't work out that 0 || "string" is a constant.

Open landley opened this issue 4 years ago • 0 comments

$ cat test.c int abc = 0 || "hello"; $ cparser test.c test.c:1:13: error: initialisation expression '0 || "hello"' is not constant 1 error(s), 0 warning(s)

landley avatar May 14 '22 13:05 landley