Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7103

TGTextViewostream: no dictionary for class basic_ostream<char,char_traits<char> > is available

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Clarified
    • Affects Version/s: 5.34/26
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Gentoo Linux x86_64

      Description

      Dear ROOTers,

      after updating from ROOT 5.34/24 to 5.34/26, I observed the following new warning message in one of our tests:

      Warning in <TClass::TClass>: no dictionary for class basic_ostream<char,char_traits<char> > is available

      In the check, I walk over the full classtable (after loading the libraries of our analysis-software) and check class inheritance:

      cls->InheritsFrom(CBTObject::Class())

      (CBTObject is a custom TObject class from which most of our classes in our software inherit).

      Since ROOT 5.34/26, this produces a warning once I encounter
      TGTextViewostream::Class().

      To reproduce, you can do, in compiled code:

      TClass* cls = TGTextViewostream::Class(); 
      if (cls->InheritsFrom("TNamed")) {
                std::cout << "test" << std::endl;
      }

      I have attached a small cpp-file with Makefile which does just this with the full classtable and shows the warning (since it links against glibs).
      This could potentially serve as a test.

      Cheers,
      Oliver

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              ofreyerm Oliver Freyermuth
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: