List:MySQL++« Previous MessageNext Message »
From:Michael Radzewitz Date:March 11 2010 2:50pm
Subject:missing namespace in comparable.h (patch attached)
View as plain text  
Hi there,

mixing up mysqlpp with boost (and properly some others) can cause compliation errors 
because there is no namespace declaration in comparable.h:

mysql++/datetime.h:48:        error: reference to ‘Comparable’ is ambiguous
mysql++/comparable.h:38:      error: candidates are: template<class T> class
Comparable
/boost/concept_check.hpp:249: error:                 template<class TT> struct
boost::Comparable

I attached a patch that adds the namespace mysqlpp to comparable.h.

Regards
 Michael Radzewitz






Attachment: [text/x-diff] comparable.patch
Thread
missing namespace in comparable.h (patch attached)Michael Radzewitz13 Mar
  • Re: missing namespace in comparable.h (patch attached)Jonathan Wakely13 Mar