Bug report: visual C++

G

Guest

Found in versions: visual C++ 2003 & 2005

Problem:

while compiling this cpp file:

class Base
{
template<int>
void foo();
};

class Derived:public Base
{
template<>
void foo<0>();
};

the result given by compiler is:

fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2708)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
 
J

Jack Klein

Found in versions: visual C++ 2003 & 2005

What makes you think this newsgroup is Microsoft's Technical Support
Department?
Problem:

while compiling this cpp file:

class Base
{
template<int>
void foo();
};

class Derived:public Base
{
template<>
void foo<0>();
};

the result given by compiler is:

fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2708)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

I suggest you look on Microsoft's web site for some way to report this
to them. I compiler problem is NOT a C++ language issue.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top