Jump to content

tester1234

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by tester1234

  1. After migrating from borland to clang, we get this annoying warning, which I haven't been able to resolve. Is this a known issue or are there any workarounds? USEFORM("Label.cpp", fmLabelView); USEFORM("Test.cpp", fmTestView); USEFORM("Repro.cpp", fmReproView); [bcc32c Warning] Label.cpp(123): attribute declaration must precede definition [bcc32c Hint] sysclass.h(137): expanded from macro 'USEFORM' [bcc32c Hint] sysmac.h(377): expanded from macro 'DELPHICLASS' [bcc32c Hint] test.h(58): previous definition is here class TfmLabelView : public TfmFormTemplate
  2. And test.h is included in the file that contains USEFORM("Label.cpp", fmLabelView);
  3. So at the bottom of test.h we have extern PACKAGE TfmLabelView* fmLabelView;
  4. We are upgrading our applications from classic to clang compiler. As part of this work we need to upgrade the third party libraries too including openssl as outlined here. Has anyone successfully completed this. I am following the steps outlined on their repo. Checking out the openssl-3.0.0 tag I was able to successfully compile. However linking against my application I am getting the following errors: [ilink32 Error] Error: Unresolved external '_SSL_library_init' referenced from [ilink32 Error] Error: Unresolved external '_SSL_load_error_strings' referenced from [ilink32 Error] Error: Unresolved external '_OPENSSL_add_all_algorithms_noconf referenced from [ilink32 Error] Error: Unresolved external '_CRYPTO_num_locks' referenced from [ilink32 Error] Error: Unresolved external '_CRYPTO_set_locking_callback' referenced from [ilink32 Error] Error: Unresolved external '_SSLv2_client_method' referenced from [ilink32 Error] Error: Unresolved external '_SSLv23_client_method' referenced from [ilink32 Error] Error: Unresolved external '_SSLv3_client_method' referenced from This appears to be because these functions are deprecated in the latest versions. I don't want to have to upgrade our code to work with newer versions of openssl. Anyone experienced something similar and could add some pointers please 🙂 I see this answer related for creating compatible libs for Rad Studio but is this applicable to the clang version too????
  5. tester1234

    OpenSSL linking with clang compiler

    Just circling back here, has anyone tried building an older version of openssl ~1.0.2 with the new clang compiler??
  6. tester1234

    OpenSSL linking with clang compiler

    But if I checkout an older version of the tag on that repo, it does not support bcc32c compilation only borland
×