C言語なら俺に聞け! Part 119
■ このスレッドは過去ログ倉庫に格納されています
0779デフォルトの名無しさん
2006/01/05(木) 16:22:25付けるとこんなことに...
---test.c---
int
main()
{
{struct x {struct x *next; char *data;};}
{struct x *xp;}
{struct x x0;}
{xp = &x0;}
/* 続く */
}
---
% cc test.c
test.c: In function `main':
test.c:6: error: storage size of 'x0' isn't known
test.c:7: error: `xp' undeclared (first use in this function)
test.c:7: error: (Each undeclared identifier is reported only once
test.c:7: error: for each function it appears in.)
test.c:7: error: `x0' undeclared (first use in this function)
%
■ このスレッドは過去ログ倉庫に格納されています