diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-10-09 11:10:07 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-10-09 11:10:07 -0400 |
commit | aed9fa0bd8973fd967724003e641a5b7054d6a80 (patch) | |
tree | 731b91acdd82a9e4a3ab2b5f3dd08be9ae9fca1b /src/backend/commands/variable.c | |
parent | c48101620151f78ee184e5f81766cbac347d9a11 (diff) | |
download | postgresql-aed9fa0bd8973fd967724003e641a5b7054d6a80.tar.gz postgresql-aed9fa0bd8973fd967724003e641a5b7054d6a80.zip |
Select appropriate PG_PRINTF_ATTRIBUTE for recent NetBSD.
NetBSD-current generates a large number of warnings about "%m" not
being appropriate to use with *printf functions. While that's true
for their native printf, it's surely not true for snprintf.c, so I
think they have misunderstood gcc's definition of the "gnu_printf"
archetype. Nonetheless, choosing "__syslog__" instead silences the
warnings; so teach configure about that.
Since this is only a cosmetic warning issue (and anyway it depends
on previous hacking to be self-consistent), no back-patch.
Discussion: https://postgr.es/m/16785.1539046036@sss.pgh.pa.us
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions