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