delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/25/07:29:44

From: Chris Mears <cmears AT bigpond DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, fonts and Allegro
Organization: only if absoultely necessary
Message-ID: <432bgs0gehb8vrjd9ealhemeipdhl3dih9@4ax.com>
References: <8dfmoo$1ga6$1 AT gavrilo DOT mtu DOT ru> <38fb861d DOT 46140079 AT news DOT freeserve DOT net>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Lines: 26
Date: Tue, 25 Apr 2000 21:58:57 +1000
NNTP-Posting-Host: 139.134.73.93
X-Trace: newsfeeds.bigpond.com 956663431 139.134.73.93 (Tue, 25 Apr 2000 21:50:31 EST)
NNTP-Posting-Date: Tue, 25 Apr 2000 21:50:31 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 17 Apr 2000 21:46:24 GMT, that hoopy frood
dontmailme AT iname DOT com (Steamer) wrote:

>Al Amzeen (Alexandr Amzin) wrote:
>
>>I got a problem. Not very big, but annoyin'.
>>
>>I cannot compile Allegro ex12.c as C++ source (it contains simple code for
>>changing font from grabber datafile).
>[snip]
>>I'm using Allegro 3.11 (I know that it is old, but it seems to me that there
>>is another bug, because ex12 compiles as C code perfectly).
>
>C++ doesn't allow implicit conversion from void*, but C does.
>
>IMHO it's bad practice to write C that won't compile as C++,
>but it's certainly possible.

What?  Pick a language, and stick with it.  C is *not* C++.


-- 
Chris Mears

cmears AT bigpond DOT com
ICQ: 36697123

- Raw text -


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