Boatload of warnings in CVS HEAD :-( - Mailing list pgsql-hackers

From Tom Lane
Subject Boatload of warnings in CVS HEAD :-(
Date
Msg-id 20016.1178223610@sss.pgh.pa.us
Whole thread Raw
Responses Re: Boatload of warnings in CVS HEAD :-(
Re: Boatload of warnings in CVS HEAD :-(
List pgsql-hackers
I just noticed that my recent change to prevent PG_RE_THROW from dying
if there's noplace to longjmp to has provoked a whole lot of warnings
that were not there before.  Apparently this is because gcc understands
that siglongjmp() never returns, but is not equally clueful about
pg_re_throw().

We can fix this for gcc by putting __attribute__((noreturn)) on the
declaration of pg_re_throw(), but what about other compilers?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Chris Ryan
Date:
Subject: Re: [pgsql-www] Feature freeze progress report
Next
From: Zdenek Kotala
Date:
Subject: Re: Boatload of warnings in CVS HEAD :-(