<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">The vast majority of the time, when you have a bug that manifests in a release build but not a debug build, the compiler warnings indicate what's going on.&nbsp; If you're not already building with "-Wall", do so, and look at all your warnings.<br><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Richard Shaw &lt;hobbes1069@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Steven Boswell II &lt;ulatekh@yahoo.com&gt;; Fedora MinGW (Windows cross-compiler) project &lt;mingw@lists.fedoraproject.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday,
 May 21, 2013 6:01 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Error when exiting app with -DNDEBUG but OK with -g<br> </font> </div> <div class="y_msg_container"><br><div id="yiv2099638604"><div dir="ltr">On Mon, May 20, 2013 at 5:14 PM, Steven Boswell II <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:ulatekh@yahoo.com" target="_blank" href="mailto:ulatekh@yahoo.com">ulatekh@yahoo.com</a>&gt;</span> wrote:<br><div class="yiv2099638604gmail_extra"><div class="yiv2099638604gmail_quote">
<blockquote class="yiv2099638604gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;">Well, you're going to need a programmer to fix that one.<br>
<br>You're also going to need symbols.&nbsp; Make a debug build of your program, and install debug symbols for the packages you're using.&nbsp; Usually they're in packages called "debuginfo" with the prefix of the package that they belong to, e.g. "mingw32-libsox-debuginfo" and "mingw32-wxWidgets-debuginfo".&nbsp; You'll have to enable the "debuginfo" repos, by adding "--enablerepo=\*debuginfo" to your "yum" command line.<br>
</div></div></blockquote><div><br></div><div style="">Hmm... When I build with -g just on FreeDV though the problem doesn't&nbsp;manifest...</div><div style=""><br></div><div style="">Thanks for the hints though, I've forwarded it to the FreeDV developer list.</div>
<div style=""><br></div><div style="">Richard</div></div></div></div></div><br><br></div> </div> </div>  </div></body></html>