Error when exiting app with -DNDEBUG but OK with -g

Steven Boswell II ulatekh at yahoo.com
Tue May 21 13:09:03 UTC 2013


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.  If you're not already building with "-Wall", do so, and look at all your warnings.



________________________________
 From: Richard Shaw <hobbes1069 at gmail.com>
To: Steven Boswell II <ulatekh at yahoo.com>; Fedora MinGW (Windows cross-compiler) project <mingw at lists.fedoraproject.org> 
Sent: Tuesday, May 21, 2013 6:01 AM
Subject: Re: Error when exiting app with -DNDEBUG but OK with -g
 


On Mon, May 20, 2013 at 5:14 PM, Steven Boswell II <ulatekh at yahoo.com> wrote:

Well, you're going to need a programmer to fix that one.
>
>You're also going to need symbols.  Make a debug build of your program, and install debug symbols for the packages you're using.  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".  You'll have to enable the "debuginfo" repos, by adding "--enablerepo=\*debuginfo" to your "yum" command line.
>

Hmm... When I build with -g just on FreeDV though the problem doesn't manifest...

Thanks for the hints though, I've forwarded it to the FreeDV developer list.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/mingw/attachments/20130521/47e900b8/attachment.html>


More information about the mingw mailing list