The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CSQLite, reference 3.53.4 (76ffb2), with Swift 6.2 for macOS (SPM) on 28 Jul 2026 07:36:36 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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CSQLite.git
Reference: 3.53.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/CSQLite
 * tag               3.53.4     -> FETCH_HEAD
HEAD is now at 76ffb2a Update SQLite to version 3.53.4 (#99)
Cloned https://github.com/sbooth/CSQLite.git
Revision (git rev-parse @):
76ffb2adfc49d34014d8bb6ef55191c1e7c09fd2
SUCCESS checkout https://github.com/sbooth/CSQLite.git at 3.53.4
========================================
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 ieee754.c
[2/7] Compiling CSQLite uuid.c
[3/7] Compiling CSQLite shathree.c
[4/7] Compiling CSQLite decimal.c
[5/7] Compiling CSQLite series.c
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:33002:23: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 33002 |         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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:69011:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 69011 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:75110:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 75110 |     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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:78644:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 78644 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:81140:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 81140 |     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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:83004:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 83004 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:83038:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 83038 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:85061:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 85061 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:85348:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 85348 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:86952:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 86952 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:87034:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 87034 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92738:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92738 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92766:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92766 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:92974:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 92974 |     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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:93433:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 93433 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:96449:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 96449 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107073:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 107073 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107354:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107354 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107550:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 107550 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:107551:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 107551 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:108563:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 108563 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:109017:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 109017 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:109894:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 109894 |     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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:110001:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 110001 |         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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:110215:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 110215 |   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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:124685:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 124685 |   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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:131098:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 131098 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:165846:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 165846 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:165853:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 165853 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:169954:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 169954 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:170645:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 170645 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171568:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 171568 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171569:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 171569 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171577:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 171577 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:171578:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 171578 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:172008:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 172008 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:174774:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 174774 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:178747:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 178747 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220671:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 220671 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220672:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 220672 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220677:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 220677 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220678:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 220678 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220719:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 220719 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:220720:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 220720 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:221831:21: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 221831 |   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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:245055:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 245055 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:245055:23: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 245055 |   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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:249255:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 249255 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:250665:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 250665 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:251649:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 251649 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252038:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 252038 |             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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:252729:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 252729 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:253434:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 253434 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254442:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254442 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254467:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254467 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:254814:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 254814 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:255320:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 255320 |   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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:256277:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 256277 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:256723:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 256723 |     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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:257388:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 257388 |         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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:257389:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 257389 |         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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258842:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 258842 |   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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:258875:15: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 258875 |       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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:259396:55: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 259396 |           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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:260934:31: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
 260934 |     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:15829:10: note: other definition of 'MAX'
 15829 | # define MAX(A,B) ((A)>(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:268915:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 268915 |       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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
/Users/admin/builder/spi-builder-workspace/Sources/CSQLite/sqlite3.c:268989:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
 268989 |         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:15826:10: note: other definition of 'MIN'
 15826 | # define MIN(A,B) ((A)<(B)?(A):(B))
       |          ^
67 warnings generated.
[6/7] Compiling CSQLite sqlite3.c
Build complete! (2.59s)
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.