From d65fa97b0400551720e0b3839f79a5ab8555fe84 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 22 Feb 2020 12:55:32 +0100 Subject: Compilation warnings Due to ``` Commit: 1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0 [1a56a39] Commit Date: Friday, February 21, 2020 9:07:13 PM Restructure section handling ``` a number of compilation warnings (Windows) appeared: ``` c:\projects\doxygen\src\section.h(51): warning C4099: 'SectionInfo': type name first seen using 'struct' now seen using 'class' [C:\projects\doxygen\build\src\_doxygen.vcxproj] c:\projects\doxygen\src\section.h(50): note: see declaration of 'SectionInfo' ``` --- src/definition.h | 2 +- src/docparser.h | 1 - src/doxygen.h | 1 - src/entry.h | 2 +- src/outputlist.h | 1 - src/util.h | 2 +- 6 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/definition.h b/src/definition.h index db64094..016cbe8 100644 --- a/src/definition.h +++ b/src/definition.h @@ -38,7 +38,7 @@ class MemberDef; class GroupDef; class GroupList; struct ListItemInfo; -struct SectionInfo; +class SectionInfo; class Definition; class FTextStream; diff --git a/src/docparser.h b/src/docparser.h index 2ce8f4b..b414d9b 100644 --- a/src/docparser.h +++ b/src/docparser.h @@ -32,7 +32,6 @@ class DocNode; class MemberDef; class Definition; class MemberGroup; -class SectionDict; //--------------------------------------------------------------------------- QString::Direction getTextDirByConfig(const QString &text); diff --git a/src/doxygen.h b/src/doxygen.h index e1f0a90..92ae460 100644 --- a/src/doxygen.h +++ b/src/doxygen.h @@ -58,7 +58,6 @@ class IndexList; class FormulaList; class FormulaDict; class FormulaNameDict; -class SectionDict; class Preprocessor; struct MemberGroupInfo; diff --git a/src/entry.h b/src/entry.h index 3cd53e9..5ae1d60 100644 --- a/src/entry.h +++ b/src/entry.h @@ -26,7 +26,7 @@ #include "types.h" #include "arguments.h" -struct SectionInfo; +class SectionInfo; class QFile; class FileDef; struct ListItemInfo; diff --git a/src/outputlist.h b/src/outputlist.h index 06c9185..a944e5c 100644 --- a/src/outputlist.h +++ b/src/outputlist.h @@ -45,7 +45,6 @@ class DotClassGraph; class DotDirDeps; class DotInclDepGraph; class DotGfxHierarchyTable; -class SectionDict; class DotGroupCollaboration; class DocRoot; diff --git a/src/util.h b/src/util.h index 76c0522..b9628e9 100644 --- a/src/util.h +++ b/src/util.h @@ -51,7 +51,7 @@ struct TagInfo; class MemberNameInfoSDict; struct ListItemInfo; class PageDef; -struct SectionInfo; +class SectionInfo; class QDir; class Definition; class BufStr; -- cgit v0.12