On Tue, Apr 11, 2017 at 10:27:42AM -0500, Bill Fenner wrote:
> Now I get a fair number of
> 
> cc1: warning: unrecognized command line option "-Wno-implicit-fallthrough"
> 
> Would it be better to try __attribute__((fallthrough))?  Or, only add the
> -W flag if the compiler supports it?

Maybe add /*FALLTHROUGH*/ lint comments?
The warning code looks for them unless you ask it not to.

/MF

>   Bill
> 
> 
> On Mon, Apr 10, 2017 at 12:44 AM, bart <bvass...@users.sourceforge.net>
> wrote:
> 
> > This is an automated email from the git hooks/post-receive script. It was
> > generated because a ref change was pushed to the repository containing
> > the project "Net-SNMP".
> >
> > The branch, master has been updated
> > fdea26d1057bd67f0d6cdca65cd5761006fc777a ->
> >   cce6d2c503a86d462e4b88f4cc2419c5da2f3327
> >
> > commit fdea26d1057bd67f0d6cdca65cd5761006fc777a
> > Author: Bart Van Assche <bvanass...@acm.org>
> > Date:   Sun Apr 9 21:05:18 2017 -0700
> >
> >     gcc 7: Add -Wno-implicit-fallthrough
> >
> >     Apparently gcc 7 does not recognize the fallthrough annotations in
> >     the Net-SNMP source code. Hence disable compiler warnings about
> >     implicit fallthrough.
> >
> > commit 0657b90b7181fd95970d14949b3486e0290b87db
> > Author: Bart Van Assche <bvanass...@acm.org>
> > Date:   Sun Mar 26 21:01:15 2017 -0700
> >
> >     Cygwin, scapi.h: Fix build
> >
> >     Recent versions of the Cygwin openssl header files and <windows.h>
> >     are incompatible because both define X509_NAME unless OPENSSL_SYS_WIN32
> >     is defined. Hence avoid including openssl header files in source files
> >     that include <windows.h>.
> >
> > commit d321a154ad572f63a3cad505509baeccf36001ef
> > Merge: cce6d2c 9641b47
> > Author: Bart Van Assche <bvanass...@acm.org>
> > Date:   Sun Apr 9 22:41:59 2017 -0700
> >
> >     Merge branch 'V5-7-patches'
> >
> >     * V5-7-patches:
> >       openssl 1.1.0: Fix several build errors
> >       MinGW: Fix build
> >       Win32, MSVC: Provide a definition of NETSNMP_ATTRIBUTE_DEPRECATED
> >
> >
> > Summary of changes:
> >  agent/mibgroup/mibII/var_route.h      |  5 ++---
> >  apps/snmpusm.c                        | 11 +++++++++--
> >  configure                             | 18 +++++++++++++++++-
> >  configure.d/config_os_libs2           |  7 +++++++
> >  configure.d/config_os_progs           |  3 ++-
> >  include/net-snmp/library/scapi.h      |  3 +++
> >  include/net-snmp/net-snmp-config.h.in | 15 +++++++++++++++
> >  snmplib/snmp_openssl.c                | 36 +++++++++++++++++++++++++++++-
> > -----
> >  win32/net-snmp/net-snmp-config.h      | 19 ++++++++++++++++++
> >  win32/net-snmp/net-snmp-config.h.in   | 19 ++++++++++++++++++
> >  10 files changed, 123 insertions(+), 13 deletions(-)
> >
> >
> > hooks/post-receive
> > --
> > Net-SNMP
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Net-snmp-cvs mailing list
> > net-snmp-...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/net-snmp-cvs
> >

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to