#342 closed defect (fixed)
how do you use psDB?
| Reported by: | jhoblitt | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | astro | Version: | 0.5.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
psDB.h is not included by pslib.h. Is the intent for users to include it
directly? Even if they did, this preproccesor directive is in psDB.h:
#ifdef BUILD_PSDB
but "pslib-config --cflags" does not set -DBUILD_PSDB
Is this a bug or has some code not yet been merged?
Change History (4)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
- psDB.h is in pslib.h now; you must have caught the code while it was being
integrated and debugged.
- I modified the configure file to include -DBUILD_PSDB for 'pslib-config
--cflags'.
- Given that none of the pslib headers includes any mysql headers now, I don't
think any CFLAGS options from mysql_config needs to be passed through. The
linker options are passed through already, of course, as the library needs to be
linked in to any executable.
-rdd
Note:
See TracTickets
for help on using tickets.

"pslib-config" should also pass through the appropriate "mysql_config" flags.