[AD] Problems with gcc 3.1 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Hi All! Now i tried to compile Allegro with gcc 3.1 and found a couple of problems: 1) The declaration of inline friend functions including their body isn't allowed so it must be: class x { .... inline friend function(); .... }; inline function() {body} Attached is patch for alinline.h to fix it (DOS format and gzipped). 2) The "fsqrt" function is a built-in function. I saw this name gives problems for Watcom and SGI too. I suggest renaming it to something like fixsqrt. For it I'm not sending patches because I don't know what exactly is the best. SET P.S. 3.1 have the same bug that 3.01 when --fomit-frame-pointer is enabled. It also seems to be generating bigger and slower code for my machine. -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set@xxxxxxxxxx set@xxxxxxxxxx Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
Attachment:
toalleg.diff.gz
Description: GNU Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |