GNOME Bugzilla – Bug 766069
Files with incorrect extensions (.doc) are picked up by doxygen
Last modified: 2016-09-05 13:46:37 UTC
When trying to upgrade from doxygen 1.8.10 to 1.8.11 we noticed that doxygen is becoming very confused. It tried to create files with non-printable characters, like character 0x0F. After some searching, we noticed that in the generation of the globals.xhtml and globals_<firstchar>.xhtml files there was a reference to a .doc file which was part of the code base. On trying to do something similar with our config, we noticed the same problems with a blank .doc file, though not with a .docx file. Further investigation is still required, though it looks like the files which are picked up by doxygen have been changed between 1.8.10 and 1.8.11. (However I don't find this in the change log) Most important part of our configuration: (I'll try to update the local configuration, though as generation of documentation takes hours, this takes time) # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and # *.h) to filter out the source-files in the directories. # # Note that for custom extensions or not directly supported extensions you also # need to set EXTENSION_MAPPING for the extension otherwise the files are not # read by doxygen. # # If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, # *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, # *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f, *.for, *.tcl, # *.vhd, *.vhdl, *.ucf, *.qsf, *.as and *.js. FILE_PATTERNS =
I think the issue is introduced by this commit: https://github.com/doxygen/doxygen/pull/383/files The new list of extensions does not match the old list. In particular for the .doc extension. As a workaround you could specify the extensions you want doxygen to process explicitly.
I've verified this. If you set FILE_PATTERNS to the expected extensions, the generation is successful. Important to note here is that the different patterns have to be separated by blanks instead of commas. This makes the 'If left blank' part a bit confusing. For now, we'll specify these extensions explicitly until resolved.
Should be corrected in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.12. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).