aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2022-03-15 21:04:57 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2022-03-15 21:04:57 +0100
commit6aa03e9c1769c8d925f4d23d72af93483bfd31f3 (patch)
tree7d4439d5aa34224247ca1d0a743894469bfcdb62 /gprofng/src
parentcda8dc94dfff823bf0284e5140c6065f143a9f51 (diff)
downloadgdb-6aa03e9c1769c8d925f4d23d72af93483bfd31f3.zip
gdb-6aa03e9c1769c8d925f4d23d72af93483bfd31f3.tar.gz
gdb-6aa03e9c1769c8d925f4d23d72af93483bfd31f3.tar.bz2
gprofng: avoid using `fallthrough' attributes
gprofng didn't build with gcc 6.3 due to the usage of __attribute__ ((fallthrough)). This patch uses /* FALLTHROUGH */ instead. 2022-03-15 Jose E. Marchesi <jose.marchesi@oracle.com> * gprofng/src/gp-collect-app.cc (collect::check_args): Use fallthrough comment instead of attribute.
Diffstat (limited to 'gprofng/src')
-rw-r--r--gprofng/src/gp-collect-app.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprofng/src/gp-collect-app.cc b/gprofng/src/gp-collect-app.cc
index afaae70..a40cf8f 100644
--- a/gprofng/src/gp-collect-app.cc
+++ b/gprofng/src/gp-collect-app.cc
@@ -848,7 +848,7 @@ collect::check_args (int argc, char *argv[])
}
case 'O':
overwriteExp = true;
- __attribute__ ((fallthrough));
+ /* FALLTHROUGH */
case 'o':
if (precheck == 1)
{