[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    [cfe-dev] array index error, used as a pointer
From:       foster_flannery () yahoo ! com (Patrick Flannery)
Date:       2007-08-29 19:54:17
Message-ID: 72649.98002.qm () web55911 ! mail ! re3 ! yahoo ! com
[Download RAW message or body]

The following code produces an error: 

struct almost_empty
{
    unsigned a; 
};

int function()
{
    struct almost_empty AE[1]; 
    return AE->a+1; 
}

Patrick 





       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/cfe-dev/attachments/20070829/961e2a65/attachment.html 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic