Re: [AD] official beta (Re namespace again)

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


I wrote:
>> Yes, you are correct. This is one of the very few instances where there
>> is nothing we can do but ask users to change their code (in this case,
>> move the inclusion of `allegro.h' to below the definition of `FOO').

In reply to Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>:
>what if FOO is defined as:
>
>struct {
>  BITMAP *key;
>} FOO;

struct BITMAP;

struct {
   struct BITMAP* key;
}FOO;

#include <allegro.h>

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/