[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] movefilter -- line 3210 in eval.c

From: Joseph Heled
Subject: Re: [Bug-gnubg] movefilter -- line 3210 in eval.c
Date: Wed, 04 Dec 2002 07:35:49 +1300
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020829

This is probably a GNU C/C++ extention which I am using without knowing it is non standard.


Jim Segrave wrote:
On Tue 03 Dec 2002 (14:51 +0100), Øystein O Johansen wrote:

   for( iPly = 0; iPly < nPlies; ++iPly ) {
     movefilter* mFilter =
    (iPly < MAX_FILTER_PLIES) ? &mFilters[iPly] : &(movefilter){0,0,0.0};

Sorry, I don't understand &(movefilter){0,0,0.0};

What is it supposed to mean?

The problem is that MSVC doesn't understand this either.

I've fixed a different problem in this function and patched this part
in line with Joern's proposal. I didn't know that was valid C.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]