The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CSQLite, reference 3.54.1 (d12699), with Swift 6.2 for macOS (SPM) on 24 Oct 2026 14:54:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CSQLite.git
Reference: 3.54.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/CSQLite
 * tag               3.54.1     -> FETCH_HEAD
HEAD is now at d126995 Update SQLite to version 3.54.1 (#103)
Cloned https://github.com/sbooth/CSQLite.git
Revision (git rev-parse @):
d126995f00f971441a1a195cf6be48d673eba376
SUCCESS checkout https://github.com/sbooth/CSQLite.git at 3.54.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sbooth/CSQLite.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Compiling CSQLite csqlite_shims.c
[1/7] Compiling CSQLite uuid.c
[2/7] Compiling CSQLite ieee754.c
[3/7] Compiling CSQLite decimal.c
[4/7] Compiling CSQLite series.c
[5/7] Compiling CSQLite shathree.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:33371:23: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 33371 |         szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+10;
       |                       ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:68397:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 68397 |       u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
       |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:74639:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 74639 |     rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
       |                                ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:78178:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 78178 |     amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
       |           ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:80674:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 80674 |     int nAdd = MIN(nNew,iOld-iNew);
       |                ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:82538:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 82538 |           int nCopy = MIN(nOut, nIn);
       |                       ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:82572:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 82572 |           nOut = MIN(pBt->usableSize - 4, nRem);
       |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:84634:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 84634 |   const int nCopy = MIN(nSrcPgsz, nDestPgsz);
       |                     ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:84921:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 84921 |           iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
       |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:86525:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 86525 |     if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
       |                                                 ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:86607:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 86607 |     if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
       |                                                 ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92310:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92310 |           int nCmp = MIN(mem1.n, pRhs->n);
       |                      ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92338:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92338 |           int nCmp = MIN(nStr, pRhs->n);
       |                      ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92523:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92523 |     nCmp = MIN( pPKey2->n, nStr );
       |            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92995:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92995 |   for(ii=0; ii<MIN(pIdx->nColumn, BMS); ii++){
       |                ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:96119:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 96119 |       nextIndex = MAX(idx + 1, nextIndex);
       |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:97000:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 97000 |         memcpy(&x, p->z, MIN(n, (int)sizeof(x)));
       |                          ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106936:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 106936 |       sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
        |                            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107217:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107217 |   res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
        |                         ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107557:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107557 |       mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
        |                 ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107558:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 107558 |       pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
        |                            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:108576:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 108576 |     pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
        |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:109030:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 109030 |           nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
        |                     ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:109907:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 109907 |     int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
        |                 ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:110014:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 110014 |         int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
        |                      ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:110228:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 110228 |   return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
        |          ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:124893:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 124893 |   pParse->nTab = MAX(pParse->nTab, iTab);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:131418:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 131418 |   int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
        |               ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:137301:16: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 137301 |         iReq = MAX(0, iReq-iGt);
        |                ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:166630:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 166630 |       nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
        |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:166637:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 166637 |       nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
        |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:170807:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 170807 |   mxBitCol = MIN(BMS-1,pTable->nCol);
        |              ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171493:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 171493 |   nField = MIN(pRec->nField, nField);
        |            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:172416:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 172416 |       pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
        |                         ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:172417:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 172417 |       pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
        |                         ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:172425:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 172425 |       pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
        |                         ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:172426:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 172426 |       pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
        |                         ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:172864:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 172864 |   nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
        |          ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:175638:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 175638 |   aFrom[0].nRow = MIN(pParse->nQueryLoop, 48);  assert( 48==sqlite3LogEst(28) );
        |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:179634:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 179634 |     nArg = MAX(nArg, windowArgCount(pWin));
        |            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221907:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 221907 |       p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f);
        |                          ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221908:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 221908 |       p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f);
        |                            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221913:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 221913 |       p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i);
        |                          ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221914:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 221914 |       p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i);
        |                            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221955:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 221955 |       x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj]));
        |            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221956:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 221956 |       x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1]));
        |            ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:223092:21: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 223092 |   pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);
        |                     ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:246243:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 246243 |   return (int)MIN(MAX(sqlite3_value_int64(pVal), -1), 0x7FFFFFFF);
        |               ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:246243:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 246243 |   return (int)MIN(MAX(sqlite3_value_int64(pVal), -1), 0x7FFFFFFF);
        |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:246470:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 246470 |   nToken = (int)(MIN( MAX(sqlite3_value_int64(apVal[4]), 0), 64));
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:246470:23: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 246470 |   nToken = (int)(MIN( MAX(sqlite3_value_int64(apVal[4]), 0), 64));
        |                       ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:250670:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 250670 |     p->iHeight = MAX(p->iHeight, p->apChild[ii]->iHeight + 1);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252080:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 252080 |       int nMin = MIN(p1->nKey, p2->nKey);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:253069:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 253069 |   nCmp = MIN(pLeft->n, pRight->n);
        |          ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:253458:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 253458 |             nOriginCntr = MAX(nOriginCntr, pSeg->iOrigin2);
        |                           ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254153:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254153 |       int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254858:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254858 |       nCmp = (u32)MIN(nNew, nTerm-nMatch);
        |                   ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:255866:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 255866 |   int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
        |                ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:255891:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 255891 |       nChunk = MIN(nRem, pData->szLeaf - 4);
        |                ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:256239:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 256239 |       nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
        |              ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:256745:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 256745 |   int nMin = MIN(pPage->term.n, nTerm);
        |              ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:257702:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 257702 |       nPrefix = MIN(nPrefix, nPrefix2);
        |                 ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258151:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 258151 |     pNew->nLevel = MIN(pStruct->nLevel+1, FTS5_MAX_LEVEL);
        |                    ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258816:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 258816 |         int n1 = MIN(nHalf, pT->nMap-i1);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258817:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 258817 |         int n2 = MIN(nHalf, pT->nMap-i1-n1);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:260270:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 260270 |   int nSlotPerPage = MAX(MINSLOT, (p->pConfig->pgsz - 8) / szKey);
        |                      ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:260303:15: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 260303 |       nSlot = MAX((i64)nElem*4, MINSLOT);
        |               ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:260827:55: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 260827 |           res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
        |                                                       ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:262365:31: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 262365 |     pIdxInfo->estimatedRows = MAX(1, nRow);
        |                               ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
  218 | #define MAX(a, b) (((a)>(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15992:10: note: other definition of 'MAX'
 15992 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:270371:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 270371 |       int nCmp = MIN(nTerm, pCsr->nLeTerm);
        |                  ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:270445:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 270445 |         int nCmp = MIN(nTerm, pCsr->nLeTerm);
        |                    ^
/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
  215 | #define MIN(a, b) (((a)<(b))?(a):(b))
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:15989:10: note: other definition of 'MIN'
 15989 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
71 warnings generated.
[6/7] Compiling CSQLite sqlite3.c
Build complete! (2.71s)
Build complete.
{
  "c_language_standard" : "gnu11",
  "dependencies" : [
  ],
  "manifest_display_name" : "CSQLite",
  "name" : "CSQLite",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSQLite",
      "targets" : [
        "CSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSQLiteTests",
      "module_type" : "SwiftTarget",
      "name" : "CSQLiteTests",
      "path" : "Tests/CSQLiteTests",
      "sources" : [
        "CSQLiteBasicTests.swift",
        "CSQLiteExtensionTests.swift",
        "CSQLiteFeatureTests.swift"
      ],
      "target_dependencies" : [
        "CSQLite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSQLite",
      "module_type" : "ClangTarget",
      "name" : "CSQLite",
      "path" : "Sources/CSQLite",
      "product_memberships" : [
        "CSQLite"
      ],
      "sources" : [
        "csqlite_shims.c",
        "decimal.c",
        "ieee754.c",
        "series.c",
        "shathree.c",
        "sqlite3.c",
        "uuid.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.