I'm looking for a way to use WTL::CString with pqxx. If I do the following
#include <pqxx/connection> #include <atlbase.h> #include <atlapp.h> #include <atlmisc.h> I get errors in atlmisc.h complaining about no max function If I do the following #include <pqxx/connection> #include <atlbase.h> #include <atlapp.h> #include <atlmisc.h> I get errors in compiler-public.hxx #if defined(min) || defined(max) #error "Oops: min() and/or max() are defined as preprocessor macros.\ Define NOMINMAX macro before including any system headers!" #endif Ideas ? How safe is it to comment out the #error assuming MFC will not be used. -- Keith Hutchison http://balance-infosystems.com http://realopen.org http://www.kasamba.com/Keith-Hutchison _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
