diff -up cuda-z-0.11.273/cuda-z.pro.cuda cuda-z-0.11.273/cuda-z.pro --- cuda-z-0.11.273/cuda-z.pro.cuda 2017-02-20 20:17:28.000000000 +0100 +++ cuda-z-0.11.273/cuda-z.pro 2017-07-06 12:13:22.563086291 +0200 @@ -104,7 +104,7 @@ win32:isEqual(QT_MAJOR_VERSION, 4) { QMAKE_RC = rc $$join(RC_INCLUDEPATH, " -I ", "-I ") } -unix:LIBS += -lcudart_static +unix:LIBS += -lcudart_static -ldl -lrt linux:!static:LIBS += -ldl -lm -lrt win32:LIBS += \ $$quote($$(CUDA_LIB_PATH)\\cuda.lib) \ diff -up cuda-z-0.11.273/src/cudainfo.cu.cuda cuda-z-0.11.273/src/cudainfo.cu --- cuda-z-0.11.273/src/cudainfo.cu.cuda 2017-06-02 22:59:19.000000000 +0200 +++ cuda-z-0.11.273/src/cudainfo.cu 2017-07-06 12:13:22.563086291 +0200 @@ -294,7 +294,7 @@ static bool CZCudaIsInit(void) { /*! \brief Get version of shared library. */ static char *CZGetSoVersion( - char *name, /*!<[in] Name of so file. E.g. "libcuda.so". */ + const char *name, /*!<[in] Name of so file. E.g. "libcuda.so". */ char *version /*!<[out] Library version buffer. */ ) { FILE *fp = NULL; @@ -445,7 +445,7 @@ static bool CZCudaIsInit(void) { if(fp != NULL) { while(fgets(str, CZ_FILE_STR_LEN - 1, fp) != NULL) { char *p = NULL; - char *kernel_module = "Kernel Module"; + const char *kernel_module = "Kernel Module"; if((p = strstr(str, kernel_module)) != NULL) { p += strlen(kernel_module); while(*p == ' ') diff -up cuda-z-0.11.273/src/czdialog.cpp.cuda cuda-z-0.11.273/src/czdialog.cpp --- cuda-z-0.11.273/src/czdialog.cpp.cuda 2016-01-11 22:01:03.000000000 +0100 +++ cuda-z-0.11.273/src/czdialog.cpp 2017-07-06 12:13:22.563086291 +0200 @@ -1090,7 +1090,7 @@ void CZDialog::slotHttpFinished() { /*! \brief HTTP data processing slot. */ void CZDialog::slotHttpReadyRead() { - CZLog(CZLogLevelLow, "Get potrion of data %d", m_reply->size()); + CZLog(CZLogLevelLow, "Get potrion of data %lld", m_reply->size()); m_history += m_reply->readAll().data(); // CZLog(CZLogLevelLow, "history: %s", m_history.toLocal8Bit().data()); }