Error with default enum template parameter

Mark Mitchell mmitchell@usa.net
Mon Jan 26 10:09:00 GMT 1998


>>>>> "Andrey" == Andrey Slepuhin <pooh@msu.ru> writes:

    Andrey> The following trivial example breaks egcs-980122:

    Andrey> -----------test1.cc---------------- typedef enum { x1, x2
    Andrey> } enum_type;

    Andrey> template <enum_type t=x1> struct X{};

I'm looking at this and some other related brokenness reported
earlier.  Expect a patch soon; some changes I made last week (which
made progress on other fronts) broke this.

Sorry,

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu




More information about the Gcc mailing list