now, i'm not reporting a bug or anything, like some people like to do, like, "my program won't compile, so i must've found a bug in msvc++" kinda crap.
check out this whopper of an error message I got:
D:\temp\Code\GLEngine\GLEngine.cpp(455) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Command line warning D4028 : minimal rebuild failure, reverting to normal build
Error executing cl.exe.
woo hoo!
kewl stuff.
it's funny. i tried locating the offending line, so i commented out everything, and started some trial and error. I eventually found out that it was the constructor. it's a void constructor that initializes data through that whole :mData1( Data1 ),mData2( mData2 ) kinda syntax.
i replaced it w/ just a void constructor w/ empty brackets and it worked. wow
here it is if ya care:
template<class K,class T> class xTreeNode
{
K Key;
T Data;
typedef xTreeNode<T,K> Node;
typedef Node* pNode;
pNode pParent;
int nChildren;
pNode *ppChild;
// xTreeNode( void ) {}
xTreeNode( void ): pParent( 0 ),nChildren( 0 ),ppChild( 0 );
};
lol, i just realized what it was after i pasted it here... !!!
there's no empty {} at the end of the initialization constructor (which i've now fixed and feel stupid about). sorry, that part was wider than my screen width w/ the workspace window there, i'd just assumed i'd had it...
i dunno, i just think it's a pretty scary error to print when you just messed up some syntax... i'd rather it say "expecting "{" before "}" " or somesuch
-thank you for ur bandwidth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have no name that you may call me. I am merely
Succinct.
~Succinct Demos Online~
"Hey, where'd that display list rotate off to now?"
-(Drop me a line here)-
Edited by - Succinct on 12/19/00 2:36:13 PM