Paul Brett created MESOS-3027:
---------------------------------

             Summary: Compiler warning in stout subcommand tests
                 Key: MESOS-3027
                 URL: https://issues.apache.org/jira/browse/MESOS-3027
             Project: Mesos
          Issue Type: Bug
          Components: stout
         Environment: clang 3.7 ubuntu 15.04
            Reporter: Paul Brett
            Priority: Minor


../../../../3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp:146:3:
 warning: 'delete' applied to a pointer that was allocated with 'new[]'; did 
you mean 'delete[]'?
      [-Wmismatched-new-delete]
  delete argv;
  ^
        []
../../../../3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp:119:17:
 note: allocated with 'new[]' here
  char** argv = new char*[argc];
                ^




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to