delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/19/01:11:07

From: benny AT crocodial DOT de (Benjamin Riefenstahl)
Subject: Re: Problem with a header file
19 Sep 1998 01:11:07 -0700 :
Message-ID: <360292D4.94599332.cygnus.gnu-win32@crocodial.de>
References: <19980918152209 DOT 8894 DOT rocketmail AT send1e DOT yahoomail DOT com>
Mime-Version: 1.0
To: gw32 <gnu-win32 AT cygnus DOT com>

Hi Earnie,


> > Dr. Volker Zell wrote:
> > > The problem is in the oratypes.h include file:
> > > ...
> > >   typedef unsigned _int64 ub8;

> ---Benjamin Riefenstahl <benny AT crocodial DOT de> wrote:
> > Anyway, for a better fix change the code to this:
> >    typedef unsigned long long ub8;

Earnie Boyd wrote:
> Why not do:
> typedef long long _int64;
> ?!?!

Indeed that was my first idea, too. But note that Volker needed the
unsigned version and there things get messy, because

  typedef long long __int64;
  ...
  typedef unsigned __int64 ub8;

is illegal, so it would not have helped in this case.

Instead one could probably do

  #define __int64 long long

If this has no undesirable side effects, this could even be put on the
compiler command line or in the specs file.


so long, benny
======================================
Benjamin Riefenstahl (benny AT crocodial DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019