Amiga.org

Amiga computer related discussion => Amiga/MorphOS/AROS Programmers Forum => Topic started by: D00kie on November 23, 2020, 11:33:13 AM

Title: AMISSL 4.4 Compiler errors in ANSI-C
Post by: D00kie on November 23, 2020, 11:33:13 AM
Hi all,

   I want to add SSL support to my application but can't get past the compiler errors in ASN1.h. I get "too many errors" and all of them in the list are around things being "redefined". For instance ASN1_OBJECT redefined, ASN1_BIT_STRING redefined, and on and on. I did the usual thing of checking that the includes were in the right order but if I only include asn1.h by itself, I have the same problem.

  There are crazy things going on in this header file that are well above my pay grade!

  I'm sure the easiest thing is to use C++ mode as it does not care about redefinition, but I need to use ANSI-C. The compiler is StormC 4.

   Has anyone been able to compile AmiSSL v4 into an ANSI C project?

Thx!
Brian