Re: Complier warnings on mingw gcc 4.5.0

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Cc: Hiroshi Inoue <inoue@tpf.co.jp>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-12-13T16:05:44Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Make the win32 putenv() override update *all* present versions of the

  2. Remove the use of the pg_auth flat file for client authentication.


On 11/01/2010 10:10 PM, Itagaki Takahiro wrote:
> On Tue, Nov 2, 2010 at 8:43 AM, Hiroshi Inoue<inoue@tpf.co.jp>  wrote:
>> The problem which was fixed by your old patch is at runtime not
>> at compilation time. Is it fixed with gcc 4.5?
> Now it works as far as simple test, including core functions and
> dynamic modules. So, I think the fix for dllexport is safe enough
> for mingw gcc 4.5.
>
>
> BTW, with out without the above fix, regression test failed with
> weird error if the server is built with gcc 4.5. However, server
> can run if I started it manually with PGPORT or -o "--port=X".
> We might need another fix for the issue.
> ----
> LOG:  database system was shut down at 2010-11-02 10:32:13 JST
> LOG:  database system is ready to accept connections
> LOG:  autovacuum launcher started
> FATAL:  parameter "port" cannot be changed without restarting the server
> (repeated)
> ----
>


I have just run into this when trying to set up a new buildfarm member 
running Mingw. Is there a fix? Is anyone working on it? Or do I just 
need to downgrade the compiler?

cheers

andrew