雖然嘗試編譯猞猁,我用了「有-dmalloc」配置選項。但是編譯中止,產生這個錯誤:程序配置爲使用dmalloc紓困爲由頭文件中的錯誤
/usr/include/dmalloc.h:460: error: expected identifier or '(' before '__extension__' > /usr/include/dmalloc.h:484: error: expected identifier or '(' before '__extension__' > make[1]: *** [HTParse.o] Error 1 > make[1]: Leaving directory `/tmp/lynx2-8-8/WWW/Library/Implementation' > make: *** [all] Error 2
這就是出錯的行dmalloc.h保持:
> Line 460: char *strdup(const char *string);
> Linu 484: char *strndup(const char *string, const DMALLOC_SIZE len);
的文件也可以在http://www.filewatcher.com/p/dmalloc-5.5.2.tbz.467309/include/dmalloc.h.html
發展上dmalloc觀看了幾乎停下來,所以並沒有真正期望從上游獲得修復。任何幫助?