Project

General

Profile

Bug #852918

-Wold-style-declaration compiler warnings

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
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

History

#1 Updated by Marko Lindqvist 7 months ago

#2 Updated by Marko Lindqvist 7 months ago

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

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

#4 Updated by Marko Lindqvist 7 months ago

  • Status changed from Resolved to In Progress

S2_6 xaw-clients has more of these warnings.

#6 Updated by Marko Lindqvist 7 months ago

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

Also available in: Atom PDF