Ok, so I used the Alternate Configuration (found here:
http://www.codeproject.com/KB/tips/CryptoPPIntegration.aspx) to
rebuild my library and now all the errors are gone but I'm left with
these 34 warnings. There were more than 34 but I minimized these as
much as I could by adding #pragma managed and #pragma unmanaged where
seen fit and only changed the /clr option on certain files not the
whole solution. I tried to build the cryptdll or cryptlib.dynamic with
the /clr option but they would fail. Anyone else have more ideas on
how to get rid of them or at the very least know if they affect my
overall project. Can I ignore them without encountering into problems
later??


1>d:\ : warning C4793: 'CryptoPP::FixedSizeSecBlock<unsigned int,
16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int,
16,CryptoPP::NullAllocator<unsigned int>,0>
>::FixedSizeSecBlock<unsigned int,
16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int,
16,CryptoPP::NullAllocator<unsigned int>,0> >' : function compiled as
native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::FixedSizeSecBlock<unsigned int,
16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int,
16,CryptoPP::NullAllocator<unsigned int>,1>
>::FixedSizeSecBlock<unsigned int,
16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int,
16,CryptoPP::NullAllocator<unsigned int>,1> >' : function compiled as
native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::FixedSizeSecBlock<unsigned
__int64,16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned
__int64,16,CryptoPP::NullAllocator<unsigned __int64>,1>
>::FixedSizeSecBlock<unsigned
__int64,16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned
__int64,16,CryptoPP::NullAllocator<unsigned __int64>,1> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::FixedSizeSecBlock<unsigned
__int64,16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned
__int64,16,CryptoPP::NullAllocator<unsigned __int64>,0>
>::FixedSizeSecBlock<unsigned
__int64,16,CryptoPP::FixedSizeAllocatorWithCleanup<unsigned
__int64,16,CryptoPP::NullAllocator<unsigned __int64>,0> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::FixedSizeAlignedSecBlock<unsigned
int,16,0>::FixedSizeAlignedSecBlock<unsigned int,16,0>' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::FixedSizeAlignedSecBlock<unsigned
int,16,1>::FixedSizeAlignedSecBlock<unsigned int,16,1>' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::FixedSizeAlignedSecBlock<unsigned
__int64,16,1>::FixedSizeAlignedSecBlock<unsigned __int64,16,1>' :
function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA1>::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA1>' : function compiled
as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA256>::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA256>' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA224>::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA224>' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA512>::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA512>' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA384>::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA384>' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::ClonableImpl<CryptoPP::SHA1,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA1>
>::ClonableImpl<CryptoPP::SHA1,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA1> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::ClonableImpl<CryptoPP::SHA256,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA256>
>::ClonableImpl<CryptoPP::SHA256,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA256> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::ClonableImpl<CryptoPP::SHA224,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA224>
>::ClonableImpl<CryptoPP::SHA224,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>,CryptoPP::SHA224> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::ClonableImpl<CryptoPP::SHA512,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA512>
>::ClonableImpl<CryptoPP::SHA512,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA512> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::ClonableImpl<CryptoPP::SHA384,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA384>
>::ClonableImpl<CryptoPP::SHA384,CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>,CryptoPP::SHA384> >' : function
compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,20,CryptoPP::SHA1,0,0>::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,20,CryptoPP::SHA1,0,0>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,20,CryptoPP::SHA1,0,0>::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,20,CryptoPP::SHA1,0,0>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA256,32,1>::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA256,32,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA256,32,1>::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA256,32,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA224,28,1>::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA224,28,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA224,28,1>::IteratedHashWithStaticTransform<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,32,CryptoPP::SHA224,28,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA512,64,1>::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA512,64,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA512,64,1>::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA512,64,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA384,48,1>::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA384,48,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793:
'CryptoPP::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA384,48,1>::IteratedHashWithStaticTransform<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,64,CryptoPP::SHA384,48,1>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>::IteratedHash<unsigned
int,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
64,CryptoPP::HashTransformation>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>::IteratedHash<unsigned
__int64,CryptoPP::EnumToType<enum CryptoPP::ByteOrder,1>,
128,CryptoPP::HashTransformation>' : function compiled as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::SHA1::SHA1' : function compiled as
native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::SHA256::SHA256' : function compiled
as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::SHA224::SHA224' : function compiled
as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::SHA512::SHA512' : function compiled
as native :
1> Aligned data types not supported in managed code
1>d:\ : warning C4793: 'CryptoPP::SHA384::SHA384' : function compiled
as native :
1> Aligned data types not supported in managed code

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to