Re: Boatload of warnings in CVS HEAD :-(

Поиск
Список
Период
Сортировка
От Hannes Eder
Тема Re: Boatload of warnings in CVS HEAD :-(
Дата
Msg-id 022e01c78dc7$51c37200$6400a8c0@home.hanneseder.net
обсуждение исходный текст
Ответ на Boatload of warnings in CVS HEAD :-(  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Boatload of warnings in CVS HEAD :-(
Следующее
От: jaba the mobzy
Дата:
Сообщение: Bitmap Heap Scan anomaly