pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Add __attribute__((format_arg(1))) to the declaration of
2+ messages / 2 participants
[nested] [flat]
* pgsql: Add __attribute__((format_arg(1))) to the declaration of
@ 2009-06-25 23:07 Tom Lane <tgl@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: tgl@postgresql.org @ 2009-06-25 23:07 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Add __attribute__((format_arg(1))) to the declaration of err_gettext(),
to restore gcc's ability to crosscheck format arguments within elog.c.
Noted in a test compilation with -Wformat-nonliteral enabled.
Modified Files:
--------------
pgsql/src/backend/utils/error:
elog.c (r1.215 -> r1.216)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.215&r2=1.216)
^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix signedness error in 9f225e992 for gcc
@ 2024-03-06 08:56 John Naylor <john.naylor@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: John Naylor @ 2024-03-06 08:56 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Fix signedness error in 9f225e992 for gcc
The first argument of vshrq_n_s8 needs to be a signed vector type,
but it was passed unsigned. Clang is more lax with conversion, but
gcc needs a cast.
Fix by me, tested by Masahiko Sawada
Per buildfarm members splitfin, batta, widowbird, snakefly, parula,
massasauga
Discussion: https://postgr.es/m/20240306074106.mg6w4koohdlworbs%40alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/de7c6fe8347ab726c80ebbfcdb57f4b714d5243d
Modified Files
--------------
src/include/port/simd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-03-06 08:56 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-25 23:07 pgsql: Add __attribute__((format_arg(1))) to the declaration of Tom Lane <tgl@postgresql.org>
2024-03-06 08:56 pgsql: Fix signedness error in 9f225e992 for gcc John Naylor <john.naylor@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox