Skip site navigation (1) Skip section navigation (2)

Re: unknown conversion %m

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: (view raw, whole thread or download thread mbox)
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: 
<> I'll 
experiment and see what happens.



In response to


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2011-04-27 16:55:56
Subject: timeline garbage in pg_basebackup (was gcc 4.6 warnings -Wunused-but-set-variable)
Previous:From: Tom LaneDate: 2011-04-27 15:56:51
Subject: Re: Alignment padding bytes in arrays vs the planner

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group