[kaffe] Lots of strict-aliasing warnings

Dalibor Topic robilad@yahoo.com
Fri May 23 07:54:01 2003


Hi Mark,

--- Mark Wielaard <mark@klomp.org> wrote:
> Hi,
> 
> While compiling I get a lot of warnings for jni.c like:
> 
> jni.c: In function `Kaffe_NewGlobalRef':
> jni.c:290: warning: type-punning to incomplete type might break
> strict-aliasing rules
> 
> This is with just released gcc 3.3.
> Are these warnings expected?

I haven't got around to build gcc 3.3 for my system yet, so they are unexpected
to me, at least. Anyway, what does the warning mean, i.e. what's type-punning?

cheers,
dalibor topic


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com