From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: unknown conversion %m |
Date: | 2011-04-27 15:58:31 |
Message-ID: | 4DB83D27.30505@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 04/27/2011 11:02 AM, Tom Lane wrote:
>
> So the question to ask is not why gcc doesn't complain about %m
> elsewhere, but why it does complain in your Windows installation.
> I'm guessing that the mingw people hacked it. If you're lucky,
> they might have hacked in an extra switch to control the behavior ---
> I notice quite a few subsidiary switches that tweak -Wformat behavior
> in standard gcc 4.4.5.
>
Hmm. The error disappears if I use -D__USE_MINGW_ANSI_STDIO=1 or -posix
I don't know what other effects that might have, though. There's a
description here:
<http://sourceforge.net/project/shownotes.php?release_id=24832> I'll
experiment and see what happens.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2011-04-27 16:55:56 | timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable) |
Previous Message | Tom Lane | 2011-04-27 15:56:51 | Re: Alignment padding bytes in arrays vs the planner |