Patrick,

I guess your bcc compiler is using this typedef in sha2.h:72 for
unsigned 64bit long:

     typedef unsigned long long sha2_64t;

and then it has problems with 'long long'; to fix this
add an ifdef for your compiler and a defn for sha2_64t
in sha2.h in here:

/* define an unsigned 64-bit type */

#if defined( _MSC_VER )
  typedef unsigned __int64   sha2_64t;
  #define s_u64 ui64
#elif ULONG_MAX == 0xffffffffffffffff
  typedef unsigned long      sha2_64t;
  #define s_u64   ul
#elif ULONG_MAX == 0xffffffff
  typedef unsigned long long sha2_64t;   /* a somewhat dangerous guess */
  #define s_u64  ull
#else
#error Please define sha2_64t as an unsigned 64 bit type in sha2.h
#endif


thanks,
mosh


On Tue, Mar 23, 2010 at 12:21 AM, Patrick Texier <[email protected]> wrote:
> Le Sun, 21 Mar 2010 19:07:37 +0100, Dominique Pellé a écrit dans le
> message <[email protected]> :
>
>> I compiled with -g -O0 -Wall -Wmissing-prototypes and I see compilation
>> warnings:
>
> Using Borland C++ 5.5/Windows 98, I have an error in sha2.h
>
> Error E2176 .\sha2.h 72: Too many types in declaration
>
> Full log is attached.
> --
> Patrick Texier
>

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe from this group, send email to 
vim_dev+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Raspunde prin e-mail lui