Mail Archives: djgpp/2000/04/25/07:29:44
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 -