On Wednesday 19 September 2007 07:26:06 Abdelrazak Younes wrote: > Why does he run an assertion enabled binary anyway? The packager > (scons?) should disable assertion for Release mode. > > I mean, either we disable the assertion or we do something useful with > it, like warn the user about a problem and let him choose to ignore the > problem or not. If we implement the later, we should replace all non > obvious assertions (like the one in the example) with exceptions.
You are right, assertions are disabled for releases. If they are not then that is a bug. > Abdel. -- José Abílio