Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: AMISSL 4.4 Compiler errors in ANSI-C  (Read 85 times)

0 Members and 1 Guest are viewing this topic.

Offline D00kie

AMISSL 4.4 Compiler errors in ANSI-C
« 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
Haiku is a joke
What a waste of freaking time
I have eggs to suck