8 messages in com.mysql.lists.plusplusRe: Error Not enough parameters to fi...
FromSent OnAttachments
Ovidiu Bivolaru23 Nov 2004 10:41 
Warren Young23 Nov 2004 14:13 
Ovidiu Bivolaru23 Nov 2004 14:31 
Warren Young23 Nov 2004 15:11 
Ovidiu Bivolaru24 Nov 2004 01:05 
Warren Young24 Nov 2004 02:29 
Ovidiu Bivolaru24 Nov 2004 06:31.txt, .txt
Ovidiu Bivolaru25 Nov 2004 03:47 
Subject:Re: Error Not enough parameters to fill the template
From:Ovidiu Bivolaru (ovi@targujiu.rdsnet.ro)
Date:11/25/2004 03:47:29 AM
List:com.mysql.lists.plusplus

Hi Warren,

I've tried to compile on Gentoo/gcc-3.4.1/glibc 2.3.3 and I've got the same error, besides YellowDog 3.0/gcc-3.2.2/glibc-2.3.1. I thought that it might be an issue with gcc/glibc, but it was not. The problem on Linux/PPC is actually that "char" is took by gcc as "unsigned char", while on other platforms is "signed char". This issue is causing problems for SQLParseElement ::num and it cause SQLQuery::parse() to throw this error "Not enough parameters to fill the template". The solution is to add "-fsigned-char" to CFLAGS when compiling mysql++ on Linux/PPC.

Regards, Ovidiu

Warren Young wrote:

Ovidiu Bivolaru wrote:

Could you please advise me how to get this information. I've used gdb

Single-step through the program until it breaks. Read the fine gdb manual.