<?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[[Help]Redefinition-&amp;gt; different storage class??]]></title><description><![CDATA[<p>Hi liebe Cplusplus Gemeinde <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /></p>
<p>Bei mir gibts folgendes Problem, beim kompelieren kommt das in der Fehler-Box:</p>
<pre><code>--------------------Configuration: RSA - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
Abstract.cpp
Decrypt.cpp
RSA.cpp
RSADlg.cpp
c:\semi\quellcode\genprimeno.cpp(59) : warning C4101: 'tmp' : unreferenced local variable
C:\Semi\Quellcode\RSADlg.cpp(13) : error C2370: 'THIS_FILE' : redefinition; different storage class
        c:\semi\quellcode\genprimeno.cpp(11) : see declaration of 'THIS_FILE'
Encrypt.cpp
GenPrimeNo.cpp
C:\Semi\Quellcode\GenPrimeNo.cpp(59) : warning C4101: 'tmp' : unreferenced local variable
RSAGEN.CPP
C:\Semi\Quellcode\RSAGEN.CPP(108) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Semi\Quellcode\RSAGEN.CPP(136) : warning C4244: '=' : conversion from 'float' to 'long', possible loss of data
C:\Semi\Quellcode\RSAGEN.CPP(154) : warning C4018: '&lt;' : signed/unsigned mismatch
C:\Semi\Quellcode\RSAGEN.CPP(159) : warning C4018: '&lt;' : signed/unsigned mismatch
Generating Code...
Error executing cl.exe.

RSA.exe - 1 error(s), 6 warning(s)
</code></pre>
<p>Die Warnings sind mir eigentlich egal( die genauigkeit spielt nicht die rolle), aber der Error Message kapier ich echt nicht O_O.<br />
Hier ist die Code Stelle</p>
<pre><code class="language-cpp">#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
</code></pre>
<p>Das Projekt hab ich auf nen Webspace hochgeladen wenn ihrs für die Felhersuche brauchen könntet <a href="http://mitglied.lycos.de/anderleanderle3/Quellcode.rar" rel="nofollow">http://mitglied.lycos.de/anderleanderle3/Quellcode.rar</a></p>
<p>Bitte bitte helft mir, ich komm nich weiter... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Tschüss, euer Darkie</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/77489/help-redefinition-gt-different-storage-class</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 12:14:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/77489.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Jun 2004 18:03:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Help]Redefinition-&amp;gt; different storage class?? on Mon, 21 Jun 2004 18:03:46 GMT]]></title><description><![CDATA[<p>Hi liebe Cplusplus Gemeinde <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /></p>
<p>Bei mir gibts folgendes Problem, beim kompelieren kommt das in der Fehler-Box:</p>
<pre><code>--------------------Configuration: RSA - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
Abstract.cpp
Decrypt.cpp
RSA.cpp
RSADlg.cpp
c:\semi\quellcode\genprimeno.cpp(59) : warning C4101: 'tmp' : unreferenced local variable
C:\Semi\Quellcode\RSADlg.cpp(13) : error C2370: 'THIS_FILE' : redefinition; different storage class
        c:\semi\quellcode\genprimeno.cpp(11) : see declaration of 'THIS_FILE'
Encrypt.cpp
GenPrimeNo.cpp
C:\Semi\Quellcode\GenPrimeNo.cpp(59) : warning C4101: 'tmp' : unreferenced local variable
RSAGEN.CPP
C:\Semi\Quellcode\RSAGEN.CPP(108) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
C:\Semi\Quellcode\RSAGEN.CPP(136) : warning C4244: '=' : conversion from 'float' to 'long', possible loss of data
C:\Semi\Quellcode\RSAGEN.CPP(154) : warning C4018: '&lt;' : signed/unsigned mismatch
C:\Semi\Quellcode\RSAGEN.CPP(159) : warning C4018: '&lt;' : signed/unsigned mismatch
Generating Code...
Error executing cl.exe.

RSA.exe - 1 error(s), 6 warning(s)
</code></pre>
<p>Die Warnings sind mir eigentlich egal( die genauigkeit spielt nicht die rolle), aber der Error Message kapier ich echt nicht O_O.<br />
Hier ist die Code Stelle</p>
<pre><code class="language-cpp">#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
</code></pre>
<p>Das Projekt hab ich auf nen Webspace hochgeladen wenn ihrs für die Felhersuche brauchen könntet <a href="http://mitglied.lycos.de/anderleanderle3/Quellcode.rar" rel="nofollow">http://mitglied.lycos.de/anderleanderle3/Quellcode.rar</a></p>
<p>Bitte bitte helft mir, ich komm nich weiter... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Tschüss, euer Darkie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/545205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/545205</guid><dc:creator><![CDATA[AF_Darki]]></dc:creator><pubDate>Mon, 21 Jun 2004 18:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to [Help]Redefinition-&amp;gt; different storage class?? on Mon, 21 Jun 2004 18:35:16 GMT]]></title><description><![CDATA[<p>Man #included keine .cpp-Dateien.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/545230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/545230</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Mon, 21 Jun 2004 18:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to [Help]Redefinition-&amp;gt; different storage class?? on Mon, 21 Jun 2004 18:47:02 GMT]]></title><description><![CDATA[<p>Oh nein wie peinlich</p>
<p>-.-</p>
<p>naja, ich habs nich gemesehen, wenn ich mal so im schreibwahn bin dann tippe ich oft mist <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /></p>
<p>Malschaun obs klappt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/545243</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/545243</guid><dc:creator><![CDATA[AF_Darki]]></dc:creator><pubDate>Mon, 21 Jun 2004 18:47:02 GMT</pubDate></item><item><title><![CDATA[Reply to [Help]Redefinition-&amp;gt; different storage class?? on Mon, 21 Jun 2004 19:00:10 GMT]]></title><description><![CDATA[<p>Ahahaha, danke,</p>
<p>*schmatz*</p>
<p>Danke, *FREU*</p>
<p>Danke Danke Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /></p>
<p>es hätte auch .h heissen sollen, nicht cpp. Ich hab schon gedacht ich muss weiss gott was machen, alles neu schreiben, dann nur ne endung umschreiben</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /></p>
<p>Danke dir</p>
]]></description><link>https://www.c-plusplus.net/forum/post/545257</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/545257</guid><dc:creator><![CDATA[Ad_Darki]]></dc:creator><pubDate>Mon, 21 Jun 2004 19:00:10 GMT</pubDate></item></channel></rss>