fixed a lot of issues, now successfully runs the test with --enable-pedantic; refs #8
This commit is contained in:
		@@ -588,7 +588,7 @@ FILE_VERSION_FILTER    =
 | 
			
		||||
# You can optionally specify a file name after the option, if omitted 
 | 
			
		||||
# DoxygenLayout.xml will be used as the name of the layout file.
 | 
			
		||||
 | 
			
		||||
LAYOUT_FILE            = doxygenlayout.xml
 | 
			
		||||
LAYOUT_FILE            = 
 | 
			
		||||
 | 
			
		||||
# The CITE_BIB_FILES tag can be used to specify one or more bib files 
 | 
			
		||||
# containing the references data. This must be a list of .bib files. The 
 | 
			
		||||
@@ -723,7 +723,7 @@ EXCLUDE_SYMBOLS        =
 | 
			
		||||
# directories that contain example code fragments that are included (see 
 | 
			
		||||
# the \include command).
 | 
			
		||||
 | 
			
		||||
EXAMPLE_PATH           = .
 | 
			
		||||
EXAMPLE_PATH           = @top_srcdir@
 | 
			
		||||
 | 
			
		||||
# If the value of the EXAMPLE_PATH tag contains directories, you can use the 
 | 
			
		||||
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
 | 
			
		||||
@@ -737,7 +737,7 @@ EXAMPLE_PATTERNS       =
 | 
			
		||||
# commands irrespective of the value of the RECURSIVE tag. 
 | 
			
		||||
# Possible values are YES and NO. If left blank NO is used.
 | 
			
		||||
 | 
			
		||||
EXAMPLE_RECURSIVE      = NO
 | 
			
		||||
EXAMPLE_RECURSIVE      = YES
 | 
			
		||||
 | 
			
		||||
# The IMAGE_PATH tag can be used to specify one or more files or 
 | 
			
		||||
# directories that contain image that are included in the documentation (see 
 | 
			
		||||
 
 | 
			
		||||
@@ -1,184 +0,0 @@
 | 
			
		||||
