The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CSQLite, reference main (d07702), with Swift 6.2 for macOS (SPM) on 1 May 2026 00:18:48 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: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CSQLite.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/CSQLite
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d077028 Format YAML for consistency in GitHub Actions (#94)
Cloned https://github.com/sbooth/CSQLite.git
Revision (git rev-parse @):
d077028d63198735c30fefff5bd518a35dd1ed32
SUCCESS checkout https://github.com/sbooth/CSQLite.git at main
========================================
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 shathree.c
[5/7] Compiling CSQLite series.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:32972:23: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 32972 |         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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:68882:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 68882 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:74978:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 74978 |     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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:78500:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 78500 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:80993:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 80993 |     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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:82857:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 82857 |           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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:82891:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 82891 |           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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:84899:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 84899 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:85170:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 85170 |           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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:86772:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 86772 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:86854:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 86854 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92558:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92558 |           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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92586:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92586 |           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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92794:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92794 |     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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:93253:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 93253 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:96263:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 96263 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:106887:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 106887 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107168:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107168 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107364:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107364 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107365:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 107365 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:108377:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 108377 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:108831:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 108831 |           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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:109708:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 109708 |     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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:109815:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 109815 |         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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:110029:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 110029 |   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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:124438:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 124438 |   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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:130842:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 130842 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:165548:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 165548 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:165555:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 165555 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:169645:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 169645 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:170336:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 170336 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171259:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 171259 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171260:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 171260 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171268:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 171268 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171269:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 171269 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171699:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 171699 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:174464:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 174464 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:178453:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 178453 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220250:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 220250 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220251:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 220251 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220256:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 220256 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220257:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 220257 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220298:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 220298 |       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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220299:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 220299 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221410:21: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 221410 |   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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:248468:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 248468 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:249878:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 249878 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:250862:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 250862 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:251244:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 251244 |             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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:251935:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 251935 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252636:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 252636 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:253641:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 253641 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:253666:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 253666 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254010:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254010 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254516:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254516 |   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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:255468:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 255468 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:255914:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 255914 |     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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:256579:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 256579 |         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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:256580:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 256580 |         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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258033:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 258033 |   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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258063:13: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 258063 |     nSlot = MAX(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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258581:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 258581 |         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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:260118:31: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 260118 |     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:15808:10: note: other definition of 'MAX'
 15808 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:268092:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 268092 |       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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:268166:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 268166 |         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:15805:10: note: other definition of 'MIN'
 15805 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
65 warnings generated.
[6/7] Compiling CSQLite sqlite3.c
Build complete! (2.74s)
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.