Chilkat Forum

Programming Languages / Environments => C / C++ => Topic started by: dragon on May 23, 2018, 09:17:59 PM

Title: Chilkat C/C++ Libs for VC++ 9.0 / win32 include files compilation error
Post by: dragon on May 23, 2018, 09:17:59 PM
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






Title: Re: Chilkat C/C++ Libs for VC++ 9.0 / win32 include files compilation error
Post by: Chilkat on May 24, 2018, 08:07:35 AM
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.
Title: Re: Chilkat C/C++ Libs for VC++ 9.0 / win32 include files compilation error
Post by: Chilkat on May 24, 2018, 08:54:07 AM
Here are new builds:

https://chilkatdownload.com/prerelease/chilkat-9.5.0-x86-vc9-558.zip
https://chilkatdownload.com/prerelease/chilkat-9.5.0-x86_64-vc9-559.zip
Title: Re: Chilkat C/C++ Libs for VC++ 9.0 / win32 include files compilation error
Post by: dragon on May 24, 2018, 06:25:41 PM
Here are new builds:

https://chilkatdownload.com/prerelease/chilkat-9.5.0-x86-vc9-558.zip
https://chilkatdownload.com/prerelease/chilkat-9.5.0-x86_64-vc9-559.zip

Tested good !
Thanks.

Best regards
Dragon