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

From Hannes Eder
Subject Re: Boatload of warnings in CVS HEAD :-(
Date
Msg-id 022e01c78dc7$51c37200$6400a8c0@home.hanneseder.net
Whole thread Raw
In response to Boatload of warnings in CVS HEAD :-(  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Boatload of warnings in CVS HEAD :-(
Next
From: jaba the mobzy
Date:
Subject: Bitmap Heap Scan anomaly