List:MySQL++« Previous MessageNext Message »
From:Chris Morgan Date:August 26 2009 10:58pm
Subject:Re: sql_create_# macro
View as plain text  
http://tangentsoft.net/mysql++/doc/html/userman/ssqls.html

Look specifically at Section 5.8, which discusses MYSQLPP_SSQLS_NO_STATICS
and EXPAND_MY_SSQLS_STATICS.

-Chris

On Wed, Aug 26, 2009 at 3:17 PM, Paul Hilton
<philton@stripped>wrote:

> Hello,
> This may be an old question, but I can't find the answer anywhere:
>
> The Macro sql_create_11 is called from an include file to define a type.
> This include file is used by more than one source file within the
> project target.
> The linker complains of duplicated instances of allocated storage.
>
> Why does it need storage to define a type?
> Even if it does need some housekeeping storage, is there any version of
> sql_create_##
> which I can use which doesn't allocate any storage after the first
> instance which does?
>
> Build System: Linux 2.6.27.29-0.1, Suse 11.0, Eclipse 3.3.0 gcc 4.3.2,
> ld 2.19, mysqlpp 3.0.9 (from mysql++.h),
> Temporarily this is the target system too.
>
> Thanks,
> Paul Hilton
>
>
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>

Thread
sql_create_# macroPaul Hilton27 Aug
  • Re: sql_create_# macroChris Morgan27 Aug
    • RE: sql_create_# macroPaul Hilton27 Aug