Warnings for sqlcipher XCode 9 gethostuuid() is disabled

Not sure if I should correct or leave these warnings alone.

/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:33060:6: warning: “gethostuuid() is disabled.” [-W#warnings]

warning “gethostuuid() is disabled.”

 ^

/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:34436: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 );
~ ^~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:33556:21: note: expanded from macro ‘osWrite’
#define osWrite ((ssize_t()(int,const void,size_t))aSyscall[11].pCurrent)
^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:36126:42: warning: implicit conversion loses integer precision: ‘unsigned long long’ to ‘int’ [-Wshorten-64-to-32]
int sharedLockByte = SHARED_FIRST+pInode->sharedByte;
~~~~~~~~~~~~~~ ^~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:36271:11: warning: implicit conversion loses integer precision: ‘ssize_t’ (aka ‘long’) to ‘int’ [-Wshorten-64-to-32]
got = osPread(id->h, pBuf, cnt, offset);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:33546:21: note: expanded from macro ‘osPread’
#define osPread ((ssize_t()(int,void,size_t,off_t))aSyscall[9].pCurrent)
^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:36338:35: warning: implicit conversion loses integer precision: ‘long long’ to ‘int’ [-Wshorten-64-to-32]
int nCopy = pFile->mmapSize - offset;
~~~~~ ^~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:37596:33: warning: implicit conversion loses integer precision: ‘long long’ to ‘int’ [-Wshorten-64-to-32]
for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){
~ ~^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:39212:17: warning: implicit conversion loses integer precision: ‘ssize_t’ (aka ‘long’) to ‘int’ [-Wshorten-64-to-32]
nByte = osReadlink(zIn, zDel, nOut-1);
~ ^
~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:33639:20: note: expanded from macro ‘osReadlink’
#define osReadlink ((ssize_t()(const char,char*,size_t))aSyscall[26].pCurrent)
^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:39343: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 );
~ ^~~~~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:33539:21: note: expanded from macro ‘osRead’
#define osRead ((ssize_t()(int,void,size_t))aSyscall[8].pCurrent)
^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:39654:11: warning: implicit conversion loses integer precision: ‘unsigned long’ to ‘int’ [-Wshorten-64-to-32]
len = strlcat(lPath, “sqliteplocks”, maxLen);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:11467:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/string.h:190:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/secure/_string.h:115:3: note: expanded from macro ‘strlcat’
__builtin___strlcat_chk (dest, VA_ARGS, __darwin_obsz (dest))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:39662:11: warning: implicit conversion loses integer precision: ‘unsigned long’ to ‘int’ [-Wshorten-64-to-32]
len = strlcat(lPath, “/”, maxLen);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:11467:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/string.h:190:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/usr/include/secure/_string.h:115:3: note: expanded from macro ‘strlcat’
__builtin___strlcat_chk (dest, VA_ARGS, __darwin_obsz (dest))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:39955: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);
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:33546:21: note: expanded from macro ‘osPread’
#define osPread ((ssize_t()(int,void,size_t,off_t))aSyscall[9].pCurrent)
^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:40118:37: warning: implicit conversion loses integer precision: ‘unsigned long’ to ‘int’ [-Wshorten-64-to-32]
writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
~ ^~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:40333:53: warning: implicit conversion loses integer precision: ‘unsigned long’ to ‘int’ [-Wshorten-64-to-32]
int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
~~~ ~~~~~~~~~~~~^~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:79646: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);
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:83243:21: warning: implicit conversion loses integer precision: ‘i64’ (aka ‘long long’) to ‘int’ [-Wshorten-64-to-32]
pOut->u.nZero = nZero;
~ ^

/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:89761:47: warning: implicit conversion loses integer precision: ‘long’ to ‘int’ [-Wshorten-64-to-32]
int iListOff = (u8*)pSorter->list.pList - pSorter->list.aMemory;
~~~~~~~~ ~~~^
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:90844:40: warning: implicit conversion loses integer precision: ‘long long’ to ‘int’ [-Wshorten-64-to-32]
nChunk = copy.endpoint.iOffset - iOff;
~ ~~~~~~~~~~~~^~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:90934:23: warning: implicit conversion loses integer precision: ‘long long’ to ‘int’ [-Wshorten-64-to-32]
p->nSize = iAmt + iOfst;
~ ~^

/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:113875:26: warning: implicit conversion loses integer precision: ‘u64’ (aka ‘unsigned long long’) to ‘int’ [-Wshorten-64-to-32]
sqlite3_snprintf(nMsg, zErrmsg,
~~~~~~~~~~~~~~~~ ^
~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:113877:36: warning: implicit conversion loses integer precision: ‘unsigned long long’ to ‘int’ [-Wshorten-64-to-32]
sqlite3OsDlError(pVfs, nMsg-1, zErrmsg);
~~~~~~~~~~~~~~~~ ~~~~^~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:113921:26: warning: implicit conversion loses integer precision: ‘u64’ (aka ‘unsigned long long’) to ‘int’ [-Wshorten-64-to-32]
sqlite3_snprintf(nMsg, zErrmsg,
~~~~~~~~~~~~~~~~ ^
~
/Users/user/Desktop/Projects/Project1/sqlcipher/sqlite3.c:113923:36: warning: implicit conversion loses integer precision: ‘unsigned long long’ to ‘int’ [-Wshorten-64-to-32]
sqlite3OsDlError(pVfs, nMsg-1, zErrmsg);
~~~~~~~~~~~~~~~~ ~~~~^~
22 warnings generated.

Hello @BobTheDude that is a deliberate #warning (see http://www.sqlite.org/src/doc/trunk/src/os_unix.c), however, the code identifies that the function is missing. Thus you can ignore the warning.

Thank you, I just wanted to make sure.