config.h name clash

Поиск
Список
Период
Сортировка
От Tomasz Wegrzanowski
Тема config.h name clash
Дата
Msg-id 20010523230901.A21666@tavaiah
обсуждение исходный текст
Ответы Re: config.h name clash  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :    Tomasz Wegrzanowski
Your email address    :    taw@users.sourceforge.net


System Configuration
---------------------
  Architecture (example: Intel Pentium)      :   i386

  Operating System (example: Linux 2.0.26 ELF)     :   GNU/Linux 2.4.3

  PostgreSQL version (example: PostgreSQL-7.1.1):   PostgreSQL-7.1.1

  Compiler used (example:  gcc 2.95.2)        :   gcc 2.95.4


Please enter a FULL description of your problem:
------------------------------------------------

My program uses autoconf and libpq++. Unfortunatelly autoconf's
config.h and poetgresql's config.h name-clashes and either libpq++.h
includes autoconf's config.h or program files include postgresql's
config.h




Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Too many files even for smallest project that uses autoconf would be required.
If you need them, mail me.



If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Rename config.h to pgconfig.h or something like that.

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

Предыдущее
От: Roger While
Дата:
Сообщение: Make on SCO Open Server
Следующее
От: Edmund Mergl
Дата:
Сообщение: Re: dbd:pg finish() bug