1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/libc
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
..
build/lib/pgBackRestLibC Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
xs Fix scoping violations exposed by optimizations in gcc 9. 2019-07-05 16:25:28 -04:00
LibC.h Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
LibC.xs Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
Makefile.PL Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
typemap Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00