Re: connecting using libpq breaks printf

Поиск
Список
Период
Сортировка
От Joey Morris
Тема Re: connecting using libpq breaks printf
Дата
Msg-id 20090218162527.GB23731@conquistador.dnsalias.org
обсуждение исходный текст
Ответ на Re: connecting using libpq breaks printf  (Aurimas Černius <aurisc4@gmail.com>)
Ответы Re: connecting using libpq breaks printf  (Aurimas Černius <aurisc4@gmail.com>)
Список pgsql-general
Aurimas Černius <aurisc4@gmail.com> wrote on Wed, Feb 18, 2009 at 06:08:07PM +0200:
> Libraries should be places after the source file, that is (not sure
> about -L, but for -l surely):
>
> gcc -o pq_test -I"C:\Program Files\PostgreSQL\8.3\include" pq_test.c
> -L"C:\Program Files\PostgreSQL\8.3\lib" -lpq
>
> I don't if that's the problem, but it's not hard to try :)

Thanks for the suggestion, but unfortunately it didn't fix this problem.

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

Предыдущее
От: Joey Morris
Дата:
Сообщение: Re: connecting using libpq breaks printf
Следующее
От: Aurimas Černius
Дата:
Сообщение: Re: connecting using libpq breaks printf