[MacPorts] #58327: qcachegrind-0.7.4_0: fails to compile libcore/tracedata.cpp
MacPorts
noreply at macports.org
Thu Apr 11 13:05:02 UTC 2019
#58327: qcachegrind-0.7.4_0: fails to compile libcore/tracedata.cpp
------------------------+-------------------------
Reporter: max-arnold | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: qcachegrind
------------------------+-------------------------
{{{
:debug:sysinfo macOS 10.14 (darwin/18.5.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.2
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
}}}
{{{
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.14 -Wall -W -DQT_DBUS_SUPPORT -DQT_NO_DEBUG
-DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I.
-I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/libexec/qt4/Library/F
rameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/libexec/qt4/Library/Frameworks/QtDBus.framework/Versions/4/Headers
-I. -I../libcore -I../libviews -I/opt/local/libexec/q
t4/Library/Frameworks/QtDBus.framework/Versions/4/Headers
-I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/libexec/qt4/Library/Framewor
ks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include
-I. -F/opt/local/libexec/qt4/Library/Frameworks
-F/opt/local/libexec/qt4/lib -o logger.o ../libcore/logger
.cpp
:info:build ../libcore/tracedata.cpp:3262:30: error: ordered comparison
between pointer and zero ('const void *' and 'int')
:info:build if (_parts.contains(part)>0) return;
:info:build ~~~~~~~~~~~~~~~~~~~~~^~
:info:build In file included from ../libcore/tracedata.cpp:20:
:info:build ../libcore/tracedata.h:696:14: warning: private field '_file'
is not used [-Wunused-private-field]
:info:build QIODevice* _file;
:info:build ^
:info:build 1 warning and 1 error generated.
:info:build make[1]: *** [tracedata.o] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_qcachegrind/qcacheg
rind/work/kcachegrind-0.7.4/cgview'
:info:build make: *** [sub-cgview-all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58327>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list