Author Topic: Chilkat C/C++ Libs for VC++ 9.0 / win32 include files compilation error  (Read 139 times)

dragon

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Hi Chilkat Support,

Just tested the latest version ie. Chilkat C/C++ Libs for VC++ 9.0 / win32 (v9.5.0.73).
During compilation, got a whole ist of errors related to ????????w.h files :

\include\c_ckasnw.h(16) : error C2733:
second C linkage of overloaded function 'CkAsnW_getContentStr' not allowed

\include\c_ckasnw.h(16) : see declaration of 'CkAsnW_getContentStr'

\include\c_ckasnw.h(19) : error C2733:
second C linkage of overloaded function 'CkAsnW_getDebugLogFilePath' not allowed

\include\c_ckasnw.h(19) : see declaration of 'CkAsnW_getDebugLogFilePath'

.....
....
..

Simply overwrite the include folder with the version 72 include folder, the errors are gone !

Further analyse, eg. c_ckasnw.h, compare version 72 & version 73,

CK_VISIBLE_PUBLIC const wchar_t *CkAsnW_contentStr(HCkAsnW cHandle);  // version 72
CK_VISIBLE_PUBLIC const wchar_t *CkAsnW_getContentStr(HCkAsnW cHandle); // version 73

EXTRA generated "get" is causing the error !

Hope that you can verify that the above-mentioned is the cause.

Fya, if it is right.

Cheers !

Best regards
Dragon







Chilkat

  • Administrator
  • Full Member
  • *****
  • Posts: 101
  • Karma: +6/-0
    • View Profile
Thanks.   Yes, I see the "C" headers for the Unicode (wchar_t) functions have this error.   Given that 9.5.0.73 was just released in the last 2 days, I'll re-generate these headers and will re-publish..

I'll post here when finished.