Skip to content

Instantly share code, notes, and snippets.

@AndKe
Created May 7, 2015 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndKe/c30b44f0d4e32fc26efc to your computer and use it in GitHub Desktop.
Save AndKe/c30b44f0d4e32fc26efc to your computer and use it in GitHub Desktop.
apm_planner fail build.
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:205:5: note: QVariant::QVariant(qlonglong)
QVariant(qlonglong ll);
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:204:5: note: QVariant::QVariant(uint)
QVariant(uint ui);
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:203:5: note: QVariant::QVariant(int)
QVariant(int i);
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:194:5: note: QVariant::QVariant(QVariant::Type) <near match>
QVariant(Type type);
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:194:5: note: no known conversion for argument 1 from ‘uint64_t {aka long unsigned int}’ to ‘QVariant::Type’
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:254:15: note: initializing argument 1 of ‘QVariant& QVariant::operator=(const QVariant&)’
QVariant& operator=(const QVariant &other);
^
src/comm/MAVLinkDecoder.cc: In member function ‘mavlink_field_info_t MAVLinkDecoder::getFieldInfo(QString, QString)’:
src/comm/MAVLinkDecoder.cc:98:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:59587: recipe for target 'build-release/obj/MAVLinkDecoder.o' failed
make: *** [build-release/obj/MAVLinkDecoder.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/comm/MAVLinkProtocol.cc:36:0:
src/comm/MAVLinkProtocol.h: In constructor ‘MAVLinkProtocol::MAVLinkProtocol()’:
src/comm/MAVLinkProtocol.h:72:18: warning: ‘MAVLinkProtocol::m_connectionManager’ will be initialized after [-Wreorder]
LinkManager *m_connectionManager;
^
src/comm/MAVLinkProtocol.h:65:10: warning: ‘bool MAVLinkProtocol::m_isOnline’ [-Wreorder]
bool m_isOnline;
^
src/comm/MAVLinkProtocol.cc:39:1: warning: when initialized here [-Wreorder]
MAVLinkProtocol::MAVLinkProtocol():
^
src/comm/MAVLinkProtocol.cc: In member function ‘void MAVLinkProtocol::handleMessage(quint64, LinkInterface*)’:
src/comm/MAVLinkProtocol.cc:310:74: warning: comparison is always false due to limited range of data type [-Wtype-limits]
if (lastIndex.value(message.sysid).value(message.compid) == -1)
^
src/ui/MissionElevationDisplay.cpp: In member function ‘void MissionElevationDisplay::addWaypointLabels()’:
src/ui/MissionElevationDisplay.cpp:278:16: warning: variable ‘adjustedAlt’ set but not used [-Wunused-but-set-variable]
double adjustedAlt = 0.0;
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment