DevHeads.net

New: qt-libs/poppler: error C2535: 'QChar::QChar(ushort) noexcept': member function already defined or declared

<a href="https://bugs.kde.org/show_bug.cgi?id=391829" title="https://bugs.kde.org/show_bug.cgi?id=391829">https://bugs.kde.org/show_bug.cgi?id=391829</a>

Bug ID: 391829
Summary: qt-libs/poppler: error C2535: 'QChar::QChar(ushort)
noexcept': member function already defined or declared
Product: Craft
Version: master
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Blueprints
Assignee: <a href="mailto: ... at kde dot org"> ... at kde dot org</a>
Reporter: <a href="mailto:fischer@unix-ag.uni-kl.de">fischer@unix-ag.uni-kl.de</a>
CC: <a href="mailto:kde- ... at kde dot org">kde- ... at kde dot org</a>
Target Milestone: ---

Craft'ing qt-libs/poppler fails with the following output:

[98/274] Building CXX object CMakeFiles\poppler.dir\splash\Splash.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler/GfxState.h(115): warning
C4244: 'return': conversion from 'double' to 'Guchar', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(1475): warning
C4244: 'argument': conversion from 'SplashCoord' to 'int', possible loss of
data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(1557): warning
C4244: 'argument': conversion from 'double' to 'int', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(1557): warning
C4244: '=': conversion from 'double' to 'Guchar', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(2576): warning
C4244: 'argument': conversion from 'SplashCoord' to 'int', possible loss of
data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(4905): warning
C4244: '=': conversion from 'double' to 'Guchar', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(4973): warning
C4244: '=': conversion from 'double' to 'Guint', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\Splash.cc(5017): warning
C4244: '=': conversion from 'double' to 'Guchar', possible loss of data
[99/274] Building CXX object
CMakeFiles\poppler.dir\splash\SplashFontFile.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\splash\SplashFontFile.cc(84):
warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead,
use the ISO C and C++ conformant name: _unlink. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\stdio.h(380):
note: see declaration of 'unlink'
[100/274] Building CXX object CMakeFiles\poppler.dir\splash\SplashScreen.cc.obj
[101/274] Building CXX object CMakeFiles\poppler.dir\splash\SplashXPath.cc.obj
[102/274] Building CXX object CMakeFiles\poppler.dir\splash\SplashT1Font.cc.obj
[103/274] Building CXX object
CMakeFiles\poppler.dir\splash\SplashT1FontEngine.cc.obj
[104/274] Building CXX object
CMakeFiles\poppler.dir\splash\SplashT1FontFile.cc.obj
[105/274] Building CXX object CMakeFiles\poppler.dir\splash\SplashState.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler/GfxState.h(115): warning
C4244: 'return': conversion from 'double' to 'Guchar', possible loss of data
[106/274] Building CXX object
CMakeFiles\poppler.dir\splash\SplashXPathScanner.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler/GfxState.h(115): warning
C4244: 'return': conversion from 'double' to 'Guchar', possible loss of data
[107/274] Building CXX object
test\CMakeFiles\pdf-fullrewrite.dir\__\utils\parseargs.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\utils\parseargs.cc(69): warning
C4267: '=': conversion from 'size_t' to 'int', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\utils\parseargs.cc(80): warning
C4267: '=': conversion from 'size_t' to 'int', possible loss of data
[108/274] Building CXX object CMakeFiles\poppler.dir\poppler\DCTStream.cc.obj
[109/274] Building CXX object
CMakeFiles\poppler.dir\poppler\JPEG2000Stream.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\JPEG2000Stream.cc(338):
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\JPEG2000Stream.cc(348):
warning C4244: '+=': conversion from 'OPJ_OFF_T' to 'int', possible loss of
data
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\JPEG2000Stream.cc(359):
warning C4244: '=': conversion from 'OPJ_OFF_T' to 'int', possible loss of data
[110/274] Building CXX object
test\CMakeFiles\pdf-fullrewrite.dir\pdf-fullrewrite.cc.obj
[111/274] Building CXX object
CMakeFiles\poppler.dir\poppler\CurlCachedFile.cc.obj
r:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\CachedFile.h(50): warning
C4267: 'return': conversion from 'size_t' to 'Guint', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\CurlCachedFile.cc(57):
warning C4244: '=': conversion from 'double' to '::size_t', possible loss of
data
[112/274] Building CXX object
CMakeFiles\poppler.dir\poppler\FlateEncoder.cc.obj
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\FlateEncoder.cc(89):
warning C4244: '=': conversion from '__int64' to 'int', possible loss of data
R:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\FlateEncoder.cc(124):
warning C4244: '=': conversion from '__int64' to 'unsigned int', possible loss
of data
[113/274] Building CXX object
CMakeFiles\poppler.dir\poppler\CurlPDFDocBuilder.cc.obj
r:\build\qt-libs\poppler\work\poppler-0.57.0\poppler\CachedFile.h(50): warning
C4267: 'return': conversion from 'size_t' to 'Guint', possible loss of data
[114/274] Linking CXX static library poppler.lib
[115/274] Automatic MOC for target poppler-qt5
AutoMoc warning:
"R:/build/qt-libs/poppler/work/poppler-0.57.0/qt5/src/poppler-optcontent.cc"
The file includes the moc file "poppler-optcontent.moc", but does not contain a
Q_OBJECT, Q_GADGET or Q_NAMESPACE macro.

