[riot-commits] [RIOT-OS/RIOT] e4ad8d: cpu/Makefile.include.llvm: Use libstdc++ headers f...

Joseph Noir josephnoir at users.noreply.github.com
Thu Jun 23 13:06:57 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: e4ad8d6bebb13ab7e36366786b1b31b7eb3c4622
      https://github.com/RIOT-OS/RIOT/commit/e4ad8d6bebb13ab7e36366786b1b31b7eb3c4622
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M cpu/Makefile.include.llvm

  Log Message:
  -----------
  cpu/Makefile.include.llvm: Use libstdc++ headers for C++ support


  Commit: 275b36682598c9e01ac0631e408cebc89f544c32
      https://github.com/RIOT-OS/RIOT/commit/275b36682598c9e01ac0631e408cebc89f544c32
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M Makefile.base

  Log Message:
  -----------
  Makefile.base: Add separate CXXINCLUDES for C++ specific header directories


  Commit: e2c9fee91763c4670514af3861d4fafe182c94d3
      https://github.com/RIOT-OS/RIOT/commit/e2c9fee91763c4670514af3861d4fafe182c94d3
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-05-31 (Tue, 31 May 2016)

  Changed paths:
    M cpu/Makefile.include.llvm

  Log Message:
  -----------
  cpu/Makefile.include.llvm: Try harder to find C++ and C headers from cross-GCC


  Commit: 73739cb7c8ed2309cb78ceeebac37ed6ab984d8e
      https://github.com/RIOT-OS/RIOT/commit/73739cb7c8ed2309cb78ceeebac37ed6ab984d8e
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M cpu/cortexm_common/include/cmsis_gcc.h
    M cpu/cortexm_common/include/cpu.h

  Log Message:
  -----------
  cpu/cortexm_common: Remove register keyword from variables

register is deprecated when building C++11 code and removed in C++17,
using it will cause build failures with C++ and -Werror. The register
hint keyword is likely ignored in GCC anyway.


  Commit: 92370e846d060c38f1f9737e6431d66659d0dec6
      https://github.com/RIOT-OS/RIOT/commit/92370e846d060c38f1f9737e6431d66659d0dec6
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M sys/cpp11-compat/include/riot/mutex.hpp

  Log Message:
  -----------
  sys/cpp11-compat: Add braces around mutex initializer

Fixes Clang warning/error:

    In file included from .../riot/sys/cpp11-compat/thread.cpp:26:
    In file included from .../riot/sys/cpp11-compat/include/riot/thread.hpp:39:
    .../riot/sys/cpp11-compat/include/riot/mutex.hpp:47:45: error:
     suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
      inline constexpr mutex() noexcept : m_mtx{0} {}
                                          ^
                                          {}
    1 error generated.


  Commit: abca77beb0ab748e7a3878654e09f16e05d8526e
      https://github.com/RIOT-OS/RIOT/commit/abca77beb0ab748e7a3878654e09f16e05d8526e
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M cpu/cc2538/periph/spi.c

  Log Message:
  -----------
  cpu/cc2538: Cast enum to unsigned int for comparison


  Commit: eff01f21f89c7d0a8b4bb44c5db41230462f5fa6
      https://github.com/RIOT-OS/RIOT/commit/eff01f21f89c7d0a8b4bb44c5db41230462f5fa6
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M cpu/cc26x0/periph/gpio.c

  Log Message:
  -----------
  cpu/cc26x0: Cast gpio_t to unsigned int for comparison


  Commit: ed2c94764b6d724e0d9ea6af70ffdaa0fcd3dedb
      https://github.com/RIOT-OS/RIOT/commit/ed2c94764b6d724e0d9ea6af70ffdaa0fcd3dedb
  Author: Joseph Noir <josephnoir at users.noreply.github.com>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M Makefile.base
    M cpu/Makefile.include.llvm
    M sys/cpp11-compat/include/riot/mutex.hpp

  Log Message:
  -----------
  Merge pull request #4643 from gebart/pr/clang-warning-fixes

Clang: Add support for C++


Compare: https://github.com/RIOT-OS/RIOT/compare/15bda623049f...ed2c94764b6d


More information about the commits mailing list