List:MySQL++« Previous MessageNext Message »
From:Michael Radzewitz Date:March 12 2010 7:51am
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
/boost/concept_check.hpp:249: error:                 template<class TT> struct

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

 Michael Radzewitz

Attachment: [text/x-diff] comparable.patch
missing namespace in comparable.h (patch attached)Michael Radzewitz12 Mar
  • Re: missing namespace in comparable.h (patch attached)Jonathan Wakely12 Mar
  • Re: missing namespace in comparable.h (patch attached)Warren Young13 Mar