gcc complains about %x - Mailing list pgsql-hackers

From Tom Lane
Subject gcc complains about %x
Date
Msg-id 12591.1134169025@sss.pgh.pa.us
Whole thread Raw
Responses Re: gcc complains about %x  (Peter Eisentraut <peter_e@gmx.net>)
List 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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql: Translation typo fix
Next
From: Peter Eisentraut
Date:
Subject: Re: gcc complains about %x