|
From: <lz...@vi...> - 2006-03-14 15:34:51
|
Ok "-w" works, but does it disable all warning message ? I don't want to disable all warning messages, but just the division by zero... Does exist any compiler flag in order to enable/disable specific warning- messages in a selective way ? ----Messaggio originale---- Da: chi...@co... Data: 14-mar-2006 14.31 A: <mingw-users@lists. sourceforge.net> Ogg: Re: [Mingw-users] disable division by zero warning On 2006-3-14 8:11 UTC, lz...@vi... wrote: > > How can I disable a specific gcc/g++ warning like "division by zero" ? Try the '-w' flag if you really must disable that warning. But why do want to do that? If you need to generate an infinity explicitly, use: std:: numeric_limits<double>::infinity() ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge. net/lists/listinfo/mingw-users |