```
/home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartWidget.cpp:167:6: error: prototype for ‘void QmitkChartWidget::Impl::AddData2D(const std::map<double, double>&, const string&)’ does not match any in class ‘QmitkChartWidget::Impl’
void QmitkChartWidget::Impl::AddData2D(const std::map<double, double>& data2D, const std::string& label) {
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartWidget.cpp:37:8: error: candidate is: void QmitkChartWidget::Impl::AddData2D(const std::map<double, double>&, const string&, QmitkChartWidget::ChartType)
void AddData2D(const std::map<double, double>& data2D, const std::string& label, QmitkChartWidget::ChartType diagramType);
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartWidget.cpp:26:25: error: ‘class QmitkChartWidget::Impl’ is private
class QmitkChartWidget::Impl final
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartWidget.cpp:167:6: error: within this context
void QmitkChartWidget::Impl::AddData2D(const std::map<double, double>& data2D, const std::string& label) {
In file included from /home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartxyData.cpp:17:0:
/home/mbiuser/mitkdc/MITK/Modules/Chart/include/QmitkChartxyData.h: In constructor ‘QmitkChartxyData::QmitkChartxyData(const QMap<QVariant, QVariant>&, const QVariant&, const QVariant&)’:
/home/mbiuser/mitkdc/MITK/Modules/Chart/include/QmitkChartxyData.h:81:20: error: ‘QmitkChartxyData::m_Label’ will be initialized after [-Werror=reorder]
QVariant m_Label;
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/include/QmitkChartxyData.h:80:20: error: ‘QVariant QmitkChartxyData::m_ChartType’ [-Werror=reorder]
QVariant m_ChartType;
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartxyData.cpp:19:1: error: when initialized here [-Werror=reorder]
QmitkChartxyData::QmitkChartxyData(const QMap<QVariant, QVariant>& data, const QVariant& label, const QVariant& chartType) : m_Label(label), m_ChartType(chartType), m_Color(""), m_LineStyleName("solid") {
^
In file included from /home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartxyData.cpp:17:0:
/home/mbiuser/mitkdc/MITK/Modules/Chart/include/QmitkChartxyData.h: In constructor ‘QmitkChartxyData::QmitkChartxyData(const QList<QVariant>&, const QVariant&, const QVariant&)’:
/home/mbiuser/mitkdc/MITK/Modules/Chart/include/QmitkChartxyData.h:81:20: error: ‘QmitkChartxyData::m_Label’ will be initialized after [-Werror=reorder]
QVariant m_Label;
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/include/QmitkChartxyData.h:80:20: error: ‘QVariant QmitkChartxyData::m_ChartType’ [-Werror=reorder]
QVariant m_ChartType;
^
/home/mbiuser/mitkdc/MITK/Modules/Chart/src/QmitkChartxyData.cpp:23:1: error: when initialized here [-Werror=reorder]
QmitkChartxyData::QmitkChartxyData(const QList<QVariant>& data, const QVariant& label, const QVariant& chartType) : m_Label(label), m_ChartType(chartType), m_Color(""), m_LineStyleName("solid") {
^
cc1plus: all warnings being treated as errors
```