Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
45fc023c
Commit
45fc023c
authored
Jan 07, 2014
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #463 from DonLakeFlyer/WarningsBaseline
Warnings baseline
parents
034f1063
f9d6f809
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
6 deletions
+69
-6
QGCExternalLibs.pri
QGCExternalLibs.pri
+1
-1
qgroundcontrol.pro
qgroundcontrol.pro
+66
-0
QGCMapWidget.cc
src/ui/map/QGCMapWidget.cc
+2
-5
No files found.
QGCExternalLibs.pri
View file @
45fc023c
...
...
@@ -346,7 +346,7 @@ WindowsBuild | LinuxBuild {
src/ui/XbeeConfigurationWindow.cpp
WindowsBuild {
LIBS += -llibs/thirdParty/libxbee/lib/libxbee
LIBS += -l
$$BASEDIR/
libs/thirdParty/libxbee/lib/libxbee
}
LinuxBuild {
...
...
qgroundcontrol.pro
View file @
45fc023c
...
...
@@ -116,6 +116,72 @@ WindowsBuild {
RC_FILE
=
$$
BASEDIR
/
qgroundcontrol
.
rc
}
#
#
Warnings
cleanup
.
Plan
of
attack
is
to
turn
off
all
existing
warnings
and
turn
on
warnings
as
errors
.
#
Then
we
will
clean
up
the
warnings
one
type
at
a
time
,
removing
the
override
for
that
specific
warning
#
from
the
lists
below
.
Eventually
we
will
be
left
with
no
overlooked
warnings
and
all
future
warnings
#
generating
an
error
and
breaking
the
build
.
#
#
NEW
WARNINGS
SHOULD
NOT
BE
ADDED
TO
THIS
LIST
.
IF
YOU
GET
AN
ERROR
,
FIX
IT
BEFORE
COMMITING
.
#
MacBuild
|
LinuxBuild
{
QMAKE_CXXFLAGS_WARN_ON
+=
\
-
Wall
\
-
Werror
\
-
Wno
-
unused
-
parameter
\
-
Wno
-
reorder
\
-
Wno
-
unused
-
variable
\
-
Wno
-
enum
-
compare
\
-
Wno
-
narrowing
\
-
Wno
-
type
-
limits
\
-
Wno
-
sign
-
compare
\
-
Wno
-
uninitialized
\
-
Wno
-
switch
\
-
Wno
-
unused
-
function
}
LinuxBuild
{
QMAKE_CXXFLAGS_WARN_ON
+=
\
-
Wno
-
unused
-
but
-
set
-
variable
\
-
Wno
-
cpp
}
MacBuild
{
QMAKE_CXXFLAGS_WARN_ON
+=
\
-
Wno
-
tautological
-
compare
\
-
Wno
-
null
-
conversion
\
-
Wno
-
overloaded
-
virtual
\
-
Wno
-
unused
-
private
-
field
}
WindowsBuild
{
QMAKE_CXXFLAGS_WARN_ON
+=
\
/
W4
\
/
WX
\
/
wd4005
\
#
macro
redefinition
/
wd4018
\
#
signed
/
unsigned
mismatch
/
wd4063
\
#
case
not
valid
for
switch
enum
/
wd4100
\
#
unrefernced
formal
parameter
/
wd4101
\
#
unreference
local
variable
/
wd4127
\
#
conditional
expression
constant
/
wd4146
\
#
unary
minus
operator
applied
to
unsigned
type
/
wd4189
\
#
local
variable
initialized
but
not
used
/
wd4201
\
#
non
standard
extension
:
nameless
struct
/
union
/
wd4245
\
#
signed
/
unsigned
mismtach
/
wd4290
\
#
function
declared
using
exception
specification
,
but
not
supported
/
wd4305
\
#
truncation
from
double
to
float
/
wd4309
\
#
truncation
of
constant
value
/
wd4389
\
#
==
signed
/
unsigned
mismatch
/
wd4505
\
#
unreferenced
local
function
/
wd4512
\
#
assignment
operation
could
not
be
generated
/
wd4700
\
#
uninitialized
local
variable
used
/
wd4701
\
#
potentially
uninitialized
local
variable
/
wd4702
\
#
unreachable
code
/
wd4996
#
deprecated
function
}
#
#
Build
flavor
specific
settings
#
...
...
src/ui/map/QGCMapWidget.cc
View file @
45fc023c
...
...
@@ -267,15 +267,12 @@ void QGCMapWidget::loadSettings(bool changePosition)
if
(
trailType
==
mapcontrol
::
UAVTrailType
::
ByDistance
)
{
// XXX
#ifdef Q_OS_WIN
#pragma message ("WARNING: Settings loading for trail type not implemented")
#else
#warning Settings loading for trail type not implemented
#endif
qDebug
()
<<
"WARNING: Settings loading for trail type (ByDistance) not implemented"
;
}
else
if
(
trailType
==
mapcontrol
::
UAVTrailType
::
ByTimeElapsed
)
{
// XXX
qDebug
()
<<
"WARNING: Settings loading for trail type (ByTimeElapsed) not implemented"
;
}
// SET TRAIL TYPE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment