[riot-commits] [RIOT-OS/RIOT] f604d3: sys/event: fix of compilation problems

Martine Lenders noreply at github.com
Mon Jul 29 17:02:16 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: f604d3dec85f4b2a7061d068bed6854e2ac2db27
      https://github.com/RIOT-OS/RIOT/commit/f604d3dec85f4b2a7061d068bed6854e2ac2db27
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M sys/include/event.h

  Log Message:
  -----------
  sys/event: fix of compilation problems

Unstructured static initializer like { 0 } lead to compilation errors on ESP8266, MSP430 and MIPS. Error messages are:

error: (near initialization for 'queue.event_list') [-Werror=missing-braces]
error: (near initialization for 'queue.waiter') [-Werror=missing-field-initializers]

This change fixes the compilation problem.


  Commit: dcfd83c1ba8b76faa7aef3b4277d80902a195032
      https://github.com/RIOT-OS/RIOT/commit/dcfd83c1ba8b76faa7aef3b4277d80902a195032
  Author: Gunar Schorcht <gunar at schorcht.net>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M tests/events/main.c

  Log Message:
  -----------
  tests/event: use EVENT_QUEUE_INIT_DETACHED

Changes the test so that EVENT_QUEUE_INIT_DETACHED is used for the initialization of detached event queue. Without this change, a compilation problem was not recognized for ESP8266, MSP430 and MIPS.


  Commit: 6e9612f1d1e41ef56b79c1fcddc3d7e3aae2b9d7
      https://github.com/RIOT-OS/RIOT/commit/6e9612f1d1e41ef56b79c1fcddc3d7e3aae2b9d7
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M sys/include/event.h
    M tests/events/main.c

  Log Message:
  -----------
  Merge pull request #11928 from gschorcht/sys/event/detached_init

sys/event: fix of compilation problems


Compare: https://github.com/RIOT-OS/RIOT/compare/9028be5e0885...6e9612f1d1e4


More information about the commits mailing list