www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/17/00:31:42

From: "Paul Derbyshire" <pderbysh AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: SEVERE PGCC BUG
Lines: 55
Organization: The Chaos Zone
MIME-Version: 1.0
Message-ID: <WKAZ.3310$sN3.565361@news21.bellglobal.com>
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

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<false,0> > &)':
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 <rope>

template class rope<char>;
template class __rope_RopeBase<char, __default_alloc_template<false, 0> >;
template class __rope_flatten_char_consumer<char>;
template class __rope_char_consumer<char>;
template class __rope_find_char_char_consumer<char>;
template class __rope_iterator<char, __default_alloc_template<false, 0> >;
template class __rope_charT_ref_proxy<char, __default_alloc_template<false, 0>
>;

template class rope<wchar_t>;
template class __rope_RopeBase<wchar_t, __default_alloc_template<false, 0> >;
template class __rope_flatten_char_consumer<wchar_t>;
template class __rope_char_consumer<wchar_t>;
template class __rope_find_char_char_consumer<wchar_t>;
template class __rope_iterator<wchar_t, __default_alloc_template<false, 0> >;
template class __rope_charT_ref_proxy<wchar_t, __default_alloc_template<false,
0> >;


--
   .*.  "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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019