[Bug 18784] New: lldb fails to build with invalid conversion from 'const char*' to 'char*' [-fpermissive]

Bug ID 18784
Summary lldb fails to build with invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter sylvestre@debian.org
Classification Unclassified

/tmp/buildd/llvm-toolchain-snapshot-3.5~svn201036/tools/lldb/source/Host/common/Editline.cpp:
In member function 'size_t lldb_private::Editline::Push(const char*, size_t)':
/tmp/buildd/llvm-toolchain-snapshot-3.5~svn201036/tools/lldb/source/Host/common/Editline.cpp:267:62:
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
         ::el_push(m_editline, std::string (bytes, len).c_str());
                                                              ^

with g++ 4.8

labath@google.com changed bug 18784

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |
    Resolution | — | FIXED |

Comment # 2 on bug 18784 from labath@google.com

The code producing the error does not exist anymore.