[kaffe] Lots of strict-aliasing warnings

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


Hi Mark,

--- Mark Wielaard <mark at 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




More information about the kaffe mailing list