From: Roy Marples Date: Wed, 6 Feb 2019 20:07:53 +0000 (+0000) Subject: Not using c++11, go back to attribute X-Git-Tag: v7.1.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c97e696b8c34c148752b7931ec2b8e0a1ba1d7e;p=thirdparty%2Fdhcpcd.git Not using c++11, go back to attribute --- diff --git a/src/common.h b/src/common.h index f12f02a7..713dd1d3 100644 --- a/src/common.h +++ b/src/common.h @@ -132,7 +132,7 @@ #ifndef __fallthrough # if __GNUC__ >= 7 -# define __fallthrough [[fallthrough]] +# define __fallthrough __attribute__((fallthrough)) # else # define __fallthrough # endif