This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc-2.95.1, templates, internal compiler error


> here is a bug report for an internal compiler error, probably due to
> templates black magic.

Thanks for your bug report. gcc-2.95.2 still crashes; the mainline
compiler reports

refcontainer.cpp: In method `AutoUpdateMathsContainer<T, W, Item, Out>::AutoUpdateMathsContainer (const T &, const W &, const W &, const Out &, const Out &) [with T = long double, W = unsigned int, Item = AutoUpdateWeightItem, Out = long double]':
main.cpp:136:   instantiated from here
refcontainer.cpp:1006: initializer list being treated as compound expression
refcontainer.cpp:1006: conversion from `const unsigned int' to non-scalar type `template <{template default argument error}, {template default argument error}> class AutoUpdateWeightItem' requested

so it seems the bug has been fixed.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]