List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:December 19 2005 7:56pm
Subject:Re: Problem compiling simple program with SSQLS definition
View as plain text  
On Thu, Dec 15, 2005 at 05:14:27PM -0200, Pedro Lamar??o wrote:
> The following program won't compile with g++ 3.3 or g++ 4.1 and mysql++
> 2.0.7:
> 
> #include <mysql++.h>
> #include <custom.h>
> 
> sql_create_3(flux, 0, 0,

Looks like there's a bug in the macros, or the user manual is wrong, for
this line.  It compiles with:

sql_create_3(flux, 1, 0,

That number is just for less-than comparison, and shouldn't hurt to leave
it at 1.

- Chris

Thread
Problem compiling simple program with SSQLS definitionPedro LamarĂ£o15 Dec
  • Re: Problem compiling simple program with SSQLS definitionChris Frey19 Dec
    • Re: Problem compiling simple program with SSQLS definitionWarren Young20 Dec
      • Re: Problem compiling simple program with SSQLS definitionChris Frey20 Dec