This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: static set declaration crashes compiler
- To: rasmussn at lanl dot gov
- Subject: Re: static set declaration crashes compiler
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 12 Jun 1999 19:57:45 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <199906111230.GAA08161@soren.lanl.gov>
On Jun 11, 1999, Craig E Rasmussen <rasmussn@soren.lanl.gov> wrote:
> The following line crashes the egcs compiler:
> static set<string, less<string> > accept;
> See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
Please do. We need a *full* bug report. With the line you posted,
all I get is:
t.cc:1: `string' was not declared in this scope
t.cc:1: `less' was not declared in this scope
t.cc:1: `string' was not declared in this scope
t.cc:1: syntax error before `>'
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists