[AD] allegro-4.2.0 compilation error with gcc-4.1.2

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi!

I tried compiling allegro-4.2.0 under NetBSD-3.99.21/i386
with gcc (GCC) 4.1.2 20060603 prerelease (NetBSD nb1 20060602).
It failed with:
./src/math3d.c: In function 'matrix_mul':
include/allegro/platform/al386gcc.h:209: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
include/allegro/platform/al386gcc.h:209: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'

I checked SVN, the file hasn't changed since the 4.2.0
release on either the 4.2 or 4.3 branches.
Can someone please provide a fix for this?

Thanks,
 Thomas




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/