Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
d5b019fd
Commit
d5b019fd
authored
6 years ago
by
Hauke Petersen
Browse files
Options
Downloads
Patches
Plain Diff
pkg/nimble: disable selected compiler warnings
parent
30dc2d91
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/nimble/Makefile
+6
-3
6 additions, 3 deletions
pkg/nimble/Makefile
with
6 additions
and
3 deletions
pkg/nimble/Makefile
+
6
−
3
View file @
d5b019fd
...
...
@@ -6,14 +6,17 @@ PKG_LICENSE = Apache-2.0
TDIR
=
$(
RIOTPKG
)
/
$(
PKG_NAME
)
PDIR
=
$(
PKG_BUILDDIR
)
#
As of now,
NimBLE
doe
s not build with
out warnings for -Wextra, so we disable
#
that flag for this package. Will hopefully be fix
ed
s
om
e time in the future
.
# NimBLE
i
s not
optimized for
build
ing
with
all (extra) warnings enabled. So for
#
now, we disable a number of select
ed
c
om
piler warnings when building NimBLE
.
CFLAGS
+=
-Wno-extra
ifeq
(llvm,$(TOOLCHAIN))
# the static function `ble_ll_adv_active_chanset_is_sec()` in
# `nimble/controller/src/ble_ll_adv.c` isn't used in our compilation path, so
# tell LLVM/clang not to be so pedantic with this.
ifeq
(llvm,$(TOOLCHAIN))
CFLAGS
+=
-Wno-unused-function
CFLAGS
+=
-Wno-sometimes-uninitialized
else
CFLAGS
+=
-Wno-unused-but-set-variable
endif
.PHONY
:
all
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment