Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dll にメソッドを隠す方法を探していました。MSVC では、def ファイルを作成し、それを NONAME 属性にリンクする方法があります (こちらを参照)。
MinGWでも同じことが可能ですか?
GCC 拡張機能である可視性属性を使用できます。
__attribute__ ((visibility ("hidden")))