Re: Complier warnings on mingw gcc 4.5.0

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>, Hiroshi Inoue <inoue@tpf.co.jp>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-12-13T17:57:30Z
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 12/13/2010 12:01 PM, Tom Lane wrote:
> Andrew Dunstan<andrew@dunslane.net>  writes:
>> On 11/01/2010 10:10 PM, Itagaki Takahiro wrote:
>>> 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?
> It smells a little bit like an optimization bug.  Does dialing down to
> -O0 make it go away?
>
> 			

Sadly, no. I'm testing downgrading the compiler now.

cheers

andrew