<doxygenlayout version="1.0">
 | 
			
		||||
  <!-- Navigation index tabs for HTML output -->
 | 
			
		||||
  <navindex>
 | 
			
		||||
    <tab type="mainpage" visible="yes" title=""/>
 | 
			
		||||
    <tab type="pages" visible="yes" title="" intro=""/>
 | 
			
		||||
    <tab type="modules" visible="yes" title="" intro=""/>
 | 
			
		||||
    <tab type="namespaces" visible="yes" title="">
 | 
			
		||||
      <tab type="namespaces" visible="yes" title="" intro=""/>
 | 
			
		||||
      <tab type="namespacemembers" visible="yes" title="" intro=""/>
 | 
			
		||||
    </tab>
 | 
			
		||||
    <tab type="classes" visible="yes" title="">
 | 
			
		||||
      <tab type="classes" visible="yes" title="" intro=""/>
 | 
			
		||||
      <tab type="classindex" visible="$ALPHABETICAL_INDEX" title=""/> 
 | 
			
		||||
      <tab type="hierarchy" visible="yes" title="" intro=""/>
 | 
			
		||||
      <tab type="classmembers" visible="yes" title="" intro=""/>
 | 
			
		||||
    </tab>
 | 
			
		||||
    <tab type="files" visible="yes" title="">
 | 
			
		||||
      <tab type="files" visible="yes" title="" intro=""/>
 | 
			
		||||
      <tab type="globals" visible="yes" title="" intro=""/>
 | 
			
		||||
    </tab>
 | 
			
		||||
    <tab type="dirs" visible="yes" title="" intro=""/>
 | 
			
		||||
    <tab type="examples" visible="yes" title="" intro=""/>  
 | 
			
		||||
  </navindex>
 | 
			
		||||
 | 
			
		||||
  <!-- Layout definition for a class page -->
 | 
			
		||||
  <class>
 | 
			
		||||
    <briefdescription visible="yes"/>
 | 
			
		||||
    <includes visible="$SHOW_INCLUDE_FILES"/>
 | 
			
		||||
    <inheritancegraph visible="$CLASS_GRAPH"/>
 | 
			
		||||
    <collaborationgraph visible="$COLLABORATION_GRAPH"/>
 | 
			
		||||
    <allmemberslink visible="yes"/>
 | 
			
		||||
    <memberdecl>
 | 
			
		||||
      <nestedclasses visible="yes" title=""/>
 | 
			
		||||
      <publictypes title=""/>
 | 
			
		||||
      <publicslots title=""/>
 | 
			
		||||
      <signals title=""/>
 | 
			
		||||
      <publicmethods title=""/>
 | 
			
		||||
      <publicstaticmethods title=""/>
 | 
			
		||||
      <publicattributes title=""/>
 | 
			
		||||
      <publicstaticattributes title=""/>
 | 
			
		||||
      <protectedtypes title=""/>
 | 
			
		||||
      <protectedslots title=""/>
 | 
			
		||||
      <protectedmethods title=""/>
 | 
			
		||||
      <protectedstaticmethods title=""/>
 | 
			
		||||
      <protectedattributes title=""/>
 | 
			
		||||
      <protectedstaticattributes title=""/>
 | 
			
		||||
      <packagetypes title=""/>
 | 
			
		||||
      <packagemethods title=""/>
 | 
			
		||||
      <packagestaticmethods title=""/>
 | 
			
		||||
      <packageattributes title=""/>
 | 
			
		||||
      <packagestaticattributes title=""/>
 | 
			
		||||
      <properties title=""/>
 | 
			
		||||
      <events title=""/>
 | 
			
		||||
      <privatetypes title=""/>
 | 
			
		||||
      <privateslots title=""/>
 | 
			
		||||
      <privatemethods title=""/>
 | 
			
		||||
      <privatestaticmethods title=""/>
 | 
			
		||||
      <privateattributes title=""/>
 | 
			
		||||
      <privatestaticattributes title=""/>
 | 
			
		||||
      <friends title=""/>
 | 
			
		||||
      <related title="" subtitle=""/>
 | 
			
		||||
      <membergroups visible="yes"/>
 | 
			
		||||
    </memberdecl>
 | 
			
		||||
    <detaileddescription title=""/>
 | 
			
		||||
    <memberdef>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <constructors title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <related title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
      <properties title=""/>
 | 
			
		||||
      <events title=""/>
 | 
			
		||||
    </memberdef>
 | 
			
		||||
    <usedfiles visible="$SHOW_USED_FILES"/>
 | 
			
		||||
    <authorsection visible="yes"/>
 | 
			
		||||
  </class>
 | 
			
		||||
 | 
			
		||||
  <!-- Layout definition for a namespace page -->
 | 
			
		||||
  <namespace>
 | 
			
		||||
    <briefdescription visible="yes"/>
 | 
			
		||||
    <memberdecl>
 | 
			
		||||
      <nestednamespaces visible="yes" title=""/>
 | 
			
		||||
      <classes visible="yes" title=""/>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
      <membergroups visible="yes"/>
 | 
			
		||||
    </memberdecl>
 | 
			
		||||
    <detaileddescription title=""/>
 | 
			
		||||
    <memberdef>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
    </memberdef>
 | 
			
		||||
    <authorsection visible="yes"/>
 | 
			
		||||
  </namespace>
 | 
			
		||||
 | 
			
		||||
  <!-- Layout definition for a file page -->
 | 
			
		||||
  <file>
 | 
			
		||||
    <briefdescription visible="yes"/>
 | 
			
		||||
    <includes visible="$SHOW_INCLUDE_FILES"/>
 | 
			
		||||
    <includegraph visible="$INCLUDE_GRAPH"/>
 | 
			
		||||
    <includedbygraph visible="$INCLUDED_BY_GRAPH"/>
 | 
			
		||||
    <sourcelink visible="yes"/>
 | 
			
		||||
    <memberdecl>
 | 
			
		||||
      <classes visible="yes" title=""/>
 | 
			
		||||
      <namespaces visible="yes" title=""/>
 | 
			
		||||
      <defines title=""/>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
      <membergroups visible="yes"/>
 | 
			
		||||
    </memberdecl>
 | 
			
		||||
    <detaileddescription title=""/>
 | 
			
		||||
    <memberdef>
 | 
			
		||||
      <defines title=""/>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
    </memberdef>
 | 
			
		||||
    <authorsection/>
 | 
			
		||||
  </file>
 | 
			
		||||
 | 
			
		||||
  <!-- Layout definition for a group page -->
 | 
			
		||||
  <group>
 | 
			
		||||
    <briefdescription visible="yes"/>
 | 
			
		||||
    <groupgraph visible="$GROUP_GRAPHS"/>
 | 
			
		||||
    <memberdecl>
 | 
			
		||||
      <classes visible="yes" title=""/>
 | 
			
		||||
      <namespaces visible="yes" title=""/>
 | 
			
		||||
      <dirs visible="yes" title=""/>
 | 
			
		||||
      <nestedgroups visible="yes" title=""/>
 | 
			
		||||
      <files visible="yes" title=""/>
 | 
			
		||||
      <defines title=""/>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <enumvalues title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
      <signals title=""/>
 | 
			
		||||
      <publicslots title=""/>
 | 
			
		||||
      <protectedslots title=""/>
 | 
			
		||||
      <privateslots title=""/>
 | 
			
		||||
      <events title=""/>
 | 
			
		||||
      <properties title=""/>
 | 
			
		||||
      <friends title=""/>
 | 
			
		||||
      <membergroups visible="yes"/>
 | 
			
		||||
    </memberdecl>
 | 
			
		||||
    <detaileddescription title=""/>
 | 
			
		||||
    <memberdef>
 | 
			
		||||
      <pagedocs/>
 | 
			
		||||
      <defines title=""/>
 | 
			
		||||
      <typedefs title=""/>
 | 
			
		||||
      <enums title=""/>
 | 
			
		||||
      <enumvalues title=""/>
 | 
			
		||||
      <functions title=""/>
 | 
			
		||||
      <variables title=""/>
 | 
			
		||||
      <signals title=""/>
 | 
			
		||||
      <publicslots title=""/>
 | 
			
		||||
      <protectedslots title=""/>
 | 
			
		||||
      <privateslots title=""/>
 | 
			
		||||
      <events title=""/>
 | 
			
		||||
      <properties title=""/>
 | 
			
		||||
      <friends title=""/>
 | 
			
		||||
    </memberdef>
 | 
			
		||||
    <authorsection visible="yes"/>
 | 
			
		||||
  </group>
 | 
			
		||||
 | 
			
		||||
  <!-- Layout definition for a directory page -->
 | 
			
		||||
  <directory>
 | 
			
		||||
    <briefdescription visible="yes"/>
 | 
			
		||||
    <directorygraph visible="yes"/>
 | 
			
		||||
    <memberdecl>
 | 
			
		||||
      <dirs visible="yes"/>
 | 
			
		||||
      <files visible="yes"/>
 | 
			
		||||
    </memberdecl>
 | 
			
		||||
    <detaileddescription title=""/>
 | 
			
		||||
  </directory>
 | 
			
		||||
