← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Use assert from <cassert> instead of homemade version.

 

Maybe we should then just use assert() instead of dolfin_assert()?

It should be possible to just do

  scripts/dolfinreplace dolfin_assert assert

-- 
Anders


On Fri, Jul 10, 2009 at 01:29:23PM +0200, DOLFIN wrote:
> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   6473:f2de968384b26576ebad39f0dc87538d0934a439
> tag:         tip
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Fri Jul 10 12:29:15 2009 +0100
> files:       dolfin/log/Logger.cpp dolfin/log/Logger.h dolfin/log/log.cpp dolfin/log/log.h
> description:
> Use assert from <cassert> instead of homemade version.
> 
> This one deals properly with debug flags which avoids problems with unused variables. Also means less code in the log classes.
> 
> 
> changeset:   6472:939866bbaa2e25ef730cd7c6c18e005a8c71487d
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Fri Jul 10 11:28:20 2009 +0100
> files:       SConstruct
> description:
> Fix build when optimise is enabled.
> 
> 
> changeset:   6471:93ed2d44622a2ea7588132548e96282d0dec19d7
> user:        "Johan Hake <hake@xxxxxxxxx>"
> date:        Fri Jul 10 12:06:42 2009 +0200
> files:       bench/mesh/main.cpp
> description:
> Another try to fix compilation problems on Windows
> 
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


Follow ups

References