dbTalk Databases Forums  

Re: SV: sql_create_# compilation error

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Re: SV: sql_create_# compilation error in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Warren Young
 
Posts: n/a

Default Re: SV: sql_create_# compilation error - 03-13-2005 , 12:05 AM






Joachim Person wrote:
Quote:
As far as I understand 1,5 means that there will be a constructor taking
five arguments.
Yes, one for each of the first "5" data members, which in this case is
all of them. You can use a lower number here if you want.

Quote:
Now, this example compiles and works just fine. I just can't
see the difference from my own example; I have one table member which
requires 1, 1. What is wrong?
Because in your situation, you get a constructor taking a single string.
Obviously some other constructor automatically added by the SSQLS
stuff also takes just one string. You can't have two functions with the
same name and the same argument list.

I don't know specifically what is going on here, just what I infer from
the error messages you posted. I have run into this problem myself,
with some 2-column tables I have.

If you want to know for sure whether I am right or not, dig into the
contents of lib/custom.h.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.