Skip to content

Warnings#555

Merged
fklassen merged 3 commits intoappneta:4.3.3from
GabrielGanne:warnings
Jun 3, 2020
Merged

Warnings#555
fklassen merged 3 commits intoappneta:4.3.3from
GabrielGanne:warnings

Conversation

@GabrielGanne
Copy link
Copy Markdown
Contributor

Hi,

This is to silence some warnings that appeared when I migrated from debian 9 -> 10 which comes with gcc 8.3 (over 6.3).
It addresses implicit fallthrough and unused function parameter warnings.

This does not cover them all: there are for example still warnings in makeshell.c's text_to_var() function, because gcc does not understand the NOTREACHED comments (which I find quite explicit). I did not find it a good idea to change those.

Best regards,

Those are mostly parameters being only used with netmap
rename somme comments from "no break" to "fallthrough" in order
to silence gcc where needed
@fklassen
Copy link
Copy Markdown
Member

fklassen commented May 2, 2019

@GabrielGanne thanks for the PR. I will merge as part of next point release.

BTW, if you are interested in becoming a maintainer and contributing directly to the repo, please contact me at tcpreplay at appneta dot com

@fklassen fklassen self-assigned this Jun 3, 2020
@fklassen fklassen changed the base branch from master to Bug_#555_gcc_10_warnings June 3, 2020 19:31
@fklassen fklassen changed the base branch from Bug_#555_gcc_10_warnings to 4.3.3 June 3, 2020 19:35
@fklassen fklassen merged commit bf7d48f into appneta:4.3.3 Jun 3, 2020
@GabrielGanne GabrielGanne deleted the warnings branch October 14, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants