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

Autoparse fails if TSystem::ChangeDirectory is used

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.04.00
    • Fix Version/s: 6.02/08
    • Component/s: Cling, Core Libraries
    • Labels:
      None
    • Environment:

      linux/mac

      Description

      create this test directory and move into it:

      mkdir test
      cd test
      mkdir someDir

      then take these two files and create a dictionary:
      MyClassInc.h

      class MyClass{};

      MyClass.h

      #include "MyClassInc.h"

      genreflex MyClass.h --rootmap al.rootmap ; clang++ -o libMyClass.so MyClass_rflx.cpp `root-config --cflags --libs` -fPIC -shared

      Autoparsing fails unexpectedly at the prompt if one fires root as follows and inputs the following commands:

      ROOT_INCLUDE_PATH=`pwd` LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd` root -b
      root[0]  gSystem->ChangeDirectory("someDir/");
      root[1]  MyClass a;

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              dpiparo Danilo Piparo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: