From: Hubert Figuiere (hfiguiere_at_teaser.fr)
Date: Sat Mar 06 2004 - 02:40:49 EST
On Sat, 2004-03-06 at 02:49, msevior_at_physics.unimelb.edu.au wrote:
> >> In the mean time, I'll do something else: get rid of constant litterals
> >> for awml props values.
> >
> > Didn't fjf do something like this a few months back?
> >
>
> Yes. They're all there in pp_Property.cpp and pp_ProperMap.cpp but it's
> not enforced. You just UT_DEBUGMSG's if your get them wrong.
Or in the wrong order 8-)
> A good step
> would be to throw asserts instead.
Not assert. We might still encounter file with unknown prop (down
compatibility)
But the use of constants instead of litteral allow these errors to be
catched by the compiler.
Hub
This archive was generated by hypermail 2.1.4 : Sat Mar 06 2004 - 02:41:52 EST