[Libpqxx-general] Creating a connection object

Vincent Predoehl vpredoehl at phoenixwebgroup.com
Fri Jun 13 02:17:35 UTC 2008


On Jun 12, 2008, at 3:47 PM, Richard B. Kreckel wrote:

> This is precisely the error message produced by g++ when #including
> <pqxx/basic_connection.hxx> twice, or in addition to <pqxx/ 
> connection>.
> Please check the headers included by your app.
>
> (Maybe, *every* public header file should have an include guard.)

a #pragma once at the top of each file should do it.

-- VP



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/libpqxx-general/attachments/20080612/272c8a2b/attachment.html 


More information about the Libpqxx-general mailing list