Doug Currie  ([EMAIL PROTECTED]) wrote:

 >> The '%lld' is used by SQLite in non debugging code.
 >> For example: vdbemem.c function sqlite3VdbeMemStringify()

 > This is a libc/runtime issue that is common to both VC and gcc
 > running on windows (i.e., mingw, but perhaps not cygwin).

With gcc version 3.3.1 (cygming special) and tcl version 8.4.1 tests
printf-1.10.1 to printf-1.16.6 are failing. For example:

printf-1.10.1...
Expected: [Three integers: -1 ffffffff 37777777777]
     Got: [Three integers: -1 ffffffffffffffff 1777777777777777777777]

After the tests have finished there is a "testfixture.exe.stackdump" file
without any frame information.

The misuse-tests are not running because of:

misuse-1.1...
Error: invalid command name "sqlite_exec_printf"


 > Windows needs the printf format spec '%I64d' instead of '%lld'.

It would be fine if there were a conditional define for this.

 > Since my mingw build passes all tests, it appears there's a
 > coverage hole to be plugged in the regression tests here.

For windows builds the tests printf.2.x.x in printf.test are skipped.

Hans-Jürgen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to