以下の内容はhttps://www.hanachiru-blog.com/entry/2022/06/06/120000より取得しました。


【XCode】'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributesというエラーの対処法

はじめに

XCodec++のライブラリを作成しようとしたところ、以下のようなエラーが出てきてしまいました。

'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes

一応解決できたので対処法をメモしておきます。

対処法

対処法

上の画像を参考にしながら、Custom Compiler FlagsOther C++ Flags-fdeclspecを追加すればOKです。




以上の内容はhttps://www.hanachiru-blog.com/entry/2022/06/06/120000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14