https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125200

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|testsuite                   |libstdc++

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The plugin doesn't complain about something in the headers, but about
std::setjmp not exported from the std module.
libstdc++-v3/src/c++23/std-clib.cc.in has
// 17.13.3 <csetjmp>
export C_LIB_NAMESPACE
{
  using std::jmp_buf;
  using std::longjmp;
  // setjmp macro not exported
}
Now, I believe on Linux there is no std::setjmp, just setjmp macro, and that is
what
the standard requires too:
http://eel.is/c++draft/csetjmp.syn
So, if Solaris for some strange reason provides std::setjmp, then dunno, maybe
we conditionally want to export it from std-clib.cc.in, or tweak the plugin to
ignore this, something else?

Reply via email to