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.