Re: BUG #2665: VC++ 8 (Visual Studio 2005)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #2665: VC++ 8 (Visual Studio 2005)
Дата
Msg-id 200610030213.k932Dbo05650@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #2665: VC++ 8 (Visual Studio 2005)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #2665: VC++ 8 (Visual Studio 2005)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Interesting.  We have inline redefined in src/include/port/win32.h.  Can
> > you find out why you are not getting those redefined?
>
> AFAICS, all the "#ifdef WIN32_ONLY_COMPILER" code in win32.h is dead
> code, because c.h doesn't #define WIN32_ONLY_COMPILER until *after* it's
> included pg_config_os.h.  It would appear that most of it is indeed
> useless and should be removed.

Uh, I think we still do have reasons to test if we are using MSVC or
Borland C.  I think the #define should just be moved up in c.h.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2665: VC++ 8 (Visual Studio 2005)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2665: VC++ 8 (Visual Studio 2005)