warnings.log

text/x-log

Filename: warnings.log
Type: text/x-log
Part: 0
Message: Re: Add LZ4 compression in pg_dump
ReadDataFromArchiveZlib


compress_io.c:605:1: warning: no previous prototype for ‘cfdopen’ [-Wmissing-prototypes]
  605 | cfdopen(int fd, const char *mode,
      | ^~~~~~~
pg_backup_archiver.c: In function ‘SetOutput’:
pg_backup_archiver.c:1528:26: warning: implicit declaration of function ‘cfdopen’; did you mean ‘cfopen’? [-Wimplicit-function-declaration]
 1528 |                 AH->OF = cfdopen(dup(fn), mode, compression_spec);
      |                          ^~~~~~~
      |                          cfopen
pg_backup_archiver.c:1528:24: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 1528 |                 AH->OF = cfdopen(dup(fn), mode, compression_spec);
      |                        ^
pg_backup_archiver.c: In function ‘_allocAH’:
pg_backup_archiver.c:2236:16: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 2236 |         AH->OF = cfdopen(dup(fileno(stdout)), PG_BINARY_A, out_compress_spec);
      |                ^