Follow-up Comment #4, bug #15024 (project freeciv):

> PowerPC likes to pass the first eight function arguments
> (excepting floating-point) through the general purpose registers
> %r3 through %r10. Two const char * arguments might look like
> foreground in %r7 and background in %r8. A struct counts as one
> argument, with a pointer to the struct in the register; a struct
> ft_color might look like a pointer in %r7, with foreground in
> 0(%r7) and background in 4(%r7).

Thank you for the detailed technological analysis.  I didn't know so far...

> Your fix also changed some comments, but forgot to fix the
> comment at line 370 above the text_tag_initv() function in
> featured_text.c.

Thank you.  I fixed it in the new attached patch.

> Now I can play and enjoy the freeciv beta, and hopefully not
> find any other bugs!

You will probably... ;)

(file #7567)

Additional Item Attachment:

File name: trunk_S2_2_ft_color_initv2.diff Size:4 KB


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to