2013/6/27 Stephan Beal <sgb...@googlemail.com>:
> Just out of curiosity, if you compile with -std=c99, does that go away? That
> should get rid of the 'long long' warning in sqlite3.h as well. i think.
    x86_64-w64-mingw32-gcc -Os -std=c99 .......
    src/shell.c: In function ‘do_meta_command’:
    src/shell.c:2454:9: warning: unknown conversion type character ‘l’
in format [-Wformat=]
             fprintf(p->out, "%s: %lld 0x%llx\n", azArg[i], v, v);
             ^
So it's exactly the same.
    $ x86_64-w64-mingw32-gcc --version
    x86_64-w64-mingw32-gcc (GCC) 4.8.1
    Copyright (C) 2013 Free Software Foundation, Inc.

The problem is not that the compiler doesn't know "long long", it
does! But the compiler has a very good printf format parser, which
knows that the fprintf function in msvcrt.dll expects the
non-standard "I64" in stead of "ll" for 64-bit integers....

Anyway, Richard fixed it already in the sqlite sources
(Thanks!), so it's irrelevant now.

Regards,
        Jan Nijtmans
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to