This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
using struct
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] using struct
- From: Carlos Camargo <carlos_ivan_camargo at yahoo dot com>
- Date: Fri, 27 Apr 2001 02:51:42 -0700 (PDT)
Hi all.
A simple question:
Can I use struct in ecos?
I tried to declare a struct inside a thread:
static void stimulus( cyg_addrword_t data )
{
int i, j;
struct hola{
int a;
};
hola.a = 5; // This is 54 line.
..
..
}
}
and i have the following error message:
sync_mbox.c:54: `hola' undeclared (first use in this
function)
Thanks
Best regards..
Carlos Camargo
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/