Enable -Wall for C++ too
Merge pull request #885 from ajschult/Wall

Enable -Wall for C++ too
Improve graphs performance