[AD] Header files and C++

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The following patch moves all #include directives out of the range of
extern "C" directives: http://www.multimania.com/ebotcazou/dev/headers.zip

It is needed in order for Allegro C++ programs to compile with Borland C++.
Tested with DJGPP, MingW32 (gcc 2.95.3 and 3.2), Borland C++ and Linux. I'll
try to test it with BeOS and QNX too.

I want to take this opportunity to add a C++ test program to the tests/
directory. Do you think it is safe to suppose that a working C++ compiler is
always available or should we devise a configuration test ?

--
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/