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]
Other format: [Raw text]

[Bug c++/21244] Confusion in template instantiation


------- Additional Comments From dominik dot strasser at infineon dot com  2005-04-27 06:54 -------
Created an attachment (id=8747)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8747&action=view)
Source file illustrating the faulty behavior

Error messages:
gcc4_template.C: In function ‘void foo()’:
gcc4_template.C:17: error: &#8216;Encoding::<anonymous enum>&#8217; is/uses
anonymous type
gcc4_template.C:17: error:   trying to instantiate &#8216;template<class T>
bool operator>(const Mpz&, T)&#8217;


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21244


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