Bug in bsecxxutils.h



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; }

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?




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