[LLVMbugs] [Bug 18949] svn r202006: analyzer crash analyzing 'openttd'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 24 09:44:49 PST 2014


Jordan Rose <jordan_rose at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |jordan_rose at apple.com
         Resolution|---                         |INVALID

--- Comment #1 from Jordan Rose <jordan_rose at apple.com> ---
This wasn't a real crash; Clang actually emitted an error during semantic
analysis (i.e. before the analyzer even got started).

/usr/local/src/openttd/src/console.cpp:478:16: error: comparison between
pointer and integer ('char *' and 'int')
        if (tokens[0] == '\0') return; // don't execute empty commands
            ~~~~~~~~~ ^  ~~~~
1 error generated.

The poor reporting of this is tracked by bug 14243.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140224/4708467b/attachment.html>

More information about the llvm-bugs mailing list