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

Re: Sun Studio compiler warnings

From: "Robert Haas" <robertmhaas(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "PG Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Sun Studio compiler warnings
Date: 2008-10-31 01:04:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> The closing semicolon is strictly speaking not allowed here.  We could
> remove it, but that would probably upset pgindent?
> I recall that we used to have a bunch of similar problems with the AIX
> compilers a long time ago.  Does anyone recall the solution, and do we still
> care?  (Note that it's only a warning in this case.)

How about the good old

do {
} while (0)



In response to


pgsql-hackers by date

Next:From: Greg SmithDate: 2008-10-31 01:18:08
Subject: Re: Decreasing WAL size effects
Previous:From: Tom LaneDate: 2008-10-31 00:30:33
Subject: Re: Strange query behavior where clause produces odd behavior on '>' query

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