$FreeBSD$ --- util/src/Yagol.h.orig Tue Aug 10 16:42:48 2004 +++ util/src/Yagol.h Tue Aug 10 16:43:29 2004 @@ -298,6 +298,8 @@ template < class Type > string AboveRangeException::message() const { + Type value; + Type limit; return "value " + doctorj::StringUtilities::toString(value()) + " is above the upper bound " + doctorj::StringUtilities::toString(limit()); } @@ -339,6 +341,8 @@ template < class Type > string BelowRangeException::message() const { + Type value; + Type limit; return "value " + doctorj::StringUtilities::toString(value()) + " is below the lower bound " + doctorj::StringUtilities::toString(limit()); } @@ -1991,7 +1995,7 @@ vector* const values) { ArgCallback >* validator = - new GroupValidator >(value, valids, nValids); + new GroupValidator >(values, valids, nValids); return addOption(new OptionMultiValues(name, description, validator, strictArgs_)); }