Welcome, Guest. Please login or register.

Author Topic: AMISSL 4.4 Compiler errors in ANSI-C  (Read 3000 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline D00kieTopic starter

  • Jr. Member
  • **
  • Join Date: Apr 2003
  • Posts: 68
    • http://www.tigger1.demon.co.uk
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