Re: [AD] Proposal for new Allegro interface

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


In reply to Elias Pschernig <eliaspschernig@xxxxxxxxxx>:
>> However, do we even need this? The following example compiles perfectly
>> under GCC's C++. Can somebody try it on MSVC, Borland, etc.? Thanks.
>
>int other_clear = 0;
>
>#define clear other_clear
>
>#include <list>
>
>void test(std::list<int>& l)
>{
>    l.clear();
>}
>
>Compiles under MSVC 6.0 sp5.

OK, I think that addresses everything Sven noticed (except perhaps the
static linking issue). I shall start writing a patch tomorrow, unless
there is anything else I missed.

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



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