Fix for compiler warnings on MSVC

Lists: pgsql-patches
From: "Gevik Babakhani" <pgdev(at)xs4all(dot)nl>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Fix for compiler warnings on MSVC
Date: 2008-02-19 10:25:14
Message-ID: 003101c872e1$b767f270$0a01a8c0@gevmus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

this is a fix for the compiler warnings on MSVC due differences in
declaration and implementation of _yconv in strfime.c.

I have testing this patch on:

- MSVC 8
- gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

Regards,
Gevik.

Attachment Content-Type Size
2.strftime.c.patch application/octet-stream 745 bytes

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for compiler warnings on MSVC
Date: 2008-02-19 12:08:26
Message-ID: 20080219120826.GG3091@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

On Tue, Feb 19, 2008 at 11:25:14AM +0100, Gevik Babakhani wrote:
> this is a fix for the compiler warnings on MSVC due differences in
> declaration and implementation of _yconv in strfime.c.
>
> I have testing this patch on:
>
> - MSVC 8
> - gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

Argh for delays in the mailinglist delivery and my reading :-) I've just
applied one identical and one very similar patch to yours for these two
issues.

But thanks anyway :-)

//Magnus


From: "Gevik Babakhani" <pgdev(at)xs4all(dot)nl>
To: "'Magnus Hagander'" <magnus(at)hagander(dot)net>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fix for compiler warnings on MSVC
Date: 2008-02-19 12:30:41
Message-ID: 004b01c872f3$3e8bd530$0a01a8c0@gevmus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

> Argh for delays in the mailinglist delivery and my reading
> :-) I've just applied one identical and one very similar
> patch to yours for these two issues.
>
> But thanks anyway :-)
>

Thank you :)