1
爲什麼C++適合mingw bin的dir不能返回正確的結果?爲什麼C++適合mingw bin的dir無法返回預期結果?
C:\MinGW\bin>c++filt _Z5funcAv
_Z5funcAv
但在CentOS系統中,C++ filt可以返回正確的結果。
#c++filt _Z5funcAv
funcA()
如何理解?
爲什麼C++適合mingw bin的dir不能返回正確的結果?爲什麼C++適合mingw bin的dir無法返回預期結果?
C:\MinGW\bin>c++filt _Z5funcAv
_Z5funcAv
但在CentOS系統中,C++ filt可以返回正確的結果。
#c++filt _Z5funcAv
funcA()
如何理解?
剛剛遇到你的問題,因爲我有一個MinGW32類似的問題。
,我用的是-n
什麼做的工作「不要理會起始的下劃線」選項,所以我懷疑在默認選項的設置有所不同:
C:\MinGW\bin>c++filt -n _Z5funcAv
funcA()
C:\MinGW\bin>c++filt _Z5funcAv
_Z5funcAv
C:\MinGW\bin>c++filt __Z5funcAv
funcA()
C:\MinGW\bin>c++filt --version
GNU c++filt (GNU Binutils) 2.25.1
Copyright (C) 2014 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
我有沒有辦法解決同樣的問題:( – Buttink
@Buttink,似乎沒有人可以幫助我們。 – jiafu