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

--- Comment #6 from R. Diez <rdiez-2006 at rd10 dot de> ---
I looked further for anything that references *_category* in my firmware, by
looking at the linker-generated cross-references table, and I noticed this in
file "gcc-14.2.0/libstdc++-v3/src/c++11/cow-stdexcept.cc":

// Return error_category::message() as an SSO string
__sso_string
error_category::_M_message(int i) const
{
  string msg = this->message(i);
  return {msg.c_str(), msg.length()};
}

That is a member from class 'error_category'. Shouldn't it live in file
system_error or file system_error.cc, where that class is defined?

This way, cow-stdexcept.cc, which has a lot of other stuff, might not
automatically pull system_error.cc in.

Reply via email to