Project

Profile

Help

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...

Bug #852918

-Wold-style-declaration compiler warnings

Added by Marko Lindqvist almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Experimenting with stricter compiler warnings I got:

../../../src/utility/support.h:179:1: error: ‘inline’ is not at beginning of declaration [-Werror=old-style-declaration]
179 | static bool inline is_bigendian(void)


Related issues

Related to Freeciv - Feature #852936: Enable -Wold-style-declarationClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist almost 2 years ago

#2 Updated by Marko Lindqvist almost 2 years ago

  • Subject changed from is_bigendian() declaration misplaces inline keyword to -Wold-style-declaration compiler warnings
  • Status changed from New to In Progress
  • Sprint/Milestone set to 2.6.2

There's some more old-style-declaration warnings. Handling them all in this ticket.

#4 Updated by Marko Lindqvist almost 2 years ago

  • Status changed from Resolved to In Progress

S2_6 xaw-clients has more of these warnings.

#6 Updated by Marko Lindqvist almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF