1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/libc/xs
David Steele fc21013522 Fix scoping violations exposed by optimizations in gcc 9.
gcc < 9 makes all compound literals function scope, even though the C spec requires them to be invalid outside the current scope.  Since the compiler and valgrind were not enforcing this we had a few violations which caused problems in gcc >= 9.

Even though we are not quite ready to support gcc 9 officially, fix the scoping violations that currently exist in the codebase.

Reported by chrlange, Ned T. Crigler.
2019-07-05 16:25:28 -04:00
..
common Construct Wait object in milliseconds instead of fractional seconds. 2018-11-08 08:37:57 -05:00
config Refactor the common/log tests to not depend on common/harnessLog. 2018-07-20 18:51:42 -04:00
crypto Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
postgres Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
storage Fix scoping violations exposed by optimizations in gcc 9. 2019-07-05 16:25:28 -04:00