[rumpkernel/rumprun] 340564: Add the -Wimplicit-fallthrough=0 flag to allow com...

  • From: GitHub <noreply@xxxxxxxxxx>
  • To: rumpkernel-builds@xxxxxxxxxxxxx
  • Date: Fri, 05 Jan 2018 06:04:20 -0800

  Branch: refs/heads/master
  Home:   https://github.com/rumpkernel/rumprun
  Commit: 34056451174e8722b972229fefc1bf9e0b89a7da
      
https://github.com/rumpkernel/rumprun/commit/34056451174e8722b972229fefc1bf9e0b89a7da
  Author: Naja Melan <najamelan@xxxxxxxxxxxxx>
  Date:   2018-01-03 (Wed, 03 Jan 2018)

  Changed paths:
    M build-rr.sh

  Log Message:
  -----------
  Add the -Wimplicit-fallthrough=0 flag to allow compiling with GCC7

GCC7 comes with a new warning "implicit-fallthrough" which will prevent 
building the netbsd-src.

For more information: https://dzone.com/articles/implicit-fallthrough-in-gcc-7


  Commit: 685f4ab3b74b6f1e1b40bdd3d2c42efa44bf385d
      
https://github.com/rumpkernel/rumprun/commit/685f4ab3b74b6f1e1b40bdd3d2c42efa44bf385d
  Author: Naja Melan <najamelan@xxxxxxxxxxxxx>
  Date:   2018-01-04 (Thu, 04 Jan 2018)

  Changed paths:
    M build-rr.sh

  Log Message:
  -----------
  Make the disabling of the fallthrough warning dependent on GCC version

This should prevent older gcc versions from choking on unknown argument.

I have not tested this, just wrote the code directly on github. Use with 
caution.


  Commit: 8fe40c84edddfbf472b4a7cce960df749701174c
      
https://github.com/rumpkernel/rumprun/commit/8fe40c84edddfbf472b4a7cce960df749701174c
  Author: Sebastian Wicki <gandro@xxxxxxx>
  Date:   2018-01-05 (Fri, 05 Jan 2018)

  Changed paths:
    M build-rr.sh

  Log Message:
  -----------
  Merge pull request #112 from najamelan/bugfix/gcc7-fallthrough

Add the -Wimplicit-fallthrough=0 flag to allow compiling with GCC7


Compare: 
https://github.com/rumpkernel/rumprun/compare/c7f2f016becc...8fe40c84eddd

Other related posts:

  • » [rumpkernel/rumprun] 340564: Add the -Wimplicit-fallthrough=0 flag to allow com... - GitHub