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