From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corey Kosak To: egcs@cygnus.com Cc: Greg Galloway Subject: Re: C++ and DEC Unix: string too long Date: Tue, 28 Oct 1997 15:21:00 -0000 Message-id: <199710282321.PAA08249@cygnus.com> X-SW-Source: 1997-10/msg01199.html > 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.