From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Ildar Mulyukov Cc: egcs@egcs.cygnus.com Subject: Re: TODO: egcs-g++ Date: Fri, 30 Apr 1999 23:15:00 -0000 Message-ID: References: X-SW-Source: 1999-04n/msg00351.html Message-ID: <19990430231500._YanH27PJicrOCwobnlsMb-u2ykQYndmLLLRpeobxX0@z> On Apr 10, 1999, Ildar Mulyukov wrote: > But when I just started using egcs c++ I encountered 2 problems. Nope, egcs did encounter 2 problems :-D > struct _stru { > int i; > union { > struct { int j0, j1; }; ^ some variable name is missing here > int j[2]; > } ^ struct and union declarations must be terminated with `;' > }; > The worst thing is that TinySoft's VisualC++ eats it ok :-) Send them a bug report then :-) > 2. Compiling dos-formatted files (CR-LF instead of LF) invokes no problem > except when one ends line with '\'. While CR comes straight after \ > compiler thinks it is special symbol and emits an error. AFAIK, this is not supposed to work, but, if it works at all, it would probably only work in MS-DOS like platforms. But I'm not sure about that. -- Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil {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