469,889 Members | 1,273 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

[Fw] Template friend function injection

Hi, I'd like to point out this post on the comp.lang.c++ newsgroup in
which I present some code that I've been told is perfectly legitimate
and standard-compliant. The problem I'm having with vc++ is that the
compiler crashes with a fatal internal error, specifically: "fatal
error C1001: An internal error has occurred in the compiler. (compiler
file 'msc1.cpp', line 1393)"

I've also forwarded this post to the g++/gcc newsgroups because even
gcc is having troubles with this code. Although it doesn't crashes, it
gives an error at linking time. The third and last compiler I tried
(and the only one which gets the job done) is Open Watcom which seems
to compile and link the code just fine (at least if I run the
executable, it works).

Post: http://groups.google.com/group/comp....afd501c807ffe#

Thanks.
Jul 21 '08 #1
1 1104
I forgot to mention that I've tried this code on vc++ 8 and that
someone on the c++ newsgroup tried it on visualc++ 9 with the same
result.
Jul 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Christophe Barbe | last post: by
2 posts views Thread by Christophe Barbe | last post: by
1 post views Thread by Dmitry D | last post: by
5 posts views Thread by Trevor Lango | last post: by
5 posts views Thread by Ruben Campos | last post: by
3 posts views Thread by Hamilton Woods | last post: by
9 posts views Thread by neildferguson | last post: by
21 posts views Thread by H9XLrv5oXVNvHiUI | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.