Обсуждение: config.h inclusion conflict

Поиск
Список
Период
Сортировка

config.h inclusion conflict

От
Jean Pierre LeJacq
Дата:
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