GNOME Bugzilla – Bug 711639
[PATCH] #include does not work with absolute paths
Last modified: 2013-12-24 18:59:32 UTC
While trying to determine why preprocessor symbols I expected to be expanded were not being expanded, I discovered this: #include /absolute/path/to/existing/header.h: not found! skipping... AFAICT, doxygen's preprocessor is not able to handle #include directives when an absolute path is given for the include file name. Inspecting findFile() in pre.l seems to bear this out; the code there does indeed appear to only ever check the file name by appending it to the 'current' directory or one of the specified include directories, which will only work for relative file paths.
Created attachment 259231 [details] [review] patch
Thanks, I'll include the patch in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.6. 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 (preferrably in the form of a self-contained example).