Commit f998e23
committed
Fix build with PostgreSQL 18
PostgreSQL 18 added -Wmissing-variable-declarations to the default
compilation flags. When combined with -Werror, this requires variables
that are only used within a single C file to be marked as `static`.
Without this change, builds fail due to missing variable declaration
warnings being treated as errors.
Also, update format specifiers for int64 to ensure successful
compilation across all supported platforms.1 parent 21c9900 commit f998e23
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
2053 | 2053 | | |
2054 | 2054 | | |
2055 | 2055 | | |
2056 | | - | |
| 2056 | + | |
2057 | 2057 | | |
2058 | 2058 | | |
2059 | 2059 | | |
| |||
0 commit comments