delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/09/09:46:08

Date: Sat, 09 Dec 2000 16:45:09 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <2593-Sat09Dec2000164508+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <90t646$g58$1@nets3.rz.RWTH-Aachen.DE> (message from
Hans-Bernhard Broeker on 9 Dec 2000 11:47:18 GMT)
Subject: Re: Allegro Example 22 Errors.
References: <90s322$i1g$1 AT sooner DOT brightok DOT net> <90t646$g58$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: 9 Dec 2000 11:47:18 GMT
> 
> > C:\djgpp\ALLEGRO\EXAMPLES>gpp ex22.c
> > ex22.c: In function `int main()':
> > ex22.c:454: no match for `++{anonymous enum} &'
> 
> Looks like your use of 'gpp' instead of 'gcc' forced the compiler to
> believe ex22.c is a C++ program.

I think `gpp' assumes by default that every source file is a C++
program.  It is generally unsuitable for compiling C programs.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019