List:MySQL++« Previous MessageNext Message »
From:Drew M. Date:August 5 2007 10:33pm
Subject:Re: Compiler error when using sql_create_N (when N == 50)
View as plain text  
You are required to specify both the c++ type and name for each
column. Check out the documentation on SSQLS for more details.

On 8/5/07, Graham Reitz <grahamreitz@stripped> wrote:
> I changed the line, (my $max_data_members = 50;), in the custom.pl
> script and recompiled the mysql++ libraries.
>
> The custom-macros.h now supports up to 50 table columns.  The end of
> custom-macros.h has:
>
> // ---------------------------------------------------
> //                  End Create 50
>
> When I try to create a custom structure with sql_create_50(...) I
> receive the following compiler error:
>
> /tables.hpp:87:67: error: macro "sql_create_50" requires 103
> arguments, but only 54 given
>
> Is there something that I am missing?  Why is he sql_create_50 macro
> need 104 arguments?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Graham
>
>
Thread
Compiler error when using sql_create_N (when N == 50)Graham Reitz5 Aug
  • Re: Compiler error when using sql_create_N (when N == 50)Drew M.6 Aug
  • Re: Compiler error when using sql_create_N (when N == 50)Graham Reitz6 Aug
  • Re: Compiler error when using sql_create_N (when N == 50)Warren Young6 Aug