[riot-commits] [RIOT-OS/RIOT] 248fb1: sys/cpp11-compat: Add C++ runtime helpers

Joakim Gebart joakim.gebart at eistec.se
Wed Aug 19 21:49:26 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 248fb1c6c08521bb2c1674b344c4ce8dde5197ab
      https://github.com/RIOT-OS/RIOT/commit/248fb1c6c08521bb2c1674b344c4ce8dde5197ab
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

  Changed paths:
    M sys/Makefile.include
    A sys/cpp11-compat/cppsupport.cpp

  Log Message:
  -----------
  sys/cpp11-compat: Add C++ runtime helpers

cppsupport.cpp contains functions which are necessary in order to use
some features of the C++ language, e.g. calling static constructors or
virtual functions.

TODO/Not implemented yet:
 - Test virtual functions
 - Handle exceptions (stack unwinding)
 - Run time type identification (RTTI)


  Commit: 62b14356463a7d6776bdfca66f4e0df76ebc94f9
      https://github.com/RIOT-OS/RIOT/commit/62b14356463a7d6776bdfca66f4e0df76ebc94f9
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

  Changed paths:
    M cpu/cortexm_common/vectors_cortexm.c

  Log Message:
  -----------
  cortexm: Remove __dso_handle from startup.c in favour of sys/cpp11-compat/cppsupport.cpp


  Commit: d670d6eb5146204c0fc9f81813ba2a76e949a239
      https://github.com/RIOT-OS/RIOT/commit/d670d6eb5146204c0fc9f81813ba2a76e949a239
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

  Changed paths:
    M sys/cpp11-compat/condition_variable.cpp

  Log Message:
  -----------
  sys/cpp11-compat: condition variable: fix includes


  Commit: 0a11d79e9d7c9477773e6cf6f1de4a407d7a975b
      https://github.com/RIOT-OS/RIOT/commit/0a11d79e9d7c9477773e6cf6f1de4a407d7a975b
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

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

  Log Message:
  -----------
  sys/cpp11-compat: chrono: remove unused include cstdio


  Commit: 2e36564ea187a2fe1ca967e8b34797e60163cfb7
      https://github.com/RIOT-OS/RIOT/commit/2e36564ea187a2fe1ca967e8b34797e60163cfb7
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

  Changed paths:
    M tests/cpp11_thread/Makefile

  Log Message:
  -----------
  tests/cpp11_thread: Clean up Makefile

 - Remove BOARD_WHITELIST
 - Clean up CXXFLAGS
 - Clean up CFLAGS
 - Blacklist boards where the C++ library is too large on Travis


  Commit: 01694161bc327f1570dc7bf182d1448908459ff3
      https://github.com/RIOT-OS/RIOT/commit/01694161bc327f1570dc7bf182d1448908459ff3
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

  Changed paths:
    M tests/cpp11_mutex/Makefile

  Log Message:
  -----------
  tests/cpp11_mutex: Clean up Makefile

 - Remove BOARD_WHITELIST
 - Clean up CXXFLAGS
 - Clean up CFLAGS
 - Blacklist boards where the C++ library is too large on Travis


  Commit: f3330abf8d8fdc95f309deb7162e371933bff93e
      https://github.com/RIOT-OS/RIOT/commit/f3330abf8d8fdc95f309deb7162e371933bff93e
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-08 (Sat, 08 Aug 2015)

  Changed paths:
    M tests/cpp11_condition_variable/Makefile

  Log Message:
  -----------
  tests/cpp11_condition_variable: Clean up Makefile

 - Remove BOARD_WHITELIST
 - Clean up CXXFLAGS
 - Clean up CFLAGS
 - Blacklist boards where the C++ library is too large on Travis


  Commit: 56b0beeebe4a6e1534b409bb485c1f0767eba019
      https://github.com/RIOT-OS/RIOT/commit/56b0beeebe4a6e1534b409bb485c1f0767eba019
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-08-19 (Wed, 19 Aug 2015)

  Changed paths:
    M cpu/cortexm_common/vectors_cortexm.c
    M sys/Makefile.include
    M sys/cpp11-compat/condition_variable.cpp
    A sys/cpp11-compat/cppsupport.cpp
    M sys/cpp11-compat/include/riot/chrono.hpp
    M tests/cpp11_condition_variable/Makefile
    M tests/cpp11_mutex/Makefile
    M tests/cpp11_thread/Makefile

  Log Message:
  -----------
  Merge pull request #3107 from gebart/pr/cppsupport

c++: Define some support functions required by GCC


Compare: https://github.com/RIOT-OS/RIOT/compare/c83ba9e8f2d8...56b0beeebe4a


More information about the commits mailing list