config.h...

// how to declare class constants
#if defined(_MSC_VER) && _MSC_VER <= 1300
#       define CRYPTOPP_CONSTANT(x) enum {x};
#else
#       define CRYPTOPP_CONSTANT(x) static const int x;
#endif

Jeffrey Walton wrote:
Hi Wei,

That was the fix. Now I have the following:

c:\Crypto++ 5.4\xormac.h(15) : fatal error C1001: INTERNAL COMPILER
ERROR
        (compiler file 'msc1.cpp', line 2844)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more
information

Wei Dai wrote:
> Apparently Jeff is using MSVC .NET 2002, and this is the same problem that
> was reported here:
> http://groups.google.com/group/cryptopp-users/msg/1337c391068c165f.
>
> I'll get it fixed. There is a problem with MSVC .NET 2003 in the current
> pre-release also, which I've fixed.
>
> Thanks for these reports. I'll be making the official 5.4 release later
> today.
>
> ----- Original Message -----
> From: "Jeffrey Walton" <[EMAIL PROTECTED]>
> To: "Crypto++" <[EMAIL PROTECTED]>
> Sent: Thursday, December 21, 2006 5:21 PM
> Subject: Crypto++ 5.4, VC7.1 Issue
>
> > Hi Wei,
> >
> > I use the library files as a base line (no DLL). So this only applies
> > to cryptlib.
> >
> > Compiling produces 3 errors (two times, for a total of 6). See below.
> >
> > Jeff
> >
> > SNIP
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Crypto++ 
Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to