linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sizeof() problem
@ 2007-06-04 21:54 Michael Stefaniuc
  0 siblings, 0 replies; only message in thread
From: Michael Stefaniuc @ 2007-06-04 21:54 UTC (permalink / raw)
  To: Sparse Mailing-list

Hello!

Running sparse on
	int i = sizeof((const char []) {'a','a','a',0});
gives
	zzz.c:1:9: error: cannot size expression

There are a few of those errors in Wine (char replaced with WCHAR).

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani@redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-04 21:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 21:54 sizeof() problem Michael Stefaniuc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).