New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files with incorrect extensions (.doc) are picked up by doxygen (Origin: bugzilla #766069) #5999

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.11 on platform Other
Assigned to: Dimitri van Heesch

On 2016-05-06 16:07:11 +0000, Jeroen Van Antwerpen wrote:

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_.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.


On 2016-05-06 19:13:12 +0000, Dimitri van Heesch wrote:

I think the issue is introduced by this commit:

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.

On 2016-05-09 10:18:34 +0000, Jeroen Van Antwerpen wrote:

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.

On 2016-05-16 15:06:48 +0000, Dimitri van Heesch wrote:

Should be corrected in the next GIT update.

On 2016-09-05 13:46:37 +0000, Dimitri van Heesch wrote:

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).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment