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

Same name classes in different namespaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.34/00
    • Fix Version/s: None
    • Component/s: CINT, I/O
    • Labels:
      None
    • Environment:

      Debian GNU/Linux 'sid' (unstable), GCC 4.8

    • Development:

      Description

      Hi,

      There seems to be a problem with AcLIc if you have classes

      t::Base
      t::Child     // Derives from t::Base
      t::a::Child // Derives from t::Child
      t::b::Child // Derives from t::Child

      in files

      t/Child.hh
      t/a/Child.hh
      t/b/Child.hh

      and you try to do

      gROOT->LoadMacro("t/Base.hh+");
      gROOT->LoadMacro("t/a/Child.h+");
      gROOT->LoadMacro("t/b/Child.h+");

      in that the second inclusion of the file Child.hh (in directory t/a) triggers a linking rather than a load of a shared object.

      See also the attached tar-ball for an example and more in the included README file.

      Yours,

      Christian

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            cholm Christian Holm Christensen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: