Re: Boatload of warnings in CVS HEAD :-(

From: "Hannes Eder" <Hannes(at)HannesEder(dot)net>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Boatload of warnings in CVS HEAD :-(
Date: 2007-05-03 21:09:19
Message-ID: 022e01c78dc7$51c37200$6400a8c0@home.hanneseder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tome Lane wrote:
> We can fix this for gcc by putting __attribute__((noreturn)) on the
> declaration of pg_re_throw(), but what about other compilers?

For MSVC 2005 use __declspec(noreturn) (see [1]). I think this also work for some older versions of MSVC.

Regards,
Hannes Eder

References:
[1] http://msdn2.microsoft.com/en-us/library/k6ktzx3s(VS.80).aspx

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-05-03 21:14:30 Re: Boatload of warnings in CVS HEAD :-(
Previous Message Zdenek Kotala 2007-05-03 20:50:46 Re: Boatload of warnings in CVS HEAD :-(