You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Paul Brett (JIRA)" <ji...@apache.org> on 2015/07/09 21:47:04 UTC

[jira] [Created] (MESOS-3027) Compiler warning in stout subcommand tests

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)