List:MySQL++« Previous MessageNext Message »
From:Joe Hudson Date:April 18 2007 9:24pm
Subject:Re: problem with SSQLS in header files...
View as plain text  
thanks everyone. problem sorted :)

On 18/04/07, Warren Young <mysqlpp@stripped> wrote:
>
> Matt Dargavel wrote:
> >
> > If you #define MYSQLPP_SSQLS_NO_STATICS before including <custom.h> then
> > that stops the macros adding in instances of the static variables, and
> > will solve the link problem.  If you need the functionality provided by
> > the static variables then include each definition once with the statics
> > left enabled (i.e. miss out the #define).
>
> Yes.  You can see this technique used in the examples/util module: all
> of examples/custom*.cpp use the util module, but there is no conflict
> even though the util module also includes examples/stock.h.
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>


-- 
LIVE MUSIC + OTHER PERFORMANCE ART CHARITY FUNDRAISER
Doors 6.30pm - 1st act 7:30pm,  2nd SUNDAY of EVERY month
@ THE TALKING HEADS, PORTSWOOD Rd, SOUTHAMPTON
£4 entrance: all profits to 3 Local Charities. inc:
SCRATCH and HAMPSHIRE AUTISTIC SOCIETY
-----------------------------------------------------------------------------------------------

Apr 8th, May 13th...

Contact joe.hudson@stripped for more info.
-------------------------------------------------------
---------------------------------------
Visit http://www.myspace.com/littlecog  for latest details, to post new
events or volunteer for future community action events.

Thread
problem with SSQLS in header files...Joe Hudson18 Apr
  • RE: problem with SSQLS in header files...Matt Dargavel18 Apr
    • Re: problem with SSQLS in header files...Warren Young18 Apr
      • Re: problem with SSQLS in header files...Joe Hudson18 Apr
  • Re: problem with SSQLS in header files...everweb21 Jun