Here's my current batch of warnings from a fresh check-out. I haven't checked them out. However, if the casts between pointers and integers are correct and won't overflow, then judicious use of the INTVAL2PTR and PTR2INTVAL macros from parrot.h should silence them.
The printf format warnings probably aren't worth worrying about just yet, since Brent is working on redoing that whole system. Summary of my parrot 0.0.8 configuration: configdate='Thu Oct 10 10:16:11 2002' Platform: osname=solaris, archname=sun4-solaris-64int jitcapable=1, jitarchname=sun4-solaris, jitosname=solaris, jitcpuarch=sun4 perl=perl64 Compiler: cc='gcc', ccflags='-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g', Linker and Libraries: ld='gcc', ldflags=' -L/usr/local/lib ', cc_ldflags='', libs='-lsocket -lnsl -ldl -lm' Dynamic Linking: so='.so', ld_shared='-G -L/usr/local/lib', ld_shared_flags='' Types: iv=long long, intvalsize=8, intsize=4, opcode_t=long long, opcode_t_size=8, ptrsize=4, ptr_alignment=4 byteorder=87654321, nv=double, numvalsize=8, doublesize=8 continuation.pmc: In function `Parrot_Continuation_set_integer_native': continuation.pmc:32: warning: cast to pointer from integer of different size coroutine.pmc: In function `Parrot_Coroutine_init': coroutine.pmc:31: warning: cast to pointer from integer of different size coroutine.pmc: In function `Parrot_Coroutine_set_integer': coroutine.pmc:49: warning: cast to pointer from integer of different size coroutine.pmc: In function `Parrot_Coroutine_set_integer_native': coroutine.pmc:53: warning: cast to pointer from integer of different size intqueue.pmc: In function `Parrot_IntQueue_init': intqueue.pmc:92: warning: cast increases required alignment of target type perlhash.pmc: In function `Parrot_PerlHash_get_pmc_keyed': perlhash.pmc:192: warning: passing arg 2 from incompatible pointer type pointer.pmc: In function `Parrot_Pointer_get_integer': pointer.pmc:53: warning: cast from pointer to integer of different size pointer.pmc: In function `Parrot_Pointer_get_number': pointer.pmc:57: warning: cast from pointer to integer of different size sub.pmc: In function `Parrot_Sub_init': sub.pmc:31: warning: cast to pointer from integer of different size sub.pmc: In function `Parrot_Sub_set_integer': sub.pmc:40: warning: cast to pointer from integer of different size sub.pmc: In function `Parrot_Sub_set_integer_native': sub.pmc:44: warning: cast to pointer from integer of different size debug.ops: In function `Parrot_debug_break': debug.ops:96: warning: cast increases required alignment of target type debug.ops:106: warning: cast increases required alignment of target type packfile.c: In function `PackFile_check_segment_size': packfile.c:245: warning: long int format, different type arg (arg 4) packfile.c: In function `PackFile_Constant_destroy': packfile.c:673: warning: long int format, different type arg (arg 4) string.c: In function `string_append': string.c:131: warning: cast to pointer from integer of different size string.c: In function `string_make': string.c:185: warning: assignment discards `const' from pointer target type string.c: In function `string_concat': string.c:425: warning: cast to pointer from integer of different size string.c: In function `string_repeat': string.c:470: warning: cast to pointer from integer of different size trace.c: In function `trace_op_dump': trace.c:84: warning: long int format, different type arg (arg 4) jit.c: In function `build_asm': jit.c:570: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_bicc': In file included from jit_cpu.c:14: include/parrot/jit_emit.h:319: warning: cast increases required alignment of target type include/parrot/jit_emit.h:326: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_int_load': include/parrot/jit_emit.h:344: warning: cast increases required alignment of target type include/parrot/jit_emit.h:345: warning: cast increases required alignment of target type include/parrot/jit_emit.h:349: warning: cast increases required alignment of target type include/parrot/jit_emit.h:358: warning: cast increases required alignment of target type include/parrot/jit_emit.h:359: warning: cast increases required alignment of target type include/parrot/jit_emit.h:365: warning: cast increases required alignment of target type include/parrot/jit_emit.h:371: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_int_store': include/parrot/jit_emit.h:396: warning: cast increases required alignment of target type include/parrot/jit_emit.h:402: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_float_load': include/parrot/jit_emit.h:426: warning: cast increases required alignment of target type include/parrot/jit_emit.h:432: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_float_store': include/parrot/jit_emit.h:456: warning: cast increases required alignment of target type include/parrot/jit_emit.h:462: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_dofixup': include/parrot/jit_emit.h:490: warning: cast increases required alignment of target type include/parrot/jit_emit.h:496: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_begin': include/parrot/jit_emit.h:514: warning: cast increases required alignment of target type include/parrot/jit_emit.h:527: warning: cast increases required alignment of target type include/parrot/jit_emit.h:531: warning: cast increases required alignment of target type include/parrot/jit_emit.h:533: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_normal_op': include/parrot/jit_emit.h:540: warning: cast increases required alignment of target type include/parrot/jit_emit.h:541: warning: cast increases required alignment of target type include/parrot/jit_emit.h:549: warning: cast increases required alignment of target type include/parrot/jit_emit.h:550: warning: cast increases required alignment of target type include/parrot/jit_emit.h: In function `Parrot_jit_cpcf_op': include/parrot/jit_emit.h:558: warning: cast increases required alignment of target type include/parrot/jit_emit.h:560: warning: cast increases required alignment of target type include/parrot/jit_emit.h:564: warning: cast increases required alignment of target type include/parrot/jit_emit.h:567: warning: cast increases required alignment of target type include/parrot/jit_emit.h:570: warning: cast increases required alignment of target type include/parrot/jit_emit.h:571: warning: cast increases required alignment of target type jit_cpu.c: In function `Parrot_end_jit': jit_cpu.c:24: warning: cast increases required alignment of target type jit_cpu.c:25: warning: cast increases required alignment of target type jit_cpu.c: In function `Parrot_noop_jit': jit_cpu.c:29: warning: cast increases required alignment of target type jit_cpu.c: In function `Parrot_set_i_n_jit': jit_cpu.c:44: warning: cast increases required alignment of target type jit_cpu.c: In function `Parrot_set_n_i_jit': jit_cpu.c:60: warning: cast increases required alignment of target type jit_cpu.c: In function `Parrot_if_i_ic_jit': jit_cpu.c:66: warning: cast increases required alignment of target type jit_cpu.c:68: warning: cast increases required alignment of target type jit_cpu.c: In function `Parrot_branch_ic_jit': jit_cpu.c:73: warning: cast increases required alignment of target type resources.c: In function `compact_pool': resources.c:288: warning: cast increases required alignment of target type embed.c: In function `Parrot_readbc': embed.c:216: warning: cast increases required alignment of target type embed.c: In function `Parrot_runcode': embed.c:338: warning: long int format, different type arg (arg 4) debug.c: In function `dump_string': debug.c:1724: warning: long int format, different type arg (arg 3) debug.c:1725: warning: long int format, different type arg (arg 3) debug.c:1726: warning: long int format, different type arg (arg 3) debug.c:1727: warning: long int format, different type arg (arg 3) debug.c: In function `PDB_print_user_stack': debug.c:1752: warning: long int format, different type arg (arg 3) debug.c: In function `PDB_print_int': debug.c:1852: warning: long int format, different type arg (arg 3) headers.c: In function `add_extra_buffer_header': headers.c:424: warning: cast increases required alignment of target type dod.c: In function `free_unused_buffers': dod.c:431: warning: cast increases required alignment of target type -- Andy Dougherty [EMAIL PROTECTED]