Skip to Content.
Sympa Menu

mace-opensaml-users - RE: opensaml-C 1.1b

Subject: OpenSAML user discussion

List archive

RE: opensaml-C 1.1b


Chronological Thread 
  • From: "George Stanchev" <>
  • To: <>
  • Subject: RE: opensaml-C 1.1b
  • Date: Mon, 19 Mar 2007 18:49:40 -0700

Thanks Scott,

Let me report then what I am seeing then so you can fix them when you
have some time:

.\binding\impl\SimpleSigningRule.cpp(194) : warning C4267: 'argument' :
conversion from 'size_t' to 'unsigned int', possible loss of data
.\binding\impl\SAMLArtifact.cpp(77) : warning C4267: 'argument' :
conversion from 'size_t' to 'const unsigned int', possible loss of data
.\saml2\binding\impl\SAML2RedirectEncoder.cpp(112) : warning C4267:
'argument' : conversion from 'size_t' to 'unsigned int', possible loss
of data
.\saml2\binding\impl\SAML2RedirectEncoder.cpp(139) : warning C4267:
'argument' : conversion from 'size_t' to 'unsigned int', possible loss
of data
.\saml2\binding\impl\SAML2Redirect.cpp(121) : warning C4244: '=' :
conversion from '__w64 int' to 'int', possible loss of data
.\saml2\binding\impl\SAML2Redirect.cpp(128) : warning C4244: '=' :
conversion from '__w64 int' to 'int', possible loss of data
.\saml2\binding\impl\SAML2POSTEncoder.cpp(167) : warning C4267:
'argument' : conversion from 'size_t' to 'unsigned int', possible loss
of data
.\saml2\binding\impl\SAML2POSTEncoder.cpp(173) : warning C4267:
'argument' : conversion from 'size_t' to 'const unsigned int', possible
loss of data
.\SAMLConfig.cpp(198) : warning C4267: 'argument' : conversion from
'size_t' to 'unsigned int', possible loss of data

4251 warnings:
.\cpp-xmltooling\xmltooling/QName.h((161, 162, 163)
.\cpp-xmltooling\xmltooling/Namespace.h(110, 111)


I will fix the 4251 locally until they are fixed in the trunk and turn
off those /Wp64 checks to avoid those warnings until the
library is ready for x64 platform

Thanks

Best Regards,
George

-----Original Message-----
From: Scott Cantor
[mailto:]

Sent: Monday, March 19, 2007 7:37 PM
To:

Subject: RE: opensaml-C 1.1b

> In cpp-opensaml2: I am getting a lot of warnings from the x64
> portability check (size_t to int conversions in zlib).
> I had to turn the check off. Is that normal?

I didn't do anything to the zlib sources, so if it has warnings I won't
fix them. Xerces is also full of warnings in a couple of key headers,
and I can't fix those either.

> And lastly a lot of those (only one listed below):
>
> d:\adev\lib\localbuild\c\opensamlc-2-trunk\cpp-xmltooling\xmltooling\q
> na
> me.h(161) : warning C4251: 'xmltooling::QName::m_uri' : class
> 'std::basic_string<_Elem>' needs to have dll-interface to be used by
> clients of class 'xmltooling::QName'
> with
> [
> _Elem=XMLCh
> ]
>
> bunch of those warnings as well. Is that ok?

I have most of those 4251 warnings disabled with pragmas in the headers.
If you're seeing any in my headers I probably missed one somewhere.

-- Scott



**********************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply e-mail
and destroy all copies of the original message.




Archive powered by MHonArc 2.6.16.

Top of Page