Snippets for socklog 2.1.2 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/76pfy4wihdhjpsr2l94hjbffyqwhfwyy-socklog-2.1.2.drv.
-
buffer_put.c:13:15: warning: passing argument 2 of 'op' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13 | w = op(fd,buf,len); | ^~~ -
buffer_put.c:40:29: warning: passing argument 3 of 'byte_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 40 | byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; | ^~~ -
buffer_put.c:44:29: warning: passing argument 3 of 'byte_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | byte_copy(s->x + s->p,len,buf); | ^~~ -
buffer_put.c:66:29: warning: passing argument 3 of 'byte_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | byte_copy(s->x + s->p,len,buf); | ^~~ -
stralloc_catb.c:10:31: warning: passing argument 3 of 'byte_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | byte_copy(sa->s + sa->len,n,s); | ^ -
stralloc_opyb.c:9:21: warning: passing argument 3 of 'byte_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9 | byte_copy(sa->s,n,s); | ^ -
tryto.c:32:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | write(selfpipe[1], "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~