Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: problem with SSQLS in header files...: msg#00050

db.mysql.c++

Subject: Re: problem with SSQLS in header files...

thanks everyone. problem sorted :)

On 18/04/07, Warren Young <mysqlpp@xxxxxxxxxxx> 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=joe.hudson@xxxxxxxxx




--
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@xxxxxxxxx for more info.
-------------------------------------------------------
---------------------------------------
Visit http://www.myspace.com/littlecog for latest details, to post new
events or volunteer for future community action events.
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation