Re: Complier warnings on mingw gcc 4.5.0 - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: Complier warnings on mingw gcc 4.5.0
Date
Msg-id 4CCF50A7.7000704@tpf.co.jp
Whole thread Raw
In response to Re: Complier warnings on mingw gcc 4.5.0  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Responses Re: Complier warnings on mingw gcc 4.5.0
List pgsql-hackers
(2010/11/02 8:31), Itagaki Takahiro wrote:
> On Tue, Nov 2, 2010 at 6:02 AM, Hiroshi Inoue<inoue@tpf.co.jp>  wrote:
>>> 1. warning: '<symbol>' redeclared without dllimport attribute:
>>> previous dllimport ignored
>>
>> Is it safe to put back the patch you applied in
>> http://archives.postgresql.org/pgsql-committers/2010-05/msg00338.php
>> in the case __GNUC__>=4?
>
> Hmmm, I didn't test compiling with gcc version between 3.5 and 4.4.
> Does anyone test them? If it works only on gcc 4.5, I'll also add
> _GNUC_MINOR__>= 5 for the check.

The problem which was fixed by your old patch is at runtime not
at compilation time. Is it fixed with gcc 4.5?

regards,
Hiroshi Inoue




pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: Complier warnings on mingw gcc 4.5.0
Next
From: Andres Freund
Date:
Subject: Re: [PATCH] Custom code int(32|64) => text conversions out of performance reasons