gcc complains about %x

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: gcc complains about %x
Date: 2005-12-09 22:57:05
Message-ID: 12591.1134169025@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

CVS tip is giving me this warning:

initdb.c: In function `locale_date_order':
initdb.c:2101: warning: `%x' yields only last 2 digits of year in some locales

I realize that the code does not care about that, but I care about not
seeing warnings. Is there a way to avoid this construct?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2005-12-09 23:36:46 Re: gcc complains about %x
Previous Message Peter Eisentraut 2005-12-09 22:32:47 Re: [COMMITTERS] pgsql: Translation typo fix