From f740277ce58f0cd9c1641c28a9dfd918cecefae2 Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Wed, 24 Jun 2009 23:49:38 +0300 Subject: [PATCH] Fixed compile error in Linux Include guard naming fix (names starting with underscore+capital letter are reserved in C++, so we should not use those) Codeblocks project file update --- cppcheck.cbp | 6 ++++++ gui/aboutdialog.h | 6 +++--- gui/fileviewdialog.h | 6 +++--- gui/projectfile.h | 6 +++--- gui/report.h | 6 +++--- gui/txtreport.h | 8 ++++---- gui/xmlreport.h | 8 ++++---- 7 files changed, 26 insertions(+), 20 deletions(-) diff --git a/cppcheck.cbp b/cppcheck.cbp index 6332b1e61..ca9b62170 100644 --- a/cppcheck.cbp +++ b/cppcheck.cbp @@ -47,6 +47,8 @@ + + @@ -58,6 +60,10 @@ + + + + diff --git a/gui/aboutdialog.h b/gui/aboutdialog.h index 78a47ace4..9f0250e3c 100644 --- a/gui/aboutdialog.h +++ b/gui/aboutdialog.h @@ -16,8 +16,8 @@ * along with this program. If not, see #include @@ -38,4 +38,4 @@ private: QString mVersion; }; -#endif // _ABOUT_DIALOG_H_ +#endif // ABOUT_DIALOG_H diff --git a/gui/fileviewdialog.h b/gui/fileviewdialog.h index 3afb71888..04979178c 100644 --- a/gui/fileviewdialog.h +++ b/gui/fileviewdialog.h @@ -16,8 +16,8 @@ * along with this program. If not, see #include @@ -55,4 +55,4 @@ protected: QString FormatTitle(const QString &filename); }; -#endif // _FILEVIEW_DIALOG_H_ +#endif // FILEVIEW_DIALOG_H diff --git a/gui/projectfile.h b/gui/projectfile.h index 8aad28baf..2c132cc6c 100644 --- a/gui/projectfile.h +++ b/gui/projectfile.h @@ -16,8 +16,8 @@ * along with this program. If not, see #include @@ -65,4 +65,4 @@ private: QStringList mDeAllocatedClasses; }; -#endif // _PROJECT_FILE_H_ +#endif // PROJECT_FILE_H diff --git a/gui/report.h b/gui/report.h index 793f7c213..0694be45e 100644 --- a/gui/report.h +++ b/gui/report.h @@ -16,8 +16,8 @@ * along with this program. If not, see #include @@ -81,4 +81,4 @@ private: QFile mFile; }; -#endif // _REPORT_H_ +#endif // REPORT_H diff --git a/gui/txtreport.h b/gui/txtreport.h index ec86ff687..b774de973 100644 --- a/gui/txtreport.h +++ b/gui/txtreport.h @@ -16,15 +16,15 @@ * along with this program. If not, see #include #include #include #include -#include "Report.h" +#include "report.h" /** * @brief Text file report. @@ -67,4 +67,4 @@ private: QTextStream mTxtWriter; }; -#endif // _TXT_REPORT_H_ +#endif // TXT_REPORT_H diff --git a/gui/xmlreport.h b/gui/xmlreport.h index e90291c5f..f4048a49c 100644 --- a/gui/xmlreport.h +++ b/gui/xmlreport.h @@ -16,15 +16,15 @@ * along with this program. If not, see #include #include #include #include -#include "Report.h" +#include "report.h" /** * @brief XML file report. @@ -67,4 +67,4 @@ private: QXmlStreamWriter mXmlWriter; }; -#endif // _XML_REPORT_H_ +#endif // XML_REPORT_H