List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 24 2004 8:57am
Subject:Re: Trouble with 1.7.23 and g++ 3.4.4
View as plain text  
Tim Murison wrote:

>>What does 'locate manip.hh' say?
> 
> Nothing. File doesn't exist.

Oh, blast.  I see the problem.  There's a set.h in MySQL++...previously 
it was set.hh.  When you include the files from your non-system 
directory, it is in the search path first.  But when you try to get the 
headers from the system include directory, g++ ignores that because 
/usr/local/include is already part of the default include path.  Hence, 
it sees set.h from the backwards-compatibility part of the C++ library 
first.

Sigh.

There are two things you can do.  One, you can configure the package to 
install MySQL++ headers into its own directory tree, as recommended in 
the README file.  Ahem.  Two, you can rename set.h to myset.h, and 
change all references to it.  This will be the name of the file in the 
next revision, unless someone complains about it.
Thread
Trouble with 1.7.23 and g++ 3.4.4Tim Murison22 Nov
  • Re: Trouble with 1.7.23 and g++ 3.4.4Warren Young22 Nov
  • Re: Trouble with 1.7.23 and g++ 3.4.4Warren Young23 Nov
Re: Trouble with 1.7.23 and g++ 3.4.4Warren Young24 Nov