Mail Archives: djgpp/2000/04/17/17:13:05

From: dontmailme AT iname DOT com (Steamer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, fonts and Allegro
Date: Mon, 17 Apr 2000 21:46:24 GMT
Organization: always disorganized
Lines: 16
Message-ID: <>
References: <8dfmoo$1ga6$1 AT gavrilo DOT mtu DOT ru>
X-Trace: 956007984 4777 (17 Apr 2000 21:46:24 GMT)
NNTP-Posting-Date: 17 Apr 2000 21:46:24 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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).
>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.


- Raw text -

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