Akim Demaille wrote:

> Please, torture this beta, and report your mileage!

Using "-Werror -Wold-style-cast", I get the following warning.
Otherwise, it seems to work fine for me.

  In member function 'std::ptrdiff_t yy::TMathParser::stack<T, S>::ssize() 
const':
  error: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} 
[-Werror=old-style-cast]

I think this will be fixed by using a simple type conversion (or
otherwise a static_cast) instead of the old-style cast:

  -        return (std::ptrdiff_t) size ();
  +        return std::ptrdiff_t (size ());

Regards,
Frank

Reply via email to