Re: return void
‘foo’: > foo.c:2:27: warning: ISO C forbids ‘return’ with expression, in function > returning void [-Wpedantic] > 2 | void foo (int x) { return foobar (x); } > | ^~ > > $ clang -Wall -S -pedantic foo.c > foo.c:2:20: warning: void function
Re: return void
ion returning void [-Wpedantic] 2 | void foo (int x) { return foobar (x); } | ^~ $ clang -Wall -S -pedantic foo.c foo.c:2:20: warning: void function 'foo' should not return void expression [-Wpedantic] 2 | void foo (int x) { return foobar (x); } |