ALLOCA Patch?

Hello !

I sent this mail to the list sometime ago :

http://article.gmane.org/gmane.comp.lib.sdl/30262/match=alloca

It would be nice to get any responses for that.

CU

I sent this mail to the list sometime ago :

http://article.gmane.org/gmane.comp.lib.sdl/30262/match=alloca

It would be nice to get any responses for that.

Does AC_FUNC_ALLOCA not work with Cygwin, or is it incorrectly detecting
it? I’d rather just ask “does alloca.h exist?” than add
platform-specific checks…

–ryan.

Hello !

Does AC_FUNC_ALLOCA not work with Cygwin, or is it incorrectly detecting
it? I’d rather just ask “does alloca.h exist?” than add platform-specific
checks…

Jup. Cygwin has alloca.h, but not MinGW.

The problem is that when running ./configure
under CYGWIN it uses CYGWIN Mode and not
MinGW Mode to detect if there is an alloca.h

And as CYGWIN has this include file the configure
test returns yes, but SDL is generally compiled in MinGW Mode.

CU

Torsten Giebl skrev:

Hello !

I sent this mail to the list sometime ago :

http://article.gmane.org/gmane.comp.lib.sdl/30262/match=alloca

It would be nice to get any responses for that.

I would love to see this issue fixed! Thanks bringing attention to it,
Torsten!

CU

/ E

Hello !

I would love to see this issue fixed! Thanks bringing attention to it,

The thing is this is really a long
standing problem, some years or so.

And it is in SDL, SDL_ttf and maybe some other SDL helper lib.

CU

And as CYGWIN has this include file the configure
test returns yes, but SDL is generally compiled in MinGW Mode.

This sounds like something mingw should fix, but I’ve applied the patch
as a workaround: svn revision #2922 for the 1.3 branch, and #2923 for
the 1.2 branch.

Thanks,
–ryan.

Hello !

This sounds like something mingw should fix, but I’ve applied the patch
as a workaround: svn revision #2922 for the 1.3 branch, and #2923 for the
1.2 branch.

Thanks. Please add this also to SDL_ttf
or should i send you a patch special for this ?

CU

Hello !

Thanks. Please add this also to SDL_ttf
or should i send you a patch special for this ?

Here is the patch for SDL_ttf.

CU
-------------- next part --------------
A non-text attachment was scrubbed…
Name: alloca-sdl_ttf.patch
Type: application/octet-stream
Size: 453 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061201/89ca0cdf/attachment.obj