From: "Paul Derbyshire" Newsgroups: comp.os.msdos.djgpp Subject: SEVERE PGCC BUG Lines: 55 Organization: The Chaos Zone MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 17 Apr 1998 04:19:02 GMT NNTP-Posting-Host: 206.172.182.118 NNTP-Posting-Date: Fri, 17 Apr 1998 00:19:02 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Take the code below, save it as foo.cc, and, having equipped yourself with pgcc 1.0.1 and the STL headers from gpp280b.zip, issue this: gcc -c foo.cc -o foo.o -O6 -mpentium -Wall -Werror -fno-implicit-templates The result, on a 32 meg system, with all the DOS properties in W95 set for maximum memory, 23 megs physical free and 64 virtual, is this utter and complete BULLSHIT! c:/djgpp/lang/cxx/stl_rope.h: In function `class rope<__wchar_t,__default_alloc_template > &)': c:/djgpp/lang/cxx/stl_rope.h:1991: virtual memory exhausted What the hell is wrong with the cc1plus.exe in pgcc 1.0.1?!?!?! There is NO WAY IN HELL it is using 64 entire megabytes and then trying to get more! What is REALLY wrong and why doesn't cc1plus.exe issue a more accurate and informative error message??? I would like to have some feedback about this and an estimate for when this extremely serious bug will be fixed, ASAP, since a project I'm working on is completely stalled until I have a cc1plus.exe that will faithfully compile my code under the sole condition that the code be syntactically correct. #include template class rope; template class __rope_RopeBase >; template class __rope_flatten_char_consumer; template class __rope_char_consumer; template class __rope_find_char_char_consumer; template class __rope_iterator >; template class __rope_charT_ref_proxy >; template class rope; template class __rope_RopeBase >; template class __rope_flatten_char_consumer; template class __rope_char_consumer; template class __rope_find_char_char_consumer; template class __rope_iterator >; template class __rope_charT_ref_proxy >; -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------ -- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca ______________________ ____|_____________ pderbysh AT usa DOT net Programmer & Humanist | ICQ: 10423848 | http://chat.carleton.ca/~pderbysh