HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187
Actions
Bug #856478
closed-Wold-style-definition compiler warnings
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Noticed this in passing:
bool techs_have_fixed_costs()
I can't think of a reason not to clean all of these up.
Files
Related issues
Updated by Jacob Nevins about 3 years ago
- Blocks Feature #856477: Enable -Wold-style-definition (in --enable-debug builds) added
Updated by Jacob Nevins about 3 years ago
- File m-fix-old-style-definition.patch m-fix-old-style-definition.patch added
- File 30-fix-old-style-definition.patch 30-fix-old-style-definition.patch added
- File 26-fix-old-style-definition.patch 26-fix-old-style-definition.patch added
- Status changed from In Progress to Resolved
Almost all of these are foo()
instead of foo(void)
.
- We haven't been shy about correcting these before (703b2169a4)
- The relevant function looks like it might originally have been ours (0928ce1167)
- The code it was probably forked from (ancestor of this) has long since gone to new-style definitions
- This code dies with S2_6
(Old X version history is surprisingly hard to find!)
Updated by Marko Lindqvist about 3 years ago
Jacob Nevins wrote:
Almost all of these are
foo()
instead offoo(void)
.
Were function declarations for all of these already ok? I don't see you changing any of those.
Updated by Jacob Nevins about 3 years ago
The ones I checked were OK (I didn't check them all). I assume -Wold-style-declaration
got them.
Updated by Jacob Nevins about 3 years ago
- Status changed from Resolved to Closed
Actions