> -----Original Message----- > From: Martin Sebor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 15, 2008 9:06 AM > To: [email protected] > Subject: Re: svn commit: r648131 - in /stdcxx/trunk/tests: > localization/ strings/ > > [EMAIL PROTECTED] wrote: > > Author: faridz > > Date: Mon Apr 14 23:51:12 2008 > > New Revision: 648131 > > > > URL: http://svn.apache.org/viewvc?rev=648131&view=rev > > Thanks for cleaning this up! > > I wonder if it would make sense to enhance rw_printf() to check > and assert the correct alignment of the arguments to help us > detect at least some of these inconsistencies. > > Opinions?
Most certainly. I remember reading an old book called Writing Solid Code and going to a lot of trouble to diagnose complex usage semantics like this is usually well worth it especially when there's really no documentation to guide correct usage. :) Brad.
