]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Ensure language linkage of std::__terminate()
authorJonathan Wakely <jwakely@redhat.com>
Wed, 13 Oct 2021 09:35:44 +0000 (10:35 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 13 Oct 2021 09:42:45 +0000 (10:42 +0100)
commitc1b6c360fcf3fc1c0045c7358d61a83c91b6fa25
tree5bd6e20099b1447d79bb3f9608d698e7cd5ea35c
parent23cd18c60c8188e3d68eda721cdb739199e85e5b
libstdc++: Ensure language linkage of std::__terminate()

This is needed because people still find it necessary to do:

  extern "C" {
  #include <stdlib.h>
  }

libstdc++-v3/ChangeLog:

* include/bits/c++config (__terminate): Add extern "C++".
libstdc++-v3/include/bits/c++config