sqlite3.dart
sqlite3.dart copied to clipboard
Many warnings occur when building apps in macOS
hello. I am using your library very conveniently. But, when building on macOS, many warnings are output in sqlite3 as shown below.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:XXXX }
{ platform:macOS, arch:x86_64, id:XXXX }
...
1 warning generated.
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:31416:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15;
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:31567:60: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
&pAccum->zText[pAccum->nChar-nCopyBytes], nCopyBytes);
^~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:31672:18: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
length = j;
~ ^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:36372:14: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'VList' (aka 'int') [-Wshorten-64-to-32]
pIn[0] = nAlloc;
~ ^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:39425:14: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
do{ rc = osWrite(fd, "S", 1); }while( rc<0 && errno==EINTR );
~ ^~~~~~~~~~~~~~~~~~~
#define osWrite ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:41168:42: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
int sharedLockByte = SHARED_FIRST+pInode->sharedByte;
~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:41310:11: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
got = osPread(id->h, pBuf, cnt, offset);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:41377:35: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nCopy = pFile->mmapSize - offset;
~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:42817:33: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32]
for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){
~ ~~~~~~~~~~~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:44671:17: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
do{ got = osRead(fd, zBuf, nBuf); }while( got<0 && errno==EINTR );
~ ^~~~~~~~~~~~~~~~~~~~~~
#define osRead ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent)
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:44988:11: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
len = strlcat(lPath, "sqliteplocks", maxLen);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:44996:11: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
len = strlcat(lPath, "/", maxLen);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
__builtin___strlcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:45289:19: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
int len = osPread(conchFile->h, tBuf, PROXY_MAXCONCHLEN, 0);
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:45452:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:45667:53: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:58133:57: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
put32bits(&zHeader[sizeof(aJournalMagic)+16], pPager->pageSize);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
#define put32bits(A,B) sqlite3Put4byte((u8*)A,B)
~~~~~~~~~~~~~~~ ^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:58252:27: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
iPageSize = pPager->pageSize;
~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:58841:27: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int i = pPager->pageSize-200; /* Loop counter */
~ ~~~~~~~~~~~~~~~~^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:58857:52: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pPager->xCodecSizeChng(pPager->pCodec, pPager->pageSize,
~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:58967:47: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4);
~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59074:60: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59079:58: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsWrite(pPager->fd, (u8 *)aData, pPager->pageSize, ofst);
~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59328:26: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int szPage = pPager->pageSize;
~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59474:31: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
u32 savedPageSize = pPager->pageSize;
~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59698:59: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3WalReadFrame(pPager->pWal, iFrame,pPager->pageSize,pPg->pData);
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59703:56: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsRead(pPager->fd, pPg->pData, pPager->pageSize, iOffset);
~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:59884:15: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pPager->pageSize, pList, nTruncate, isCommit, pPager->walSyncFlags
~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:60469:24: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
*pPageSize = pPager->pageSize;
~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:60845:69: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
sqlite3WalClose(pPager->pWal, db, pPager->walSyncFlags, pPager->pageSize,a);
~~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:61138:54: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsWrite(pPager->fd, pData, pPager->pageSize, offset);
~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:61236:59: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsWrite(pPager->sjfd, pData2, pPager->pageSize, offset+4);
~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:62352:51: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
(i64)(pgno-1) * pPager->pageSize, pPager->pageSize, &pData
~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:62687:52: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3OsWrite(pPager->jfd, pData2, pPager->pageSize, iOff+4);
~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:63506:5: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
+ (int)(sizeof(PgHdr) + 5*sizeof(void*));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:63509:12: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
+ pPager->pageSize;
^~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:63516:10: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
return sqlite3PcachePageRefcount(pPage);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:64246:39: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pPager->walSyncFlags, pPager->pageSize, (u8 *)pPager->pTmpSpace,
~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:64406:36: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pPager->pageSize, (u8*)pPager->pTmpSpace);
~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:66043:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
u32 iLast = MIN(iLastFrame, HASHTABLE_NPAGE_ONE+iPg*HASHTABLE_NPAGE);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:66039:40: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
iLastFrame = (nSize - WAL_HDRSIZE) / szFrame;
~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:71294:12: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
return nPayload;
~~~~~~ ^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:71299:24: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
surplus = minLocal + (nPayload - minLocal)%(pPage->pBt->usableSize-4);
~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:71957:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:72665:43: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:75415:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:77869:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nAdd = MIN(nNew,iOld-iNew);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:79496:24: warning: implicit conversion loses integer precision: 'const sqlite3_int64' (aka 'const long long') to 'int' [-Wshorten-64-to-32]
x2.nData = pX->nKey;
~ ~~~~^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:79717:23: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nOut, nIn);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:79751:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nOut = MIN(pBt->usableSize - 4, nRem);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:79687:31: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pBt->nPreformatSize = nIn + (aOut - pBt->pTmpSpace);
~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:79699:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pBt->nPreformatSize = nOut + (aOut - pBt->pTmpSpace);
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:81768:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
const int nCopy = MIN(nSrcPgsz, nDestPgsz);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:82071:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:83557:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:89171:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(mem1.n, pRhs->n);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:89199:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nStr, pRhs->n);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:89400:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN( pPKey2->n, nStr );
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:91729:42: warning: implicit conversion loses integer precision: 'sqlite3_uint64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3_bind_zeroblob(pStmt, i, n);
~~~~~~~~~~~~~~~~~~~~~ ^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:92527:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nextIndex = MAX(idx + 1, nextIndex);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:93346:48: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
rc = sqlite3BtreePayload(pC->uc.pCursor, iOffset, len, pBuf);
~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:93369:50: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
rc = sqlite3VdbeMemFromBtree(pC->uc.pCursor, iOffset, len, pDest);
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:96214:21: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pOut->u.nZero = nZero;
~ ^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:102750:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:102754:19: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
p->nAlloc = nNew;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:103030:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:103216:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:103217:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:104039:26: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pSorter->mxKeysize = nPMA;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:104043:33: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nMin = pSorter->iMemory + nReq;
~~~~ ~~~~~~~~~~~~~~~~~^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:104050:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
iListOff = (u8*)pSorter->list.pList - pSorter->list.aMemory;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:104061:26: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pSorter->nMemory = nNew;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:104215:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:104669:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:105546:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:105586:40: warning: implicit conversion loses integer precision: 'sqlite_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
nChunk = copy.endpoint.iOffset - iOff;
~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:105653:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iSpace = MIN(nWrite, p->nChunkSize - iChunkOffset);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:105867:10: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
return MAX(pVfs->szOsFile, (int)sizeof(MemJournal));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:105991:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
char* sqlcipher_version();
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:107481:27: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int saved_nChange = db->nChange; /* Saved value of db->nChange */
~~~~~~~~~~~~~ ~~~~^~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:107482:32: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int saved_nTotalChange = db->nTotalChange; /* Saved value of db->nTotalChange */
~~~~~~~~~~~~~~~~~~ ~~~~^~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:107781:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void sqlcipher_init_memmethods() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:107813:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
sqlcipher_provider* sqlcipher_get_provider() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:107817:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void sqlcipher_activate() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:107865:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void sqlcipher_deactivate() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108034:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
char* sqlcipher_version() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108263:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_default_kdf_iter() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108293:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_default_use_hmac() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108301:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
unsigned char sqlcipher_get_hmac_salt_mask() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108340:48: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_default_plaintext_header_size() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108359:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_default_hmac_algorithm() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108378:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_default_kdf_algorithm() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108473:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_default_pagesize() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:108485:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int sqlcipher_get_mem_security() {
^
void
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:121417:16: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nOut = nSql;
~~~~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:121427:22: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
nReplace = nNew;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:121430:22: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
nReplace = nQuot;
~ ^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:121444:30: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
sqlite3_snprintf(nSql*2, zBuf2, "%Q%s", zBuf1,
~~~~~~~~~~~~~~~~ ~~~~^~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:121451:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
iOff = pBest->t.z - zSql;
~ ~~~~~~~~~~~^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:122223:21: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
int flags = db->flags;
~~~~~ ~~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:122940:15: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
p->nLimit = sqlite3_value_int64(argv[3]);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:123543:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pParse->nTab = MAX(pParse->nTab, iTab);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:129948:15: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:130215:20: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
pSrc->nAlloc = nAlloc;
~ ^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:133283:24: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
sqlite3_randomness(n, p);
~~~~~~~~~~~~~~~~~~ ^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:133284:44: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
sqlite3_result_blob(context, (char*)p, n, sqlite3_free);
~~~~~~~~~~~~~~~~~~~ ^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:133821:31: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
pStr->nChar = nBlob*2 + 3;
~ ~~~~~~~~^~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:134031:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
sqlite3_result_blob(pCtx, pBlob, (p - pBlob), sqlite3_free);
~~~~~~~~~~~~~~~~~~~ ~~^~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:141633:36: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
sqlite3OsDlError(pVfs, nMsg-1, zErrmsg);
~~~~~~~~~~~~~~~~ ~~~~^~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:141674:34: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
sqlite3OsDlError(pVfs, nMsg-1, zErrmsg);
~~~~~~~~~~~~~~~~ ~~~~^~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:144871:28: warning: implicit conversion loses integer precision: 'const u64' (aka 'const unsigned long long') to 'int' [-Wshorten-64-to-32]
int iCookie = pPragma->iArg; /* Which cookie to read or write */
~~~~~~~ ~~~~~~~~~^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:152786:29: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
int flags = pParse->db->flags;
~~~~~ ~~~~~~~~~~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:161715:67: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:162837:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:162844:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:166093:43: warning: possible misuse of comma operator here [-Wcomma]
&& (pX = pTerm->pExpr->pRight, ALWAYS(pX!=0))
^
&& (pX = pTerm->pExpr->pRight, ALWAYS(pX!=0))
^~~~~~~~~~~~~~~~~~~~~~~~~
(void)( )
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:166697:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxBitCol = MIN(BMS-1,pTable->nCol);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:167322:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nField = MIN(pRec->nField, nField);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:168188:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pTemplate->rRun = MIN(p->rRun, pTemplate->rRun);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:168189:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pTemplate->nOut = MIN(p->nOut - 1, pTemplate->nOut);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:168197:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pTemplate->rRun = MAX(p->rRun, pTemplate->rRun);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:168198:25: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:168542:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN(nCmp, (pIdx->nColumn - nEq));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:170875:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) );
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:173149:28: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nSize = (p->nTotal / p->nParam);
~~~~~ ~~~~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:174694:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nArg = MAX(nArg, windowArgCount(pWin));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:179386:9: warning: code will never be executed [-Wunreachable-code]
YYMINORTYPE yylhsminor;
^~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:183814:19: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
nBig = szAlloc/(3*LOOKASIDE_SMALL+sz);
~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:183815:30: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
nSm = (szAlloc - sz*nBig)/LOOKASIDE_SMALL;
~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:183817:19: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
nBig = szAlloc/(LOOKASIDE_SMALL+sz);
~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:183818:30: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
nSm = (szAlloc - sz*nBig)/LOOKASIDE_SMALL;
~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:183822:19: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
nBig = szAlloc/sz;
~ ~~~~~~~^~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:190553:14: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
*pnStr = nStr;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:200988:11: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nRead = MIN(pReader->nNode - pReader->nPopulate, FTS3_NODE_CHUNKSIZE);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:201137:27: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pReader->nTermAlloc = nNew;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:202064:22: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pWriter->nSize = nReq;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:202398:24: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nNew = nList*2 + FTS3_NODE_PADDING;
~~~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:203927:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nLhs, nRhs);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:204075:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
MAX(nRoot, p->nNodeSize)+FTS3_NODE_PADDING, &rc
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:204105:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
MAX(nBlock, p->nNodeSize)+FTS3_NODE_PADDING, &rc
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:204683:37: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
sqlite3_bind_int(pFindLevel, 1, MAX(2, nMin));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:204712:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nSeg = MIN(MAX(nMin,nSeg), nHintSeg);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:204712:20: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nSeg = MIN(MAX(nMin,nSeg), nHintSeg);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:205701:55: warning: implicit conversion loses integer precision: 'long' to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
pRet->aMatchinfo[0] = (u8*)(&pRet->aMatchinfo[1]) - (u8*)pRet;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:205952:25: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
iEnd = pPhrase->iHead;
~ ~~~~~~~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:206181:20: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pStr->nAlloc = nAlloc;
~ ^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:207236:29: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
iMinPos = pT->iPos-pT->iOff;
~ ~~~~~~~~^~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:208460:18: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
jsonGrow(p, p->nUsed);
~~~~~~~~ ~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:208957:24: warning: implicit conversion loses integer precision: 'u64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
pParse->nAlt = s.nUsed;
~ ~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:209192:39: warning: implicit conversion loses integer precision: 'sqlite3_uint64' (aka 'unsigned long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
pParse->nAlloc = sqlite3_msize(pNew)/sizeof(JsonNode);
~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:209245:41: warning: implicit conversion loses integer precision: 'sqlite3_uint64' (aka 'unsigned long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
pParse->nAlloc = sqlite3_msize(aNew)/sizeof(JsonNode);
~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:214128:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:214129:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:214134:26: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:214135:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:214176:12: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj]));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:214177:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1]));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:215294:21: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:218191:20: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'u32' (aka 'unsigned int') [-Wshorten-64-to-32]
pBlob->iSize = nBlob;
~ ^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:235451:9: warning: code will never be executed [-Wunreachable-code]
fts5YYMINORTYPE fts5yylhsminor;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:238343:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pToken->n = (z2 - z);
~ ~~~^~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:238355:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pToken->n = (z2 - z);
~ ~~~^~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:240372:18: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
p->iHeight = MAX(p->iHeight, p->apChild[ii]->iHeight + 1);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:242580:10: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN(pLeft->n, pRight->n);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:242957:27: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nOriginCntr = MAX(nOriginCntr, pSeg->iOrigin2);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243645:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int iEod = MIN(pIter->iEndofDoclist, pIter->pLeaf->szLeaf);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243642:23: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int iOff = pIter->iLeafOffset; /* Offset to read at */
~~~~ ~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243716:28: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pIter->iTermLeafOffset = iOff;
~ ^~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243825:18: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int i = pIter->iLeafOffset;
~ ~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243865:50: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pIter->aRowidOffset[iRowidOffset++] = pIter->iLeafOffset;
~ ~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243958:19: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
iOff = pIter->iLeafOffset;
~ ~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:243987:17: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
iOff = pIter->iLeafOffset;
~ ~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:244067:29: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
iOff = pIter->iLeafOffset + pIter->nPos;
~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:244340:19: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = (u32)MIN(nNew, nTerm-nMatch);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:244408:35: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pIter->iTermLeafOffset = pIter->iLeafOffset;
~ ~~~~~~~^~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245125:18: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pNew->nSeg = nSlot;
~ ^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245255:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245280:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nChunk = MIN(nRem, pData->szLeaf - 4);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245255:46: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nChunk = MIN(nRem, pSeg->pLeaf->szLeaf - pSeg->iLeafOffset);
~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245377:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pIter->base.nData = p-aCopy;
~ ~^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245497:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pIter->base.nData = aOut - pIter->poslist.p;
~ ~~~~~^~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:245598:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:246123:14: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nMin = MIN(pPage->term.n, nTerm);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:246598:38: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
int nPercent = (nTomb * 100) / nEntry;
~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:247062:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nPrefix = MIN(nPrefix, nPrefix2);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:246968:36: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
iNextOff = pSeg->iLeafOffset + pSeg->nPos;
~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:247473:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
pNew->nLevel = MIN(pStruct->nLevel+1, FTS5_MAX_LEVEL);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:247981:40: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
assert_nc( memcmp(pToken, pTerm, MIN(nToken, nTerm))<=0 );
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:248668:22: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
int nSlotPerPage = MAX(MINSLOT, (p->pConfig->pgsz - 8) / szKey);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:248698:13: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
nSlot = MAX(nElem*4, MINSLOT);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MAX(a, b) (((a)>(b))?(a):(b))
^
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:249203:53: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = fts5Memcmp(&pLeaf->p[iOff], zIdxTerm, MIN(nTerm, nIdxTerm));
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:251029:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
pSorter->aIdx[i] = &aBlob[nBlob] - a;
~ ~~~~~~~~~~~~~~^~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:254961:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
is = zCsr - (unsigned char*)pText;
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:254968:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
is = zCsr - (unsigned char*)pText;
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:255018:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
ie = zCsr - (unsigned char*)pText;
~ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:255022:37: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
rc = xToken(pCtx, 0, aFold, zOut-aFold, is, ie);
~~~~~~ ~~~~^~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:255822:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
int iStart = zIn - (const unsigned char*)pText;
~~~~~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:255846:64: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
rc = xToken(pCtx, 0, aBuf, zOut-aBuf, iStart, iStart + zOut-aBuf);
~~~~~~ ~~~~~~~~~~~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:255846:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
rc = xToken(pCtx, 0, aBuf, zOut-aBuf, iStart, iStart + zOut-aBuf);
~~~~~~ ~~~~^~~~~
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:257457:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:257531:20: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nTerm, pCsr->nLeTerm);
^
In module 'Darwin' imported from /my_path/flutter/maPpp/macos/Pods/SQLCipher/sqlite3.c:385:
#define MIN(a, b) (((a)<(b))?(a):(b))
^
# define MIN(A,B) ((A)<(B)?(A):(B))
^
...
200 warnings generated.
My development environment is as follows: macOS Sonoma 14.4 flutter 3.19.3 dart 3.3.1 drift: ^2.16.0 sqlite3:^2.4.0 sqlcipher_flutter_libs: ^0.6.1 drift_dev: ^2.16.0
I think there is no way for us to disable these warnings with Cocoapods, but perhaps adding pod 'sqlite3', :inhibit_warnings => true to platform :macos in your top-level podfile might work?