Make sure you have -DXMLSEC_NO_SIZE_T=1 defined (if it is defined
during xmlsec library compilation).

Aleksey

On 7/11/19 11:17 AM, Roumen Petrov wrote:
Dmitry Belyavsky wrote:
Hello,

We have a rather ancient instance of XMLSec (smth like 1.2.20) and a
homebrew С++ wrapper around it.

I came across that a call of sizeof() for various structures in C and C++
give different results causing Bad Things when I try to access various
fields of these structures.

No idea.

If I remember well all public headers are in following format:
...
<<<include external headers>>>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

  <<< xmlsec related code  >>>

#ifdef __cplusplus
}
#endif /* __cplusplus */


Is there any cheap way to fix this behavior?
Dunno, as all xmlsec is "C" code.
If is not compiler defect then sample code may help to find reason.

Roumen
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to