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

int i[1][1];

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.02/03
    • Fix Version/s: 6.10/00
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      Any

      Description

      root [0] int i[1][1];
      In file included from input_line_2:1:
      /home/axel/build/root/github/obj/./etc/cling/Interpreter/RuntimeUniverse.h:174:11: error: array 'new' cannot have initialization arguments
                new ((void*)(((T*)placement) + i)) T(src[i]);
                ^                                    ~~~~~~
      note: in instantiation of function template specialization 'cling::runtime::internal::copyArray<int [1]>' requested here

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: