Re: fix for strict-alias warnings

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: fix for strict-alias warnings
Дата
Msg-id 3F8C4BDA.2030703@dunslane.net
обсуждение исходный текст
Ответ на Re: fix for strict-alias warnings  (Manfred Spraul <manfred@colorfullife.com>)
Список pgsql-patches
Manfred Spraul wrote:

> I've asked the question on the gcc devel list. The first reply was
> that MemSet violates strict aliasing rules:
>
> http://gcc.gnu.org/ml/gcc/2003-10/msg00524.html
>
> I think we must either add -fno-strict-aliasing, or switch to the c
> compiler memset functions for gcc.
>
The concensus appears to be -fno-strict-aliasing

cheers

andrew


В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: fix for strict-alias warnings
Следующее
От: Neil Conway
Дата:
Сообщение: Re: fix for strict-alias warnings