# New Ticket Created by Jarkko Hietaniemi # Please include the string: [perl #15865] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=15865 >
Regarding the remaining warnings from perl #15805: SGI cc takes really unkindly to them (IOW, refuses to compile) === 1 === === 2 === Also, one more void return is detected === 3 ===. === 1 === cc -n32 -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C -I../include -o coroutine.o -c coroutine.c cc-1140 cc: WARNING File = coroutine.pmc, Line = 329 A value of type "struct Parrot_Sub *" cannot be used to initialize an entity of type "struct Parrot_Coroutine *". struct Parrot_Coroutine* co = (struct Parrot_Sub*)pmc->data; ^ cc-1119 cc: ERROR File = coroutine.pmc, Line = 333 The "return" expression type differs from the function return type. return co->init; ^ cc-1119 cc: ERROR File = coroutine.pmc, Line = 336 The "return" expression type differs from the function return type. return co->resume; ^ 2 errors detected in the compilation of "coroutine.c". *** Error code 2 (bu21) *** Error code 1 (bu21) === 2 === cc -n32 -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C -I../include -o sub.o -c sub.c cc-1119 cc: ERROR File = sub.pmc, Line = 331 The "return" expression type differs from the function return type. return ((struct Parrot_Sub*)pmc->data)->init; ^ 1 error detected in the compilation of "sub.c". *** Error code 2 (bu21) === 3 === cc -n32 -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C -I./include -o core_ops.o -c core_ops.c cc-1116 cc: WARNING File = core.ops, Line = 4260 Non-void function "Parrot_callcc_p" (declared at line 4247) should return a value. } ^ -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen