最近在網路瀏覽網頁的時候發現amule-dlp這個東東, 可以防止一些吸血騾, 我也抓下來試試能不能在我的BCM4780 NAS上跑...不過編譯的時候出現了問題....
....
Compiling BaseClient.cpp
antiLeech.cpp: In member function ‘const wxChar* CantiLeech::DLPCheckNameAndHashAndMod(CString, CString&, CString&)’:
antiLeech.cpp:1207: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/wx-2.8/wx/string.h:1423: note: candidate 1: wxString operator+(wxChar, const wxString&)
CString_wx.h:20: note: candidate 2: CString operator+(const CString&, const CString&)
antiLeech.cpp:1207: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/wx-2.8/wx/string.h:1423: note: candidate 1: wxString operator+(wxChar, const wxString&)
CString_wx.h:20: note: candidate 2: CString operator+(const CString&, const CString&)
make[3]: *** [amule-BaseClient.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2