Open
Description
Hi all,
When including openssl/asn1.h from AmiSSL 4.6 in a project, the compilation fails with many errors "Identifier... redefined". This is using the Stormc 4 compiler with the target as AmigaOS3. I also have errors using their GCC mode
11.Workbench:> stormc:stormsys/stormc webclientclass.c
StormC:include/openssl/asn1.h, Line 482, Col. 1:
Fehler 50: Identifier "ASN1_SEQUENCE_ANY" redefined.
StormC:include/openssl/asn1.h, Line 521, Col. 1:
Fehler 50: Identifier "ASN1_TYPE" redefined.
StormC:include/openssl/asn1.h, Line 521, Col. 1:
Fehler 50: Identifier "ASN1_TYPE" redefined.
StormC:include/openssl/asn1.h, Line 537, Col. 1:
Fehler 50: Identifier "ASN1_OBJECT" redefined.
StormC:include/openssl/asn1.h, Line 560, Col. 1:
Fehler 50: Identifier "ASN1_BIT_STRING" redefined.
StormC:include/openssl/asn1.h, Line 560, Col. 1:
Fehler 50: Identifier "ASN1_BIT_STRING" redefined.
StormC:include/openssl/asn1.h, Line 560, Col. 1:
Fehler 50: Identifier "ASN1_BIT_STRING" redefined.
StormC:include/openssl/asn1.h, Line 573, Col. 1:
Fehler 50: Identifier "ASN1_INTEGER" redefined.
StormC:include/openssl/asn1.h, Line 573, Col. 1:
Fehler 50: Identifier "ASN1_INTEGER" redefined.
StormC:include/openssl/asn1.h, Line 573, Col. 1:
Fehler 50: Identifier "ASN1_INTEGER" redefined.
StormC:include/openssl/asn1.h, Line 579, Col. 1:
Fehler 50: Identifier "ASN1_ENUMERATED" redefined.
StormC:include/openssl/asn1.h, Line 579, Col. 1:
Fehler 50: Identifier "ASN1_ENUMERATED" redefined.
StormC:include/openssl/asn1.h, Line 579, Col. 1:
Fehler 50: Identifier "ASN1_ENUMERATED" redefined.
StormC:include/openssl/asn1.h, Line 599, Col. 1:
Fehler 50: Identifier "ASN1_OCTET_STRING" redefined.
StormC:include/openssl/asn1.h, Line 599, Col. 1:
Fehler 50: Identifier "ASN1_OCTET_STRING" redefined.
StormC:include/openssl/asn1.h, Line 599, Col. 1:
Fehler 50: Identifier "ASN1_OCTET_STRING" redefined.
StormC:include/openssl/asn1.h, Line 606, Col. 1:
Fehler 50: Identifier "ASN1_VISIBLESTRING" redefined.
StormC:include/openssl/asn1.h, Line 606, Col. 1:
Fehler 50: Identifier "ASN1_VISIBLESTRING" redefined.
StormC:include/openssl/asn1.h, Line 606, Col. 1:
Fehler 50: Identifier "ASN1_VISIBLESTRING" redefined.
StormC:include/openssl/asn1.h, Line 607, Col. 1:
Fehler 50: Identifier "ASN1_UNIVERSALSTRING" redefined.
Is there a fix or workaround for it?
Thanks!