[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43569] [PATCH] fix compile warnings with gcc 4.6.3
From: |
G. Branden Robinson |
Subject: |
[bug #43569] [PATCH] fix compile warnings with gcc 4.6.3 |
Date: |
Sat, 16 Apr 2022 04:57:13 -0400 (EDT) |
Update of bug #43569 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #11:
I've fixed the last of these.
commit 363fc31eebf42a61f6eeddb423492321d0f70544
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Fri Apr 15 15:26:50 2022 +1000
[refer]: Quieten compiler warning.
* src/preproc/refer/label.ypp: Drop redundant declaration of `yyparse`.
Both byacc 20140715 and GNU Bison 3.3.2 supply the the function
prototype themselves. Addresses "-Wredundant-decls" warning from GCC.
Fixes <https://savannah.gnu.org/bugs/?43569>.
Also update editor aid comments; drop old-style Emacs file-local
variable setting.
commit d247763cfe9e71fd453ac828d35ab8b207c962fd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Fri Apr 15 09:09:26 2022 +1000
[grn]: Slightly refactor.
* src/preproc/grn/hdb.cpp (DBGetType): Lower fatal diagnostics to errors
when encounting invalid element type characters. Return a value
interpreted by our caller as an error indication instead. Helps
compilers determine that we're not implicitly falling through our
cases. Addresses "-Wimplicit-fallthrough" warnings from GCC.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?43569>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #43569] [PATCH] fix compile warnings with gcc 4.6.3,
G. Branden Robinson <=