chromatic via RT wrote: > On Tuesday 23 December 2008 14:53:15 Jarkko Hietaniemi wrote: > >> I am seeing some new warnings, if I find the time I'll file a new bug on >> those. An easy quick one to fix would be this: >> >> cc: Info: ./include/parrot/sub.h, line 47: Trailing comma found in >> enumerator list. (trailcomma) >> } sub_flags_enum; >> ^ >> >> Trailing commas in enum lists are not portable across cranky C compilers. > > Fixed in r34299, thanks. I cranked up the optimization level to -O2 and am > fixing as many warnings as possible with GCC 4.3, but I'm sure that leaves > plenty for pickier compilers to complain about. > > -- c
Another large batch of errors seemingly came from these in nci.c: cc: Info: src/nci.c, line 6614: In this statement, "pcf_v_JOS" of type "pointer to function (pointer to struct parrot_interp_t, pointer to struct PMC) returning void", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) PMC_data(temp_pmc) = (void *)pcf_v_JOS; -------------------------------------^ More cowbell, errr, D2FPTR(). > >