mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
c5ee905c92
This is kind of a hack, but let's make it a complete hack. GCC with -flto noticed we use different definitions of 'struct io_conn' here and gave the warning: ccan/ccan/io/io.h:620:17: warning: type of ‘io_close’ does not match original declaration [-Wlto-type-mismatch] struct io_plan *io_close(struct io_conn *conn); ^ ccan/ccan/io/io.c:449:17: note: ‘io_close’ was previously declared here struct io_plan *io_close(struct io_conn *conn) ^ ccan/ccan/io/io.c:449:17: note: code may be misoptimized unless -fno-strict-aliasing is used Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
.gitignore | ||
bolt11-cli.c | ||
decodemsg.c | ||
dump-gossipstore.c | ||
gossipwith.c | ||
Makefile | ||
onion.c | ||
print_wire.c | ||
print_wire.h |