[Ecls-list] build.vc8 files in mac format

Goffioul Michael goffioul at imec.be
Mon Feb 12 08:35:28 UTC 2007


> On 2/11/07, Juan Jose Garcia-Ripoll 
> <jjgarcia at users.sourceforge.net> wrote:
> > 2007/2/11, Juan Jose Garcia-Ripoll <jjgarcia at users.sourceforge.net>:
> > > I guess this might depend on the capabilities provided by each 
> > > machine. I am trying a build without LONG_LONG in the 
> library and if 
> > > it works I will commit the change.
> >
> > Deactivating LONG_LONG in the bignum library seems to work. 
> It might 
> > lead to a slower build, but it seems some versions of MSVC 
> require it.
> 
> I'm pretty sure that MSVC supports a 64-bit data type but 
> it's something nonstandard with underscores (not "int64_t" or 
> whatever C99 has).  Maybe newer versions of MSVC support the 
> C99 data types?

MSVC8 (VS2005) does not support C99 integer types, AFAIK. However
it support native 64 bits signed integer through __int64 type.
It also support unsigned version with ULONGLONG.

I also tried the following test program and it works OK:

#include <stdio.h>

int main()
{   
    long long i = 0;

    printf("%ld\n", i);
    printf("%d\n", sizeof(i));
    return 0;
}

Output:

0
8

Michael.




More information about the ecl-devel mailing list