From: DavMac AT iname DOT com (Davin McCall) Newsgroups: comp.os.msdos.djgpp Subject: Program hangs gpp Date: Wed, 15 Sep 1999 09:01:57 GMT Organization: Monash Uni Lines: 28 Distribution: world Message-ID: <37df6066.20939126@newsserver.cc.monash.edu.au> NNTP-Posting-Host: damcc5.halls.monash.edu.au X-Trace: towncrier.cc.monash.edu.au 937386115 5710 130.194.198.138 (15 Sep 1999 09:01:55 GMT) X-Complaints-To: abuse AT monash DOT edu DOT au NNTP-Posting-Date: 15 Sep 1999 09:01:55 GMT X-Newsreader: Forte Free Agent 1.1/32.230 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Just mucking around with C++ recently, and noticed that the following short program takes *ages* for gpp to compile (without optimization or anything, command line: gpp -o test.exe test.cpp). Can anyone fill me in on why it takes so long? Davin. --- begin --- #include class X { int value; public: X( int a ) { value = a; cout << "X(int)" << endl; } }; main() { X a = 1; a = X(2); } --- end --- __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/