Page MenuHomePhabricator

Fix warnings in LLDBWrapPython.cpp with gcc 4.9.

Authored by abidh on Oct 14 2015, 2:55 AM.



I see a lot of following warnings in LLDBWrapPython.cpp while building with gcc 4.9 on Linux.
"warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers [-Wcast-qual]"

Is it ok to add -Wno-cast-qual for this file in cmake for gcc. This option seems to be already present
for autotool case.

Diff Detail

Event Timeline

abidh updated this revision to Diff 37325.Oct 14 2015, 2:55 AM
abidh retitled this revision from to Fix warnings in LLDBWrapPython.cpp with gcc 4.9..
abidh updated this object.
abidh added reviewers: zturner, clayborg.
abidh added a subscriber: lldb-commits.
clayborg accepted this revision.Oct 14 2015, 10:02 AM
clayborg edited edge metadata.
This revision is now accepted and ready to land.Oct 14 2015, 10:02 AM
abidh closed this revision.Oct 15 2015, 1:28 AM