Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
None
-
QSR 1.2, QSR 1.1.2
-
None
-
Sprint 21
Description
QSR 1.1 branch build fails on Mingw build:
agent:2020/01/23 10:40:57 build.go:220: g++ -c -fno-keep-inline-dllexport -O2 -g -std=c+1z -fexceptions -mthreads -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QTSAFERENDERER_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_DEBUG -I. -I..\..\include -I..\..\include\QtSafeRenderer -IC:/Users/qt/work/tqtc-boot2qt/qtsaferenderer/include/QtSafeRenderer/1.1.2 -IC:/Users/qt/work/tqtc-boot2qt/qtsaferenderer/include/QtSafeRenderer/1.1.2/QtSafeRenderer -Itmp -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Users\qt\work\install\mkspecs\win32-g+ -o .obj\qsafefile.o qsafefile.cpp
agent:2020/01/23 10:40:57 build.go:220: qsafefile.cpp: In member function 'SafeRenderer::quint32 SafeRenderer::QSafeFile::available()':
agent:2020/01/23 10:40:57 build.go:220: qsafefile.cpp:116:65: error: 'SEEK_CUR' was not declared in this scope
agent:2020/01/23 10:40:57 build.go:220: currentPosition = ::lseek(m_fileDescriptor, zeroOffset, SEEK_CUR);
agent:2020/01/23 10:40:57 build.go:220: ^~~~~~~~
agent:2020/01/23 10:40:57 build.go:220: qsafefile.cpp:123:61: error: 'SEEK_END' was not declared in this scope
agent:2020/01/23 10:40:57 build.go:220: endPosition = ::lseek(m_fileDescriptor, zeroOffset, SEEK_END);
agent:2020/01/23 10:40:57 build.go:220: ^~~~~~~~
agent:2020/01/23 10:40:57 build.go:220: qsafefile.cpp:130:70: error: 'SEEK_SET' was not declared in this scope
agent:2020/01/23 10:40:57 build.go:220: static_cast<void>(::lseek(m_fileDescriptor, currentPosition, SEEK_SET));
agent:2020/01/23 10:40:57 build.go:220: ^~~~~~~~
agent:2020/01/23 10:40:57 build.go:220: qsafefile.cpp: In member function 'void SafeRenderer::QSafeFile::rewindToStart()':
agent:2020/01/23 10:40:57 build.go:220: qsafefile.cpp:155:71: error: 'SEEK_SET' was not declared in this scope
agent:2020/01/23 10:40:57 build.go:220: const off_t startPosition = ::lseek(m_fileDescriptor, zeroOffset, SEEK_SET);
agent:2020/01/23 10:40:57 build.go:220: ^~~~~~~~
agent:2020/01/23 10:40:57 build.go:220: Mingw32-make[2]: *** [Makefile:612: .obj/qsafefile.o] Error 1
agent:2020/01/23 10:40:57 build.go:220: Mingw32-make[2]: Leaving directory 'C:/Users/qt/work/tqtc-boot2qt/qtsaferenderer/src/saferenderer'
agent:2020/01/23 10:40:57 build.go:220: Mingw32-make[1]: *** [Makefile:104: sub-saferenderer-make_first] Error 2
Attachments
Issue Links
- resulted in
-
COIN-488 Update to postgreSQL fails MinGW build
- Closed