0
Doxygen的正常工作與下面的簡單的例子:的Doxygen將無法解決引用命名空間中的typedef
/** \file */
/// This is an integer
typedef int myInteger;
/// This is the same as \ref myInteger
typedef myInteger myOtherInteger;
但它不會解決參考myInteger
如果我把它變成一個命名空間。
/** \file */
namespace bar {
/// This is an integer
typedef int myInteger;
/// This is the same as \ref myInteger
typedef myInteger myOtherInteger;
}
注意兩個都不選提到的myInteger
是鏈接現在。它也抱怨:
警告:無法爲\裁判命令
寫\ref bar::myInteger
不能幫助解決參考`myInteger」。
我該如何解決這個問題?
我有doxygen 1.8.13。
它似乎與[此錯誤](https://bugzilla.gnome.org/show_bug.cgi?id=600829)有關,但在1.7.0中標記爲已修復... – Szabolcs
當記錄命名空間欄,它也可以在將EXTRACT_ALL設置爲YES時起作用我在\ ref – albert
@albert之後看到myInteger我不想要'EXTRACT_ALL',但記錄命名空間確實有效。如果您將其作爲答案發布,我會接受它。但是,它也爲該命名空間創建了一個全新的部分和頁面,我希望避免這一點(無論如何,所有東西都在同一個命名空間中)。你知道這是否可以做到? – Szabolcs