【发布时间】:2014-10-21 05:56:54
【问题描述】:
我正在尝试使用 doxygen 在 C 中记录枚举值。
我的整个项目文档构建良好(包括使用相同格式文档的结构成员文档),直到我尝试为枚举值添加文档。
当我尝试这样做时,doxygen 运行时没有错误,但尝试生成 PDF 会导致 MiKTex 在 makeindex 失败,因为通用索引处理器意外停止。如果我让构建在此之后继续,它似乎会陷入某种无限循环,因为构建永远不会结束......
我目前如何尝试记录枚举值:
/** @file filename.h
* @brief some description
*/
// Other documented code that builds fine...
/** A type that allows selection of a bar snsr (This builds fine also). */
typedef enum foo {
barA = 0, /**< Bar snsr A (either of these cause the build error). */
barB = 1, /**< Bar snsr B (either of these cause the build error). */
numberOfBars = 2
} foo_t;
生成错误的屏幕截图: 我在win7 64位上构建
这似乎是一个问题,因为我将 doxygen 从 1.8.4 升级到 1.8.8
有没有人见过类似的?也许有一个修复?谢谢
【问题讨论】:
-
好问题。我不知道。但是,您是否查看过 1.8.4 和 1.8.8 之间的 doxy 变更集?这可能会有所帮助。
-
@JayInNyc,当您发表评论时正在阅读它们:)但我无法直接与此问题相关:(
-
再次阅读您的问题——看看 makeindex 结果。看看你能不能找到那个bug。事实上——只需使用 doxy 1.8.4 和 1.8.8 对 makeindex 结果进行比较即可。
-
我也不得不降级到 1.8.4。我想知道这是否相关:sourceforge.net/p/miktex/bugs/2144