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: <38fb861d.46140079@news.freeserve.net> References: <8dfmoo$1ga6$1 AT gavrilo DOT mtu DOT ru> NNTP-Posting-Host: modem-252.virginia.dialup.pol.co.uk X-Trace: news6.svr.pol.co.uk 956007984 4777 62.137.97.252 (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). [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. S.