タグ

name manglingに関するfimbulのブックマーク (2)

  • C++ Name Mangling/Demangling

    C++ Name Mangling/Demangling Archived Document This document is no longer current. For an excellent, more recent discussion, see Agner Fog's Calling Conventions for different C++ compilers and operating systems. Standard C++ Example The Annotated C++ Reference Manual documents one name mangling scheme. Gnu C++ The name mangling scheme seems to be based on the one in the C++ Reference Manual, and i

  • name mangling と extern "C" - memologue

    さて、T君と飲んだ理由は、昼間にオシゴトの技術的な相談に乗ってあげたからなのだが…。平日昼に急に携帯に電話がかかってきてビックリした。曰く、 ずっとJ2EEなコードを書いて暮らしていたのだが、わけあって急にVxWorksとC++で組み込み機器向けのコードを書くことになった。が、組み込みやC++に詳しい人間が全く居なくて難航している。 現状誤動作しており、とりあえず早急に修正しなければならないコードがあるのだが、誤動作の原因がさっぱりわからない。相談に乗ってもらえないか。ていうか助けて。コンパイラはGNUのを使っている。Cを学んだ事はある。 へいへいOKOK。 構造体Aがある。この構造体はa.hで定義されている。 構造体Aを操作する関数fooがある。fooのプロトタイプはfoo.hに書いてあり、int foo(A* a); となっている。foo.cppで関数fooが実装されている。 今問題を

    name mangling と extern "C" - memologue
  • 1