Computer Chess Club Archives




Subject: Re: Maximum Number of Legal Moves

Author: Eugene Nalimov

Date: 13:02:22 05/09/05

Go up one level in this thread

On May 09, 2005 at 15:46:50, Dieter Buerssner wrote:

>On May 09, 2005 at 15:36:50, Dann Corbit wrote:
>>C99 has variant arrays.
>Which compilers do support it? I know, that Gcc supports it, also ICC. Does MS
>support it? Do all the compilers, that support it, use an efficient
>implementation (that for example just adjusts the stack pointer)?
>I was surprised, that some code I tried a while back, and that used C99 unsigned
>long long worked with (some newer version of) the Microsoft compiler. I did not
>find this new feature mentioned in the documentation. I was used to the typical
>#if ... typedef ... unsigned __int64 things before.
>Seems, that newest MS compiler still does not support the C99 format specifiers
>for long long. (I am aware, that this is really a library issue. But from the
>compiler user point of view - in the sense of the C standard - this should not

C:\temp>type q.c
#include <stdio.h>

long long x = 1, y = 2;

int main (void)
    printf ("%lld %lld\n", x, y);
    return 0;

C:temp>cl q.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50317 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 8.00.50317
Copyright (C) Microsoft Corporation.  All rights reserved.


1 2



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.