delorie.com/archives/browse.cgi | search |
Message-ID: | <3BDEB78C.284BA44C@yahoo.com> |
From: | CBFalconer <cbfalconer AT yahoo DOT com> |
Organization: | Ched Research |
X-Mailer: | Mozilla 4.75 [en] (Win98; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: GCC bug (semi OT on clc) |
References: | <3BDD9BC7 DOT E51EA7C8 AT yahoo DOT com> <Xns9149A67BFDD55ASINANUNUR AT 132 DOT 236 DOT 56 DOT 8> |
Lines: | 42 |
Date: | Tue, 30 Oct 2001 14:53:19 GMT |
NNTP-Posting-Host: | 12.90.169.58 |
X-Complaints-To: | abuse AT worldnet DOT att DOT net |
X-Trace: | bgtnsc05-news.ops.worldnet.att.net 1004453599 12.90.169.58 (Tue, 30 Oct 2001 14:53:19 GMT) |
NNTP-Posting-Date: | Tue, 30 Oct 2001 14:53:19 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"A. Sinan Unur" wrote: > > CBFalconer <cbfalconer AT yahoo DOT com> wrote in > news:3BDD9BC7 DOT E51EA7C8 AT yahoo DOT com: > > > Under DJGPP, when compiling cokus.c from: > > > > http://www.math.keio.ac.jp/~matumoto/cokus.c > > > > we get the following: > > > >> [1] c:\dnld\scratch>gcc -v cokus.c > >> Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs > >> gcc version 2.95.3 20010315/djgpp (release) > > <snip> > > when i do: > > C:\www\work>gcc -v cokus.c -Wall > > i get the output below, and no problems. i have a feeling the command line > you showed is not the command line you actually used. i don't think strict > ansi and pedantic are enabled by default. remember // comments don't exist > in ANSI C prior to C99. No, I have gcc wrapped in an alias which installs those defaults. However it is not complaining about the // comments (which would be legitimate), but about the apostrophes. [1] c:\dnld\scratch>alias gcc iff ".%1." == ".." THEN ^ *gcc --help ^ ELSE ^ *gcc -W -Wall -ansi -pedantic %1& ^ ENDIFF Handling it is not a problem, I simply want to report the bug. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) Available for consulting/temporary embedded and systems. (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |