<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Release/Debug configurations in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935249#M15713</link>
    <description>Without seeing a complete example, I couldn't say one way or another.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 17 Jan 2001 05:08:26 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-01-17T05:08:26Z</dc:date>
    <item>
      <title>Release/Debug configurations</title>
      <link>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935245#M15709</link>
      <description>I'm using CVF 5.0 (OK, I know it's time to upgrade, I'm pressing my boss for last 6 months, but he's pretty resistant...). &lt;BR /&gt; &lt;BR /&gt;1) Is there a predefined preprocessor constant to determine whether the current project configuration is "DEBUG" or "RELEASE", &lt;BR /&gt;named, say, "_DEBUG" (to be examined with !DEC$IF DEFINED)? OK, I know I can (un)define one for each configuration, but I'm a bit lazy to do a "rebuild all" on 200 source files for FOUR configurations &lt;BR /&gt;(two languages * debug/release). &lt;BR /&gt; &lt;BR /&gt;2) Is it possible to insert debug information into "Release" configuration with CVF 5.0? I turned "Full debugging" on &lt;BR /&gt;in ...Settings/Fortran/Debug and rebuilt, but I still get "...does &lt;BR /&gt;not contain debug information" message. You guess, my release &lt;BR /&gt;version somewhere crashes while debug doesn't and I don't have &lt;BR /&gt;a mild idea where. I know it's I that screwed something somewhere, just if I could easily know where... &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Tue, 16 Jan 2001 23:34:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935245#M15709</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-01-16T23:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Release/Debug configurations</title>
      <link>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935246#M15710</link>
      <description>Jugoslav, this happens to me when I try to debug a Fortran DLL in the CVF, AND the caller is a VB-program. Then it is the VB-program that "?dose not contain debug information". You write about many subroutines coded in 2 different languages. Could it be some of your callers that are written in a language other than Fortran, which dose not contains debug information? &lt;BR /&gt; &lt;BR /&gt;Regards, &lt;BR /&gt;Sabalan.</description>
      <pubDate>Wed, 17 Jan 2001 00:58:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935246#M15710</guid>
      <dc:creator>sabalan</dc:creator>
      <dc:date>2001-01-17T00:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Release/Debug configurations</title>
      <link>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935247#M15711</link>
      <description>To get debug info in a Release configuration, you also need to check a box under the Link settings to include debug info. &lt;BR /&gt;&lt;BR /&gt;There is no predefined symbol for a debug configuration.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 17 Jan 2001 01:17:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935247#M15711</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-01-17T01:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Release/Debug configurations</title>
      <link>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935248#M15712</link>
      <description>Thanks, it works now. &lt;BR /&gt;The problem was in the folowing piece of code (I removed optimisation from that source file): &lt;BR /&gt; &lt;BR /&gt;&lt;PRE&gt; 
MinObjX=MIN(MinXTSV,MinXCv)-10 
MinObjY=MIN(MinYTSV,MinYCv)-10 
MaxObjX=MAX(MaxXTSV,MaxXCv)+10 
MaxObjY=MAX(MaxYTSV,MaxYCv)+10 
mWidth=MaxObjX 
mHeight=MaxObjY 
&lt;/PRE&gt; &lt;BR /&gt; &lt;BR /&gt;The problem was that the code was "optimised" so that "intermediate" results MaxObjX and MaxObjY were skipped by optimizer and directly mWidth and mHeight were calculated. Only... those "intermediate" variables were &lt;B&gt;global&lt;/B&gt; (module) variables whose value was used later... and the program crashed at that later instance, since MaxObjX and MaxObjY were zero. &lt;BR /&gt; &lt;BR /&gt;Just curious... was it a known compiler bug fixed at a later CVF release or did I dig out something that survived up to the present days? I'm 99% sure it wasn't a "subtle programming error" by me, just compiler bug? &lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Wed, 17 Jan 2001 04:47:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935248#M15712</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-01-17T04:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Release/Debug configurations</title>
      <link>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935249#M15713</link>
      <description>Without seeing a complete example, I couldn't say one way or another.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 17 Jan 2001 05:08:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Release-Debug-configurations/m-p/935249#M15713</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-01-17T05:08:26Z</dc:date>
    </item>
  </channel>
</rss>