</doxygenlayout>
 | 
			
		||||
@@ -33,11 +33,7 @@ int main(int argc, char** argv) try {
 | 
			
		||||
 | 
			
		||||
  // bind and evaluate options
 | 
			
		||||
#ifdef MRW__OLD_PRE11_COMPILER
 | 
			
		||||
  mrw::args::list l;
 | 
			
		||||
  mrw::args::decl::param_list pl = mrw::args::decl::param_list();
 | 
			
		||||
  (mrw::args::decl::param_list())<<mrw::args::param(flag);
 | 
			
		||||
  l<<mrw::args::decl("f", "flag", "check a flag", pl);
 | 
			
		||||
  mrw::args::parse(argc, argv, description, mrw::args::list()
 | 
			
		||||
  mrw::args::parse(argc, argv, description, mrw::args::defaults()
 | 
			
		||||
                   <<mrw::args::decl("h", "help", "show this help",
 | 
			
		||||
                                     mrw::args::decl::param_list()
 | 
			
		||||
                                     <<mrw::args::help()
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,7 @@
 | 
			
		||||
 | 
			
		||||
class A {
 | 
			
		||||
  public: int a;
 | 
			
		||||
  public: virtual ~A() {}
 | 
			
		||||
  protected: virtual void fn() {} // dynamic_cast requires a virtual function
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user