This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: static set declaration crashes compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]