From: Brian W. <bw...@st...> - 2002-11-11 02:07:01
|
At 11:43 11/11/2002, Lachlan Andrew wrote: >Greetings Brian, > >The latest version of defaults.cc that I >have is at <http://www.ee.mu.oz.au/staff/lha/defaults.cc>. >It includes all of my earlier changes, plus some >forward-ported 3.1.6 attributes. Well, I ran it through my defaults.xml builder and ( much to my chagrin! ) it didn't work straight up. I have sheepishly attached a slightly adjusted version of the builder..... >On Mon, 11 Nov 2002 10:35, Brian White wrote: > > At 17:44 8/11/2002, Gabriele Bartolini wrote: > > > we'd need to change the Configuration.[h,cc] files > > Those changes are all in the patch I supplied. >While we're changing Configuration.cc, what do people >think about issuing a warning if an attribute is not >found, rather than silently using the "default_value" >argument? That would remind developers to add the >attribute to defaults.xml and avoid having default >values scattered throughout the code... On the face of it, I think this is a good idea, but it would need to be carefully done... Brian |