Hajo, Thank you very much, I also need to compile crypto++ with RTTI 
switched off, I tried your procedure, but something seems to be going wrong 
using MS VC compiler!
i'm getting compile time error! (on the Blue line).
class HajoMkType : public std::type_info {
public:
   inline HajoMkType(const char* name) : std::type_info(name) {} <= "error 
C2664: 'type_info::type_info' : cannot convert parameter 1 from 'const char 
*' to 'const type_info &'" 
   inline virtual ~HajoMkType() {}
};

Is there anything I can do, to fix it?

On Tuesday, March 12, 2013 8:34:38 PM UTC+3, Hajo Nils Krabbenhöft wrote:
>
> Hi guys,
>
> and first off, thanks for the great Crypto++ library. 
>
> We had a client requirement to do encryption but were not allowed to use 
> RTTI because our client fears that the RTTI information will make reverse 
> engineering of the product easier. To make this work, I used a template 
> function to replace typeid() and then created explicit instantiations for 
> all needed types. Compiled with my fake RTTI, Crypto++ passes all tests. In 
> case that matters, I'm using the Intel Compiler and Crypto++ 5.6.0. 
>
> Here's the steps I took and the resulting source code:
>
> https://gist.github.com/fxtentacle/5145014<https://www.google.com/url?q=https%3A%2F%2Fgist.github.com%2Ffxtentacle%2F5145014&sa=D&sntz=1&usg=AFQjCNEAMiydIDyVekSSDDepe6Pc59ZO6w>
> (and attached as markdown)
>
> Cheers, 
> Hajo Nils Krabbenhöft
>
>

-- 
-- 
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.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to