wireguard-linux-compat icon indicating copy to clipboard operation
wireguard-linux-compat copied to clipboard

build: fallthrough issue fixed

Open mehdilauters opened this issue 4 years ago • 2 comments

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.

mehdilauters avatar Feb 09 '22 08:02 mehdilauters

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.

chrisjbillington avatar Sep 20 '22 12:09 chrisjbillington

https://github.com/openSUSE/kernel/commit/ba2e544075c282a5bb21df7752efad3b42d6077b

TogoFire avatar Jul 10 '24 23:07 TogoFire