This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with a header file


Hi Volker,


Dr. Volker Zell wrote:
> The problem is in the oratypes.h include file:
> 
> When I change line 169 (and the same in 183) from
> 
>   typedef unsigned _int64 ub8;
> 
> to
> 
>   typedef unsigned int ub8;
> 
> the compiliation succeeds and the program works. I'm not a programmer
> so my question is, why does this work?

I don't think it does. Your code evaluates to a 32-bit unsigned integer,
while the original specified 64 bits (with an MS-specific extension to
the language). It's possible that your program doesn't use this specific
code though.

Anyway, for a better fix change the code to this:

   typedef unsigned long long ub8;


so long, benny
======================================
Benjamin Riefenstahl (benny@crocodial.de)
Crocodial Communications EntwicklungsGmbH
Ruhrstraße 61, D-22761 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]