Subject: bin/33984: lint complains about typedef
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 07/12/2006 14:05:01
>Number:         33984
>Category:       bin
>Synopsis:       lint complains about typedef
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 12 14:05:01 +0000 2006
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 3.99.21
>Organization:

>Environment:
	
	
System: NetBSD kaeru 3.99.21
Architecture: i386
Machine: i386
>Description:

	lint complains for the following simple code.


	% cat i.c

	typedef int x;

	struct {
		int x;
	} a = {
		.x = 1,
	};
	% lint -S i.c
	i.c:
	i.c(7): syntax error [249]
	%

>How-To-Repeat:
	see above.
>Fix:
	

>Unformatted: