public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: C++ and DEC Unix: string too long
@ 1997-10-28 15:21 Corey Kosak
  1997-10-28 19:48 ` Joe Buck
  0 siblings, 1 reply; 4+ messages in thread
From: Corey Kosak @ 1997-10-28 15:21 UTC (permalink / raw)
  To: egcs; +Cc: Greg Galloway

> Has anyone got EGCS/C++ to work on an Alpha under DEC Unix 3.2?
> I get an error about string too long because the mangled name of
> a template instantiation (hash_map in this case) is 4144 chars
> long.

Amazing that it's the 90's and some people [DEC] still write software with
arbitrary fixed limits.  "Surely no one would ever want a symbol longer than
4K characters."

The standard workaround, as far as I know, is to subclass string, something
like

class mystring : public string {
  ...
};

`mystring' needs to have constructor stubs for all the constructors in
`string', plus probably stubs for the overloaded operators as well.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* C++ and DEC Unix: string too long
@ 1997-10-28 12:21 Greg Galloway
  1997-10-28 17:57 ` dave madden
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Galloway @ 1997-10-28 12:21 UTC (permalink / raw)
  To: egcs

Has anyone got EGCS/C++ to work on an Alpha under DEC Unix 3.2?
I get an error about string too long because the mangled name of
a template instantiation (hash_map in this case) is 4144 chars
long.

Thanks,
Greg

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-10-28 19:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-28 15:21 C++ and DEC Unix: string too long Corey Kosak
1997-10-28 19:48 ` Joe Buck
  -- strict thread matches above, loose matches on Subject: below --
1997-10-28 12:21 Greg Galloway
1997-10-28 17:57 ` dave madden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).