4 messages in com.mysql.lists.plusplusRe: Compiler error when using sql_cre...
FromSent OnAttachments
Graham Reitz05 Aug 2007 14:57 
Graham Reitz05 Aug 2007 15:11 
Drew M.05 Aug 2007 15:32 
Warren Young06 Aug 2007 07:38 
Subject:Re: Compiler error when using sql_create_N (when N == 50)
From:Drew M. (ghas@gmail.com)
Date:08/05/2007 03:32:50 PM
List:com.mysql.lists.plusplus

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 <grah@mac.com> 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.