This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.1, templates, internal compiler error
- To: ficetj at tcd dot ie
- Subject: Re: gcc-2.95.1, templates, internal compiler error
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 30 Oct 1999 00:46:18 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <3818AE43.A7EFEFFC@tcd.ie>
> 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