Re: [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

Applied (with a slight modification).

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

Still not tested with BeOS and QNX, but it doesn't modify any of their 
specific header files.

> 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 ?

Working on it.

-- 
Eric Botcazou



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