Or perhaps a perl 1 liner :) I will check out the code base and take a look.

Gareth

On 12 Jul 2011, at 04:55, Michael Glavassevich wrote:

> Perhaps there's an IDE which would make that easier. For example, for Java 
> development Eclipse has a feature for refactoring code that can rename a type 
> and update all references to it in the code.
> 
> Michael Glavassevich
> XML Parser Development
> IBM Toronto Lab
> E-mail: mrgla...@ca.ibm.com
> E-mail: mrgla...@apache.org
> 
> shath...@e-z.net wrote on 07/11/2011 04:09:20 PM:
> 
> > There are lots of places in the XALANC code where
> > using STL (Standard Template Library) interface
> > renames the type 'void' to 'result_type' and therefore
> > confuses GCC and other compilers, resulting in
> > warnings - requesting a return statement.
> > 
> > A 'void' function result type means that there
> > should not be a return statement.
> > 
> > The file STLHelper.hpp is just one instance in the
> > XALANC code.  See: JIRA XALANC-570
> > 
> > The warnings do not create bad code! I don't have
> > the time to find all such occurrences at this time.
> > 
> > To maintain consistency in the code base, XALANC-570
> > should probably not be committed, maintaining
> > compatibility throughout the code base.
> > 
> > Sincerely,
> > Steven J. Hathaway
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
> > For additional commands, e-mail: xalan-dev-h...@xml.apache.org
> 

-- 
Gareth Reakes, CTO         WE7 - Great Music, Free
+44-20-7117-0809                    http://www.we7.com

“The music business is a cruel and shallow money trench, a long plastic hallway 
where thieves and pimps run free, and good men die like dogs. There's also a 
negative side. “
- Hunter S. Thompson



Reply via email to