2008-09-25 21:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* include/hbdefs.h
    ! Fixed 64-bit printf() formatting strings to be compatible 
      with MinGW. MinGW seems to follow the Microsoft way instead 
      of being compatible with other GCC dialects.
      This fixes some pcode/c code (-gc3) generation problems for 
      long long literals, and hbfbird/FBGETDATA() potential problems, 
      when MinGW 3.x/4.x compilers were used.
      [TOMERGE 1.0]

    ; TOFIX: Some sqlite3.c code may also be affected, since 
             "%llX" and "%lld"s are hard-coded into the source.
This commit is contained in:
Viktor Szakats
2008-09-25 19:55:52 +00:00
parent 0b9b5330d6
commit 68b7fcbc47
2 changed files with 14 additions and 1 deletions

View File

@@ -8,6 +8,19 @@
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2008-09-25 21:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbdefs.h
! Fixed 64-bit printf() formatting strings to be compatible
with MinGW. MinGW seems to follow the Microsoft way instead
of being compatible with other GCC dialects.
This fixes some pcode/c code (-gc3) generation problems for
long long literals, and hbfbird/FBGETDATA() potential problems,
when MinGW 3.x/4.x compilers were used.
[TOMERGE 1.0]
; TOFIX: Some sqlite3.c code may also be affected, since
"%llX" and "%lld"s are hard-coded into the source.
2008-09-25 13:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- make_tgz.sh
+ mpkg_tgz.sh

View File

@@ -658,7 +658,7 @@ typedef unsigned long HB_COUNTER;
#ifndef PFLL
# if defined( __BORLANDC__ ) || defined( _MSC_VER )
# if defined( __BORLANDC__ ) || defined( _MSC_VER ) || defined( __MINGW32__ )
# define PFLL "I64"
# else
# define PFLL "ll"