[Olsr-dev] [PATCH v1 00/14] GCC 6 & build fixes

Ferry Huberts (spam-protected)
Wed Feb 24 00:46:09 CET 2016


From: Ferry Huberts <(spam-protected)>

For 'fun' I installed a Fedora Rawhide VM and tried compiling
olsrd with GCC 6.

This is the fallout.

In here are:
- generic build fixes (patches 1-4)
  These actually surprised me. This has been broken since a _long_ time
- GCC 6 warning fixes.
  Most a mechanical, but some were a bit more involved.


Extra careful review is requested for patches 2, 6 and 7

Please review


Ferry Huberts (14):
  make: add more recognised formats to the gcc-warnings script
  make: need to load the OS specific makefile before evaluating WARNINGS
  make: remove conditionals in WARNINGS section, no longer needed
  make: sort warnings flags and make that section a bit easier to read
  unix: fix GCC 6 warnings
  link_set: fix GCC 6 warnings
  sgw: fix GCC 6 warnings
  parser: fix GCC 6 warnings
  bmf: fix GCC 6 warnings
  mdns: fix GCC 6 warnings
  p2pd: fix GCC 6 warnings
  pud: fix GCC 6 warnings
  quagga: fix GCC 6 warnings
  make: add new GCC 6 warning flags

 Makefile.inc                     | 159 ++++++++++++++++++++-------------------
 gcc-warnings                     |  10 ++-
 lib/bmf/src/NetworkInterfaces.c  |  39 +++++++---
 lib/mdns/src/NetworkInterfaces.c |  21 ++++--
 lib/p2pd/src/NetworkInterfaces.c |  11 ++-
 lib/pud/src/netTools.c           |   5 +-
 lib/quagga/src/plugin.c          |   3 +-
 src/gateway.c                    |   7 +-
 src/link_set.c                   |  37 ++++-----
 src/parser.c                     |  27 +++++--
 src/unix/ifnet.c                 |  72 +++++++++++-------
 11 files changed, 240 insertions(+), 151 deletions(-)

-- 
2.5.0




More information about the Olsr-dev mailing list