delorie.com/archives/browse.cgi | search |
From: | "Interrupt" <t DOT n DOT x AT gmx DOT net> |
Newsgroups: | comp.os.msdos.djgpp,comp.lang.c |
Subject: | Re: GCC bug (semi OT on clc) |
Date: | Tue, 30 Oct 2001 15:38:14 +0100 |
Organization: | T-Online |
Lines: | 59 |
Message-ID: | <9rme0a$t52$04$1@news.t-online.com> |
References: | <3BDD9BC7 DOT E51EA7C8 AT yahoo DOT com> |
Mime-Version: | 1.0 |
X-Trace: | news.t-online.com 1004452682 04 29858 +ZHVTiBXSCAGyd 011030 14:38:02 |
X-Complaints-To: | abuse AT t-online DOT com |
X-Sender: | 520008803427-0001 AT t-dialin DOT net |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"CBFalconer" <cbfalconer AT yahoo DOT com> schrieb im Newsbeitrag 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) > > c:/djgpp/lib/gcc-lib/djgpp/2.953/cpp0.exe -lang-c -std=c89 -v -D__GNUC__=2 - D__ > > GNUC_MINOR__=95 -trigraphs -D__STRICT_ANSI__ -D__unix__ -D__i386__ -D__GO32_ _ -D > > __DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -As yste > > m(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -W -Wall -pedantic -Acpu (i38 > > 6) -Amachine(i386) -D__i386 -D__i386__ -D__tune_pentium__ -imacros c:/djgpp/lib/ > > djgpp.ver -remap cokus.c c:/djgpp/tmp\cccZc1wE.i > > GNU CPP version 2.95.3 20010315/djgpp (release) (80386, BSD syntax) > > #include "..." search starts here: > > #include <...> search starts here: > > c:/djgpp/lib/gcc-lib/djgpp/2.953/include > > c:/djgpp/include > > End of search list. > > The following default directories have been omitted from the search path: > > $DJDIR/lang/cxx > > $DJDIR/lib/gcc-lib/djgpp/2.953/../../../../djgpp/include > > End of omitted list. > > cokus.c:52: unterminated character constant > > cokus.c:77: unterminated character constant > > cokus.c:106: unterminated character constant > > cokus.c:115: unterminated character constant > > These seem to be due to isolated apostrophes "'" within // > comments. I suspect this is GCC generic, and not anything to do > with the DJGPP port. > > -- > 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) > > change the constant from "'" to "\'" and recompile it
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |