|
From: Greg C. <chi...@co...> - 2006-03-14 13:31:41
|
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() |