[riot-commits] [RIOT-OS/RIOT] b283b7: make: fix various compile errors with Wextra

Gaëtan Harter hartergaetan at gmail.com
Tue Nov 28 20:44:04 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b283b7784c6391e614b9cc9b2a42de0bc9043030
      https://github.com/RIOT-OS/RIOT/commit/b283b7784c6391e614b9cc9b2a42de0bc9043030
  Author: smlng <s at mlng.net>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M boards/feather-m0/include/periph_conf.h
    M boards/mips-malta/Makefile.features
    M boards/mips-malta/include/periph_conf.h
    M boards/nucleo32-common/include/gpio_params.h
    M boards/wsn430-common/board_init.c
    M cpu/kinetis/periph/timer.c
    M cpu/saml21/periph/timer.c
    M cpu/stm32_common/periph/spi.c
    M cpu/stm32f4/periph/i2c.c
    M drivers/at30tse75x/at30tse75x.c
    M drivers/at86rf2xx/at86rf2xx_getset.c
    M drivers/at86rf2xx/at86rf2xx_netdev.c
    M drivers/cc110x/cc110x-netdev.c
    M drivers/cc110x/cc110x-rxtx.c
    M drivers/cc110x/cc110x.c
    M drivers/enc28j60/enc28j60.c
    M drivers/encx24j600/encx24j600.c
    M drivers/include/nrf24l01p.h
    M drivers/include/sdcard_spi.h
    M drivers/kw2xrf/kw2xrf_tm.c
    M drivers/nrf24l01p/nrf24l01p.c
    M drivers/pn532/pn532.c
    M drivers/sdcard_spi/sdcard_spi.c
    M drivers/sx127x/sx127x_netdev.c
    M drivers/tcs37727/tcs37727.c
    M pkg/emb6/Makefile.include
    M pkg/nordic_softdevice_ble/Makefile.include
    M pkg/openthread/contrib/netdev/openthread_netdev.c
    M pkg/openthread/contrib/platform_alarm.c
    M pkg/openthread/contrib/platform_diag.c
    M pkg/openthread/contrib/platform_functions_wrapper.c
    M pkg/openthread/contrib/platform_radio.c
    M pkg/openthread/contrib/platform_settings.c
    M sys/auto_init/saul/auto_init_gpio.c
    M sys/include/xtimer/tick_conversion.h
    M sys/net/gnrc/netif/gnrc_netif.c
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c
    M sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c
    M sys/net/gnrc/transport_layer/tcp/internal/option.h
    M sys/pm_layered/pm.c
    M sys/posix/pthread/pthread_cond.c
    M sys/random/tinymt32/tinymt32.h
    M sys/shell/commands/sc_gnrc_netif.c
    M sys/vfs/vfs.c
    M tests/emb6/Makefile
    M tests/pthread_cooperation/main.c
    M tests/trickle/main.c

  Log Message:
  -----------
  make: fix various compile errors with Wextra
   pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
  sys, pm_layered: fix casting nonscalar to the same type
  cpu, stm32_common: fix type-limits, remove always true assert
  cpu, stm32f4: fix pointer arithmetic in periph/i2c
  drivers, at86rf2xx: fix type-limits where condition always true
  saul, gpio: fix if no gpio configured for saul
  cpu, saml21: add frequency check to periph/timer
  driver, cc110x: fix unused param and type-limts errors
  boards, wsn430-common: fix old-style-declaration
  make: fix old style definition
  drivers, sdcard_spi: fix old style typedef
  driver, at30tse: remove unnecessary check
  driver, nrf24: fix type-limit
  driver, pn532: change buffer from char to uint8_t
  tests/driver_sdcard: fix type limits
  boards, feather-m0: add missing field inits
  driver, tcs37727: fix type limits
  pkg, emb6: disable some compiler warnings
  tests/emb6: disable some compiler warings
  pkg, openthread: fix sign compare and unused params
  tests/trickle: fix struct init
  tests/pthread_cooperation: fix type limits
  board, mips-malta: remove feature periph_uart
  shell: fix var size for netif command
  gnrc, netif: fix sign-compare
  gnrc, nib: fix sign-compare
  shell: fix output in netif command
  posix: fix type-limits in pthread_cond


  Commit: 57c5c9b6a6a4e1eb685b3f850f51a25d407284da
      https://github.com/RIOT-OS/RIOT/commit/57c5c9b6a6a4e1eb685b3f850f51a25d407284da
  Author: smlng <s at mlng.net>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M Makefile.include
    M drivers/nrf24l01p/nrf24l01p.c
    M tests/trickle/main.c

  Log Message:
  -----------
  make: enable Wall and Wextra by default, and optionally Wpedantic


  Commit: b54318c77c4f34d7a03fd04592383464d0e434dc
      https://github.com/RIOT-OS/RIOT/commit/b54318c77c4f34d7a03fd04592383464d0e434dc
  Author: Gaëtan Harter <hartergaetan at gmail.com>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M Makefile.include
    M boards/feather-m0/include/periph_conf.h
    M boards/mips-malta/Makefile.features
    M boards/mips-malta/include/periph_conf.h
    M boards/nucleo32-common/include/gpio_params.h
    M boards/wsn430-common/board_init.c
    M cpu/kinetis/periph/timer.c
    M cpu/saml21/periph/timer.c
    M cpu/stm32_common/periph/spi.c
    M cpu/stm32f4/periph/i2c.c
    M drivers/at30tse75x/at30tse75x.c
    M drivers/at86rf2xx/at86rf2xx_getset.c
    M drivers/at86rf2xx/at86rf2xx_netdev.c
    M drivers/cc110x/cc110x-netdev.c
    M drivers/cc110x/cc110x-rxtx.c
    M drivers/cc110x/cc110x.c
    M drivers/enc28j60/enc28j60.c
    M drivers/encx24j600/encx24j600.c
    M drivers/include/nrf24l01p.h
    M drivers/include/sdcard_spi.h
    M drivers/kw2xrf/kw2xrf_tm.c
    M drivers/nrf24l01p/nrf24l01p.c
    M drivers/pn532/pn532.c
    M drivers/sdcard_spi/sdcard_spi.c
    M drivers/sx127x/sx127x_netdev.c
    M drivers/tcs37727/tcs37727.c
    M pkg/emb6/Makefile.include
    M pkg/nordic_softdevice_ble/Makefile.include
    M pkg/openthread/contrib/netdev/openthread_netdev.c
    M pkg/openthread/contrib/platform_alarm.c
    M pkg/openthread/contrib/platform_diag.c
    M pkg/openthread/contrib/platform_functions_wrapper.c
    M pkg/openthread/contrib/platform_radio.c
    M pkg/openthread/contrib/platform_settings.c
    M sys/auto_init/saul/auto_init_gpio.c
    M sys/include/xtimer/tick_conversion.h
    M sys/net/gnrc/netif/gnrc_netif.c
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c
    M sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c
    M sys/net/gnrc/transport_layer/tcp/internal/option.h
    M sys/pm_layered/pm.c
    M sys/posix/pthread/pthread_cond.c
    M sys/random/tinymt32/tinymt32.h
    M sys/shell/commands/sc_gnrc_netif.c
    M sys/vfs/vfs.c
    M tests/emb6/Makefile
    M tests/pthread_cooperation/main.c
    M tests/trickle/main.c

  Log Message:
  -----------
  Merge pull request #7919 from smlng/make/wpedantic

Make: enable -Werror -Wall -Wextra by default


Compare: https://github.com/RIOT-OS/RIOT/compare/a52d2130fd58...b54318c77c4f


More information about the commits mailing list