> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 11:01 AM > To: Perl6 Internals > Cc: Dan Sugalski; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Tinderboxens > > - actinium > This is a harder error: > # Failed to build 't/src/extend_1.o': > "./include/parrot/extend.h", line 76.23: 1506-120 (S) > Function cannot return a const qualified type. > # "./include/parrot/extend.h", line 78.23: 1506-120 (S) > Function cannot return a const qualified type. > # Failed test (t/src/extend.t at line 7) > The offending code section is: > const Parrot_CharType Parrot_find_chartype(Parrot_INTERP, char*); > Parrot_Language Parrot_find_language(Parrot_INTERP, char*); > const Parrot_Encoding Parrot_find_encoding(Parrot_INTERP, char*); > It seems like AIX does not like functions returning a const variable > even though its a void *.
I supplied a fix for this; see RT ticket #24247 for a full explanation of the general problem. Seems it never made it to the list, so I've attached a new patch for current CVS. The other problematic test is ye olde -0 error, which Dan seemed to think was best left failing for the time being. A simple fix to make the test pass is attached to RT #24088. -Adam
extendtype.patch
Description: extendtype.patch