Hi jvshore,

> c:\crypto++\misc.h(215) : error C2146: syntax error : missing ';'
> before identifier 'NativeByteOrder'
I don't have a current VC 6 installation, so I'm shooting from the
hip. It sounds like the compiler has not encountered the type yet.

1) Try including cryptlib.h
2) Try forward declaring the class or type.

The 5.5.2 installation uses the following declaration:
#ifdef IS_LITTLE_ENDIAN
typedef LittleEndian NativeByteOrder;
#else
typedef BigEndian NativeByteOrder;
#endif

Jeff


On 2/16/08, jvshore <[EMAIL PROTECTED]> wrote:
>
> I was able to compile the Crypto++ library w/o problem using VC6 and
> version 5.21. However, when I attempt to statically link the cryptlib
> into my ATL project I get the following errors:
>
> c:\crypto++\misc.h(215) : error C2146: syntax error : missing ';'
> before identifier 'NativeByteOrder'
> c:\crypto++\misc.h(215) : fatal error C1004: unexpected end of file
> found
>
> Any help would be greatly appreciated. Let me know if I need to
> include more information.
>
> Thanks
>

--~--~---------~--~----~------------~-------~--~----~
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