| delorie.com/archives/browse.cgi | search |
| From: | "A. Sinan Unur" <asu1 AT cor-nell DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: bugs in gcc 3.1 |
| Date: | 19 Jun 2002 00:31:00 GMT |
| Organization: | Cornell University |
| Lines: | 34 |
| Sender: | asu1 AT cornell DOT invalid (on pool-141-149-208-246.syr.east.verizon.net) |
| Message-ID: | <Xns9231D0B73838Dasu1cornelledu@132.236.56.8> |
| References: | <Xns92305933B2Braf256com AT 213 DOT 180 DOT 128 DOT 20> |
| NNTP-Posting-Host: | pool-141-149-208-246.syr.east.verizon.net |
| X-Trace: | news01.cit.cornell.edu 1024446660 4230 141.149.208.246 (19 Jun 2002 00:31:00 GMT) |
| X-Complaints-To: | usenet AT news01 DOT cit DOT cornell DOT edu |
| NNTP-Posting-Date: | 19 Jun 2002 00:31:00 GMT |
| User-Agent: | Xnews/5.04.25 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"Rafal 'Raf256' Maj" <rafal AT raf256 DOT com> wrote in
news:Xns92305933B2Braf256com AT 213 DOT 180 DOT 128 DOT 20:
> This are possible bugs in DJGPP basing on GCC 3.1
>
> '\n\n' is compiled instead of give warning about multicharacter
> constant
I did not observe this:
C:\Temp>gcc -v
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.1/specs
Configured with: ../configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR
--disable-nls
Thread model: single
gcc version 3.1
C:\Temp>cat t.c
int main(void)
{
int c;
c = '\n\n';
return 0;
}
C:\Temp>gcc -c t.c
t.c:4:13: warning: multi-character character constant
Sinan.
--
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |