[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

bugtracker at ...3416... bugtracker at ...3416...
Mon Aug 29 23:45:47 CEST 2016


http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4-

Comment #12 by PICCORO LENZ MCKAY:

the code does not compile event with 1.0 due the call u are using are static, and in the header of some openssl versions are non static in headers..

my suggestions are usi9ng "inline" event "static" this make the changes able event if already declared in header of openssl..

i used a gamba project older that decryp a hash, and with static (in the cases that compiles) break with "undefined symbol"  in all the EVP_MD_CTX_xxxx funtions redeclared.. with inline declarations this works perfectly!

change "static" with "inline" if u dessire i can pass a older gambas project from mail list that used crypto and openssl (both) and seems works..






More information about the User mailing list