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
0409a723
Commit
0409a723
authored
Jan 07, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Baseline warnings setup
parent
faddbc09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
0 deletions
+66
-0
qgroundcontrol.pro
qgroundcontrol.pro
+66
-0
No files found.
qgroundcontrol.pro
View file @
0409a723
...
...
@@ -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
#
...
...
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