[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 1/2] Add a scoped warning disabler.
From: |
Jason Riedy |
Subject: |
Re: [RFC PATCH 1/2] Add a scoped warning disabler. |
Date: |
Thu, 06 Dec 2007 16:46:34 -0800 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
And John W. Eaton writes:
> Any change like this will have to wait until after 3.0.
No hurries. This is just to support a sparse->dense warning that
I'm going to use personally. I'll at least get some warning
before I nuke the IA64 nodes here. You can densify a huge matrix
accidentally...
> Can you please explain what this does/how it is used?
In the next patch, sparse.cc(Ffull) will have
DEFUN_DLD (full, ...)
{
const octave_warning_suspend densifies("Octave:unexpectedly-densifying");
...
}
Then the warning is disabled on entry (if enabled) and reset to
the entry state on exit.
Oh, hell. I sent a bogus 2/2 patch.
Jason