<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[pragma]]></title><description><![CDATA[<p>kann man per pragma die Warning wie &quot;warning: variable / argument 'xxxx' is not used in function&quot; abschalten?<br />
ich weiss, man kann so machen</p>
<pre><code class="language-cpp">void foo (int /*in_var*/)
{
}
</code></pre>
<p>aber in meinem projekt gibt es mehr als 3000 solche Warnings, ich will aber nicht einzelne Datei durchgehen und korrigieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163643/pragma</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 06:45:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163643.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Oct 2006 17:01:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pragma on Tue, 31 Oct 2006 17:01:10 GMT]]></title><description><![CDATA[<p>kann man per pragma die Warning wie &quot;warning: variable / argument 'xxxx' is not used in function&quot; abschalten?<br />
ich weiss, man kann so machen</p>
<pre><code class="language-cpp">void foo (int /*in_var*/)
{
}
</code></pre>
<p>aber in meinem projekt gibt es mehr als 3000 solche Warnings, ich will aber nicht einzelne Datei durchgehen und korrigieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165544</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165544</guid><dc:creator><![CDATA[netrobot]]></dc:creator><pubDate>Tue, 31 Oct 2006 17:01:10 GMT</pubDate></item><item><title><![CDATA[Reply to pragma on Tue, 31 Oct 2006 20:21:17 GMT]]></title><description><![CDATA[<p>ich wuerde dir an der stelle eher raten die warnungen zu loesen anstatt sie zu ignorieren</p>
<p>zb</p>
<pre><code class="language-cpp">int foo(int bar = 0);
.
.
.
int foo(int bar)
{
    //blablubber;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1165736</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165736</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Tue, 31 Oct 2006 20:21:17 GMT</pubDate></item><item><title><![CDATA[Reply to pragma on Wed, 01 Nov 2006 06:22:38 GMT]]></title><description><![CDATA[<p>MSVC:</p>
<pre><code>#pragma warning(disable: 1234)
</code></pre>
<p>1234 ist die Nummer der Warning (erscheint im Ausgabefenster als &quot;C1234&quot;).</p>
<p>Andere Compiler weiss ich net. Is net Standard, is ne Extension.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165884</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Wed, 01 Nov 2006 06:22:38 GMT</pubDate></item></channel></rss>