問題タブ [alloca]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
196 参照

c++ - この CMake スクリプトが「alloca」を見つけても失敗するのはなぜですか?

私はalloca自分のプロジェクトの 1 つで関数を使用しており、CMake を使用して使用できるようにすることにしました。そこで、このビットを CMakeLists.txt ファイルに追加しました。

CMake を実行すると、これは (の関連部分) 出力です。

では、示されているコードが関数を見つけたのに、変数を設定していないのはなぜでしょうか? それとも別のものですか?