Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group