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

Cling compilation error when space in directory name

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • High
    • Resolution: Unresolved
    • 6.10/08
    • None
    • Cling
    • None
    • Linux Ubuntu 16

    Description

      I have a script within a directory that contains a space. (I cannot change this directory name). When I have a script called test.ccp within it:

       

      // Contents of file test.cpp
      void test()
      {
      }
      

      When I run it, I get this error:

       

       

      user@ubuntu:~/Dropbox (Company Name)$ root -l test.cpp
      input_line_9:1:10: fatal error: '/home/user/Dropbox' file not found
      #include "/home/user/Dropbox"
      

      This does not work either:

      user@ubuntu:~/Dropbox (Company Name)$ root -l
      root [0] .x test.cpp
      input_line_9:1:10: fatal error: '/home/user/Dropbox' file not found
      #include "/home/user/Dropbox"
      

      But this works fine:

      user@ubuntu:~/Dropbox (Company Name)$ root -l
      root [0] .L test.cpp
      root [1] test()
      

      So I guess there is a problem in cling when handling the two first variants. Thanks for the support.

       

      Attachments

        Activity

          People

            axel Axel Naumann
            2e7f1fb192878048ddc9 Fernando Hueso González (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: