[AD] ALLEGRO_NO_ASM broken completely on windows

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


In addition to this: http://www.allegro.cc/forums/thread/593553

I also found that non-ASM alleg42.dll is not compatible with ASM alleg42.dll. The cause is the same: _putpixel is inlined and it's definition depends on ALLEGRO_NO_ASM. In ASM version it uses a custom calling convention, which breaks if combined with a normal one.

What to do?
There is only one reasonable thing to do: Rename the lib and the DLL if compiled without ASM. Add the _c prefix or something. Who really wants it, will use the non-ASM version. Also add make a note that programs need to #define ALLEGRO_NO_ASM.

Is there going to be a rerelease? 4.2.2.1?


--
Milan Mimica
http://sparklet.sf.net




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