2024-02-13 05:49 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* debian/compat
    * set 10 as compatibility level

  * contrib/3rd/sqlite3/sqlite3.c
  * contrib/3rd/sqlite3/sqlite3.diff
    * do not use noinline function attribute in GCC prior 3.1

  * contrib/xhb/xhberror.c
  * src/rtl/gtdos/gtdos.c
    ! fixed format specifiers in HB_TRACE() messages

  * src/common/expropt1.c
  * src/rtl/langapi.c
    * pass explicitly "(null)" string instead of NULL string pointer
      to HB_TRACE() messages, some C compilers can autoinline functions
      and generate warning detecting such situation

  * src/pp/hbpp.c
    * cast revision number to ( HB_ULONG ) to avoid warnings in some
      compilers which do not understand %I64u format specifier

  * utils/hbmk2/hbmk2.prg
    * preffer HB_WITH_* settings then platform native pkg-config,
      giving pkg-config precedence breaks cross and custom builds
This commit is contained in:
Przemysław Czerpak
2024-02-13 05:49:59 +01:00
parent 455484766f
commit 936bef24d0
10 changed files with 48 additions and 11 deletions

View File

@@ -1,5 +1,14 @@
--- sqlite3.orig/sqlite3.c 2023-11-24 14:33:56.000000000 +0100
+++ sqlite3/sqlite3.c 2023-12-07 21:33:32.000000000 +0100
--- sqlite3.orig/sqlite3.c 2024-02-12 21:32:10.804005193 +0100
+++ sqlite3/sqlite3.c 2024-02-12 21:26:49.931101008 +0100
@@ -13915,7 +13915,7 @@
** Macros to hint to the compiler that a function should or should not be
** inlined.
*/
-#if defined(__GNUC__)
+#if defined(__GNUC__) && __GNUC__>=3
# define SQLITE_NOINLINE __attribute__((noinline))
# define SQLITE_INLINE __attribute__((always_inline)) inline
#elif defined(_MSC_VER) && _MSC_VER>=1310
@@ -34853,6 +34853,17 @@
return h;
}