Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch
Date: 2009-05-29 12:44:12
Message-ID: 1243601052.1301.24.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane píše v čt 28. 05. 2009 v 11:57 -0400:
> ).
>
> AFAICS, Sun's compiler is just too stupid and shouldn't be emitting
> this warning. Perhaps the right response is to file a bug report
> against the compiler.

I checked it and it is already know bug. It is new lint style check in
Sun Studio 12. Unfortunately, problem is that current workflow does not
allow to detect if code is dead or not in the verification phase. Next
sun studio release could fix it.

Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2009-05-29 12:58:45 Re: pg_migrator and an 8.3-compatible tsvector data type
Previous Message Zdenek Kotala 2009-05-29 12:36:41 Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch