Re: fix for strict-alias warnings

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fix for strict-alias warnings
Дата
Msg-id 200310141909.h9EJ9Og20082@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: fix for strict-alias warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> "Andrew Dunstan" <andrew@dunslane.net> writes:
> > Of course, the linux kernel is aimed at a limited set of compilers - as I
> > understand it basically gcc although it has been made to build with Intel
> > compilers - which makes things somewhat easier for them. What is our target
> > set of compilers? What is our target version of C?
>
> "Pretty much anything that speaks ANSI C" is my usual feeling about
> that.  As yet we have not heard of any non-gcc compilers in which this
> is a problem, although you have a point that some compiler somewhere may
> do this and not have a way to turn it off :-(

I now understand the gcc issues.  Sorry for getting confused.

I have removed the void* cast from MemSet until we understand this issue
better.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Manfred Spraul
Дата:
Сообщение: Re: fix for strict-alias warnings
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: fix for strict-alias warnings