← Back to team overview

yade-dev team mailing list archive

Re: Assert's not removed by the compiler?

 

Hi Bruno,

you are right. Should be fixed already:

https://github.com/yade/trunk/commit/b0f00cf3a2ffb4aad93143d9f5b5bf4fd3da6133

Anton


2015-11-10 18:52 GMT+01:00 Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>:
> Hi,
> I just found that some asserts were effectively checked when yade is
> compiled in release mode.
> Is that expected behavior? Then how can we disable them?
> I know CGAL, to name one, as a huge number of them and they should be
> disabled for efficient production.
> Thanks for advices
> Bruno


References