config.h inclusion conflict

Поиск
Список
Период
Сортировка
От Jean Pierre LeJacq
Тема config.h inclusion conflict
Дата
Msg-id m15TmoV-000kbzC@mail.quoininc.com
обсуждение исходный текст
Список pgsql-bugs
Version:

  7.1.2

Distribution:

  debian postgresql_7.1.2-1 postgresql-dev_7.1.2-1

Bug:

  The file c.h includes config.h using this line:

    #include "config.h"

  This produces a problem when compiling a file that uses several
  libraries with files with the same name.  I realize that C
  compilers have different interpertations of where to search for
  this inclusion.

  A solution would be to disambiguate the file using:

    #include <postgresql/config.h>

--
Jean Pierre

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

Предыдущее
От: Rich Morin
Дата:
Сообщение: assorted documentation errors
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: ecpg: unstable INSERT operation