You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinson Lee (JIRA)" <ji...@apache.org> on 2014/02/15 03:00:22 UTC

[jira] [Created] (MESOS-1009) src/demangle.cc:170:13: error: comparison between pointer and integer ('const char *' and 'int')

Vinson Lee created MESOS-1009:
---------------------------------

             Summary: src/demangle.cc:170:13: error: comparison between pointer and integer ('const char *' and 'int')
                 Key: MESOS-1009
                 URL: https://issues.apache.org/jira/browse/MESOS-1009
             Project: Mesos
          Issue Type: Bug
          Components: build
         Environment: Ubuntu 13.10
            Reporter: Vinson Lee


Building with clang 3.5svn.

src/demangle.cc:170:13: error: comparison between pointer and integer ('const char *' and 'int')
    if (str == '\0') {
        ~~~ ^  ~~~~
src/demangle.cc:226:26: error: comparison between pointer and integer ('const char *' and 'int')
  if (state->mangled_cur == '\0') {
      ~~~~~~~~~~~~~~~~~~ ^  ~~~~




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Re: [jira] [Created] (MESOS-1009) src/demangle.cc:170:13: error: comparison between pointer and integer ('const char *' and 'int')

Posted by Dominic Hamon <dh...@twopensource.com>.
This looks like a glog bug we might want to patch. The first instance is
actually a bug.
On Feb 14, 2014 6:00 PM, "Vinson Lee (JIRA)" <ji...@apache.org> wrote:

> Vinson Lee created MESOS-1009:
> ---------------------------------
>
>              Summary: src/demangle.cc:170:13: error: comparison between
> pointer and integer ('const char *' and 'int')
>                  Key: MESOS-1009
>                  URL: https://issues.apache.org/jira/browse/MESOS-1009
>              Project: Mesos
>           Issue Type: Bug
>           Components: build
>          Environment: Ubuntu 13.10
>             Reporter: Vinson Lee
>
>
> Building with clang 3.5svn.
>
> src/demangle.cc:170:13: error: comparison between pointer and integer
> ('const char *' and 'int')
>     if (str == '\0') {
>         ~~~ ^  ~~~~
> src/demangle.cc:226:26: error: comparison between pointer and integer
> ('const char *' and 'int')
>   if (state->mangled_cur == '\0') {
>       ~~~~~~~~~~~~~~~~~~ ^  ~~~~
>
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1.5#6160)
>