Kevin, the relevant fix for mingw is "#include <malloc.h>", not "#include 
<stdlib.h>".
  From: Kevin Nasman 
  Sent: Thursday, September 17, 2009 2:21 PM
  To: Zooko Wilcox-O'Hearn 
  Cc: Crypto++ Users 
  Subject: Re: rijndael.cpp alloca issue using make on mingw


  I read about that fix and tried it before, but sadly it does not fix my 
install. I do not have alloca in any library, stdlib included. So the fix for 
an apple compiler does not work for the winxp mingw compiler tool set.

  Again, I am wondering what is wrong with using malloc vs alloca. Why is this 
the only spot in the whole crypto library that alloca is being used? Can it be 
changed to malloc given the same function ins/outs and then there would be no 
need for sun/apple specific exceptions.

  Thanks for your time,
  K


  On Tue, Sep 15, 2009 at 12:19 PM, Zooko Wilcox-O'Hearn <[email protected]> 
wrote:

    Here is a patch that fixes that issue for me:

    
http://allmydata.org/trac/pycryptopp/changeset?new=622%40cryptopp&old=620%40cryptopp

    This patch was initially committed to the pycryptopp repository in two 
steps:

    http://allmydata.org/trac/pycryptopp/changeset/621/cryptopp
    http://allmydata.org/trac/pycryptopp/changeset/622/cryptopp

    Regards,

    Zooko



  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to