https://software.codidact.com/categories/38/tags/6741.rssNew Posts Tagged 'clang' - Software DevelopmentSoftware Development - Codidact2022-06-27T09:24:11Zhttps://software.codidact.com/posts/286627Assert that some code is not present in the final binary, at compile or link time.alxhttps://software.codidact.com/users/539372022-06-23T12:45:14Z2022-06-27T09:24:11Z<p>I'd like to assert that some code can be optimized out, and is not present in the final binary object.</p>
<pre><code class="language-c">#define CONSTANT 0
#if (!CONSTANT)
[[landmine_A]]
...