On 20/12/10 22:20, Mateusz Loskot wrote: > On 20/12/10 22:04, Julian Taylor wrote: >> the #includes in the soci headers are all just filenames without paths >> this creates a problem when users include the main header and a backend >> header like this: >> #include <soci/soci.h> >> #include <soci/sqlite3/soci-sqlite3.h> >> and forget to add -I/usr/include/soci. > > I completely agree. This is the kind of mess I don't like myself in a > software. I highly respect structured #includes using qualified paths.
I complete forgot about work already done by Denis. Denis sent me a message about it a while ago which has got buried in my inbox unnoticed. There is patched branch with this cleanup and is waiting for merge. It is available from the git repo clone Denis and I maintain on GitHub: https://github.com/denisarnaud/soci/tree/buried_headers We have problems with accessing Git on SF.net from some networks, so GitHub makes life easier with its HTTP-based access. Julian, could you please take a look at this branch and see if you like it? Denis, what would be the best way to merge it with the master? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
