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

wrong -I flags provided for dictionary compilation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: master, 6.18/04, 6.20/04
    • Fix Version/s: 6.22/00, 6.20/06
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Linux 64bit

      Description

      Directory names with -I prefix provided in target_include_directories call for dictionary target. As result, CXX flags for dictionary compilation include wrong directory names.

      Example is in build directory file: `io/io/CMakeFiles/G__RIO.dir/flags.make`

      ```

      CXX_INCLUDES = -I/home/linev/git/root/io/io/-I/home/linev/git/root -I/home/linev/git/root/io/io/-I/home/linev/build/root/etc/cling ...

      ```

      Possible bugfix is: https://github.com/root-project/root/pull/5172

      Same fix integrated in: https://github.com/root-project/root/pull/5181

      While #5181 is only dedicated for master, #5172 can be applied for v6.18 and v6.20

       

       

        Attachments

          Activity

            People

            • Assignee:
              oshadura Oksana Shadura
              Reporter:
              slinev Serguei Linev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: