Re: [Libmesh-devel] libmesh_assert variants

2012-09-13 Thread Roy Stogner
On Thu, 13 Sep 2012, Derek Gaston wrote: On Thu, Sep 13, 2012 at 12:27 PM, Roy Stogner wrote:   Actually, point me to the 2008 thread?  It's possible that I was wrong and have since learned the error of my ways. http://comments.gmane.org/gmane.comp.mathematics.libmesh.devel/620

Re: [Libmesh-devel] libmesh_assert variants

2012-09-13 Thread Derek Gaston
On Thu, Sep 13, 2012 at 12:27 PM, Roy Stogner wrote: > Vengeance is yours? > lol > Actually, point me to the 2008 thread? It's possible that I was wrong > and have since learned the error of my ways. http://comments.gmane.org/gmane.comp.mathematics.libmesh.devel/620 > On the other hand, I

Re: [Libmesh-devel] libmesh_assert variants

2012-09-13 Thread Roy Stogner
On Thu, 13 Sep 2012, Derek Gaston wrote: > Hmmm... There was a discussion all the way back in 2008 where I was > wanting to get better error messages out of libMesh... and Roy shot > me down ;-) Vengeance is yours? Actually, point me to the 2008 thread? It's possible that I was wrong and have

Re: [Libmesh-devel] libmesh_assert variants

2012-09-13 Thread Derek Gaston
Hmmm... There was a discussion all the way back in 2008 where I was wanting to get better error messages out of libMesh... and Roy shot me down ;-) Instead of specialized assert functions like this (have you been spending too much time with cpp_unit?? ;-) why not just make libmesh_assert() take a

Re: [Libmesh-devel] libmesh_assert variants

2012-09-12 Thread Roy Stogner
On Fri, 18 May 2012, Roy Stogner wrote: > Would it make sense to have a few variant macros for common assertion > cases, so that when those (debug+devel-mode) assertions get tripped we > can immediately print more information about the failure? > > E.g. whereas > libmesh_assert(a < b); > fails w

[Libmesh-devel] libmesh_assert variants

2012-05-18 Thread Roy Stogner
IIRC I got shot down pretty unanimously the last time I proposed a new libmesh_error/libmesh_assert type macro, but for this proposal I think it's worth trying again: Would it make sense to have a few variant macros for common assertion cases, so that when those (debug+devel-mode) assertions get