Thanks, Warren!
I had hoped to use the sql_create_X macros. Do I need to upgrade to Visual
C++ 2005?
Thanks again!
On 4/4/06, Warren Young <mysqlpp@stripped> wrote:
>
> Tim Stewart wrote:
> >
> > error C2010: '.' : unexpected in macro formal parameter list
>
> Alas, this is because VC++ 2003 doesn't support variadic macros, used by
> a new feature in MySQL++ v2.1. That feature allows you to #include a
> file containing an SSQLS definition in multiple modules and avoid a
> linker error resulting from the static variable definitions in some
> SSQLS macros.
>
> In the upcoming MySQL++ v2.1.1, I've added a feature to custom.pl to
> disable this feature, which will fix this problem. You will need a Perl
> interpreter to run the custom.pl script. Alternately, you can manually
> hack out the MYSQLPP_SSQLS_NO_STATICS stuff in custom.h and
> custom-macros.h.
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>