Error Report on ODBC Connect Dialog

Lists: pgsql-odbc
From: Marko Ristola <Marko(dot)Ristola(at)kolumbus(dot)fi>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Error Report on ODBC Connect Dialog
Date: 2005-07-11 10:16:38
Message-ID: 42D24706.7040505@kolumbus.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-odbc


CVS branch: HEAD

dlg_specific.c:

function makeConnectString().

There is a big sprintf() with about 63 arguments,
on line 63.

gcc -Wall responded:
dlg_specific.c: In function `makeConnectString':
dlg_specific.c:126: warning: too many arguments for format

The warning goes away, if I add the following
into the format string:
";%s=%d"

So the following definition is not delivered on connect:
"LowerCaseIdentifier=%d",ConnInfo.lower_case_identifier

Marko Ristola