mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #35] [MERGED] Compile with -W -Wall -Werror #3519
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/35
Author: @ghost
Created: 8/20/2015
Status: ✅ Merged
Merged: 8/20/2015
Merged by: @netblue30
Base:
master← Head:warnings-cleanup📝 Commits (1)
48af011Compile with -W -Wall -Werror📊 Changes
17 files changed (+49 additions, -33 deletions)
View changed files
📝
src/firejail/Makefile.in(+1 -1)📝
src/firejail/fs.c(+1 -1)📝
src/firejail/main.c(+2 -2)📝
src/firejail/netfilter.c(+1 -1)📝
src/firejail/profile.c(+1 -1)📝
src/firejail/sandbox.c(+3 -0)📝
src/firejail/seccomp.c(+1 -1)📝
src/firejail/util.c(+3 -2)📝
src/firemon/Makefile.in(+1 -1)📝
src/firemon/firemon.c(+3 -0)📝
src/firemon/netstats.c(+1 -1)📝
src/firemon/top.c(+7 -4)📝
src/ftee/Makefile.in(+1 -1)📝
src/lib/Makefile.in(+1 -1)📝
src/lib/libnetlink.c(+8 -8)📝
src/lib/pid.c(+13 -7)📝
src/libtrace/Makefile.in(+1 -1)📄 Description
Firejail now compiles with the
-W -Wall -Werroroption inCFLAGS. This option enables all warnings and turns them into errors, i.e. the compile stops if there are any warnings. I've removed all existing warnings so the code is now clean, and this means that in future the code will remain clean (as it's now impossible to introduce new warnings without breaking the build).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.