Boatload of warnings in CVS HEAD :-(

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Boatload of warnings in CVS HEAD :-(
Date: 2007-05-03 20:20:10
Message-ID: 20016.1178223610@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2007-05-03 20:50:46 Re: Boatload of warnings in CVS HEAD :-(
Previous Message Chris Ryan 2007-05-03 19:12:20 Re: [HACKERS] Feature freeze progress report