Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Maximum Number of Legal Moves

Author: Eugene Nalimov

Date: 13:15:16 05/09/05

Go up one level in this thread


On May 09, 2005 at 16:02:22, Eugene Nalimov wrote:

>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.

http://msdn2.microsoft.com/library/cc953fe1(en-us,vs.80).aspx
http://msdn2.microsoft.com/library/s3f49ktz(en-us,vs.80).aspx

Thanks,
Eugene

>>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
>>matter).
>
>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.
>
>q.c
>Microsoft (R) Incremental Linker Version 8.00.50317
>Copyright (C) Microsoft Corporation.  All rights reserved.
>
>/out:q.exe
>q.obj
>
>C:temp>q.exe
>1 2
>
>Thanks,
>Eugene
>
>>Regards,
>>Dieter



This page took 0.01 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

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