wireguard-linux-compat
wireguard-linux-compat copied to clipboard
build: fallthrough issue fixed
A build issue was introduced on some platforms by the commit 49d6983. The fallthrough keyword was introduced although it is a C++17 only keyword.
This commit only revert some lines in the src/compat/siphash/siphash.c file.
I am seeing this issue compiling with gcc 9.4, which is the version of gcc on Ubuntu 20.04, and which defaults to C++ 14.
This patch fixed the problem for me.
https://github.com/openSUSE/kernel/commit/ba2e544075c282a5bb21df7752efad3b42d6077b