Re[2]: [HACKERS] Re: [QUESTIONS] libpq++
| От | Leo Shuster |
|---|---|
| Тема | Re[2]: [HACKERS] Re: [QUESTIONS] libpq++ |
| Дата | |
| Msg-id | 9b73e596b744e53bd56c5bd6734fc297 обсуждение исходный текст |
| Список | pgsql-hackers |
>But it needs some g++ comand-line options hack (at least for FreeBSD),
>and it is not described anywhere.
Hmmm... I wasn't aware of that. g++ under Linux includes
compiles the string class without any hacks.
>Moreover, it is not obvious how to use
>e.g. PgEnv, which uses "string".
There are examples in every one of the example programs
of how PgEnv is used. In most of my programs, I do not
even use PgEnv class since PgDatabase takes care of
all the environment setup for me.
>But it needs documentation or, at least, examples.
Agreed. Examples are there but the documentation is not.
I had volunteered to update the docs a long time ago but
had not received any information on how to do it.
>And there are some difficulties in using gdb with C++ templates.
True, but it's not impossible. gdb seems to work pretty
well in my projects under Linux.
Leo
------------------------------
В списке pgsql-hackers по дате отправления: