Login  Register

Re: Bug in Handle::operator==?

Posted by Luigi Ballabio-2 on Jul 08, 2004; 2:11am
URL: http://quantlib.414.s1.nabble.com/Bug-in-Handle-operator-tp3035p3037.html

On 2004.07.08 10:04, [hidden email] wrote:
> If ENABLE_ERROR_LINES is defined and Error::where() is used (e.g. in
> QL_ASSERT()), file and line are written into a C string 'char[100]',
> which causes memory violation for very long file names. Is there a
> reason why no std::string is used here?

No reason--it's an oversight. It will be fixed in next release.

Thanks,
        Luigi