Re: Bug in bsecxxutils.h

On Sat, 17 Jul 2004, J Scott Berg wrote:

> gcc 3.4.1 trips over some bogus code in bsecxxutils.h:
> template<typename What, typename Reason> void invalid_type () {
> TEMPLATE_ERROR::abort; }
> template<typename TYPE> void invalid_argument_type () {
> TEMPLATE_ERROR::abort; }

what is the exact error message you're getting?

> I replaced TEMPLATE_ERROR::abort with abort() and it compiles.  I'm
> guessing earlier compiler versions don't have problems because that code
> path never gets executed?

nope, the code isn't gcc-3.4 proof yet.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]