------- Additional Comments From gdr at integrable-solutions dot net 2005-05-18 14:04 ------- Subject: Re: templates and anonymous enum
"papadopo at shfj dot cea dot fr" <[EMAIL PROTECTED]> writes: [...] | Therefore: | | * Concerning 1.a) and 1.b) I'm not convinced this is related to Core Issue 278 | and external linkage since the explicit cast works. Anyway, if you feel Core | Issue 278 or some paragraph of the standard forbid the implicit cast, I agree | this bug report should be kept open until the comitee resolves the problem. The way it is related is that the CWG has introduced the concent of linkage for type -- which did not exist in ARM and existed only for function type in C++98/03 and the unnamed enum no longer has an external linkage. As I said on fr.comp.lang.c++, I brought the issue to the C++ committee and I think the issue should not be closed. The answer I gave you was much more detailed and accurate that what you report here :-) -- in particular, the ocmpiler is attempting to do overload resolution and it is in the phase of constructing the overload set that the error appears. But, the whole thing is confused :-) -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21514