pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tgl@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: Add __attribute__((format_arg(1))) to the declaration of
Date: Thu, 25 Jun 2009 23:07:16 +0000 (UTC)
Message-ID: <20090625230716.8A91F75331E@cvs.postgresql.org> (raw)

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)




view thread (2+ messages)  latest in thread

Message-ID: <20090625230716.8A91F75331E@cvs.postgresql.org>
Permalink:  ../20090625230716.8A91F75331E@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090625230716.8A91F75331E@cvs.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@postgresql.org
  Subject: Re: pgsql: Add __attribute__((format_arg(1))) to the declaration of
  In-Reply-To: <20090625230716.8A91F75331E@cvs.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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