[116/274] Building CXX object
cpp\CMakeFiles\poppler-cpp.dir\poppler-font.cpp.obj
[117/274] Linking CXX executable test\pdf-fullrewrite.exe
[118/274] Building CXX object
qt5\src\CMakeFiles\poppler-qt5.dir\poppler-link-extractor.cc.obj
FAILED: qt5/src/CMakeFiles/poppler-qt5.dir/poppler-link-extractor.cc.obj
C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe
/nologo /TP -DHAVE_CONFIG_H=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_XML_LIB -DUSE_OPENJPEG2 -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS
-Dpoppler_qt5_EXPORTS -Iqt5\src\poppler-qt5_autogen\include
-IR:\build\qt-libs\poppler\work\poppler-0.57.0
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\fofi
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\goo
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\poppler -I. -Ipoppler
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\qt5\src -Iqt5\src -IR:\include
-IR:\include\freetype2 -IR:\include\openjpeg-2.1 -IR:\include\qt5
-IR:\include\qt5\QtCore -IR:\.\mkspecs\win32-msvc -IR:\include\qt5\QtGui
-IR:\include\qt5\QtANGLE -IR:\include\qt5\QtXml /Zc:wchar_t- /DWIN32
/D_WINDOWS /W3 /GR /EHsc /MD /Zi /O2 /Ob1 /DNDEBUG -DQT_NO_DEBUG /showIncludes
/Foqt5\src\CMakeFiles\poppler-qt5.dir\poppler-link-extractor.cc.obj
/Fdqt5\src\CMakeFiles\poppler-qt5.dir\ /FS -c
R:\build\qt-libs\poppler\work\poppler-0.57.0\qt5\src\poppler-link-extractor.cc
R:\include\qt5\QtCore/qchar.h(94): error C2535: 'QChar::QChar(ushort)
noexcept': member function already defined or declared
R:\include\qt5\QtCore/qchar.h(82): note: see declaration of 'QChar::QChar'
[119/274] Building CXX object
qt5\src\CMakeFiles\poppler-qt5.dir\poppler-document.cc.obj
FAILED: qt5/src/CMakeFiles/poppler-qt5.dir/poppler-document.cc.obj
C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe
/nologo /TP -DHAVE_CONFIG_H=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_XML_LIB -DUSE_OPENJPEG2 -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS
-Dpoppler_qt5_EXPORTS -Iqt5\src\poppler-qt5_autogen\include
-IR:\build\qt-libs\poppler\work\poppler-0.57.0
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\fofi
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\goo
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\poppler -I. -Ipoppler
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\qt5\src -Iqt5\src -IR:\include
-IR:\include\freetype2 -IR:\include\openjpeg-2.1 -IR:\include\qt5
-IR:\include\qt5\QtCore -IR:\.\mkspecs\win32-msvc -IR:\include\qt5\QtGui
-IR:\include\qt5\QtANGLE -IR:\include\qt5\QtXml /Zc:wchar_t- /DWIN32
/D_WINDOWS /W3 /GR /EHsc /MD /Zi /O2 /Ob1 /DNDEBUG -DQT_NO_DEBUG /showIncludes
/Foqt5\src\CMakeFiles\poppler-qt5.dir\poppler-document.cc.obj
/Fdqt5\src\CMakeFiles\poppler-qt5.dir\ /FS -c
R:\build\qt-libs\poppler\work\poppler-0.57.0\qt5\src\poppler-document.cc
R:\include\qt5\QtCore/qchar.h(94): error C2535: 'QChar::QChar(ushort)
noexcept': member function already defined or declared
R:\include\qt5\QtCore/qchar.h(82): note: see declaration of 'QChar::QChar'
[120/274] Building CXX object
qt5\src\CMakeFiles\poppler-qt5.dir\poppler-embeddedfile.cc.obj
FAILED: qt5/src/CMakeFiles/poppler-qt5.dir/poppler-embeddedfile.cc.obj
C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1412~1.258\bin\Hostx64\x64\cl.exe
/nologo /TP -DHAVE_CONFIG_H=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_XML_LIB -DUSE_OPENJPEG2 -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS
-Dpoppler_qt5_EXPORTS -Iqt5\src\poppler-qt5_autogen\include
-IR:\build\qt-libs\poppler\work\poppler-0.57.0
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\fofi
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\goo
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\poppler -I. -Ipoppler
-IR:\build\qt-libs\poppler\work\poppler-0.57.0\qt5\src -Iqt5\src -IR:\include
-IR:\include\freetype2 -IR:\include\openjpeg-2.1 -IR:\include\qt5
-IR:\include\qt5\QtCore -IR:\.\mkspecs\win32-msvc -IR:\include\qt5\QtGui
-IR:\include\qt5\QtANGLE -IR:\include\qt5\QtXml /Zc:wchar_t- /DWIN32
/D_WINDOWS /W3 /GR /EHsc /MD /Zi /O2 /Ob1 /DNDEBUG -DQT_NO_DEBUG /showIncludes
/Foqt5\src\CMakeFiles\poppler-qt5.dir\poppler-embeddedfile.cc.obj
/Fdqt5\src\CMakeFiles\poppler-qt5.dir\ /FS -c
R:\build\qt-libs\poppler\work\poppler-0.57.0\qt5\src\poppler-embeddedfile.cc
R:\include\qt5\QtCore/qchar.h(94): error C2535: 'QChar::QChar(ushort)
noexcept': member function already defined or declared
R:\include\qt5\QtCore/qchar.h(82): note: see declaration of 'QChar::QChar'
ninja: build stopped: subcommand failed.
Action: compile for qt-libs/poppler FAILED
*** Craft all failed: qt-libs/poppler after 7 minutes 30 seconds ***
fatal error: package qt-libs/poppler all failed

System: Windows 10, MSVC2017, 64-bit

Craft Root : E:\CraftRoot
Craft : R:\
Svn directory : R:\download\svn
Git directory : Q:\
Version : master
ABI : windows-msvc2017_64-cl
Download directory : R:\download

Both blueprints and craft are tracking master and are up to date.

Comments

[Bug 391829] qt-libs/poppler: error C2535: 'QChar::QChar

By Asuka Langley v... at 04/06/2018 - 10:07

<a href="https://bugs.kde.org/show_bug.cgi?id=391829" title="https://bugs.kde.org/show_bug.cgi?id=391829">https://bugs.kde.org/show_bug.cgi?id=391829</a>

Simon Andric < ... at gmail dot com> changed:

What |Removed |Added

[Bug 391829] qt-libs/poppler: error C2535: 'QChar::QChar

By Asuka Langley v... at 03/14/2018 - 04:33

<a href="https://bugs.kde.org/show_bug.cgi?id=391829" title="https://bugs.kde.org/show_bug.cgi?id=391829">https://bugs.kde.org/show_bug.cgi?id=391829</a>

Hannah von Reth < ... at kde dot org> changed:

What |Removed |Added