[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] Re: arend_3_3.6: shrink size of local_owl_data
From: |
Gaute B Strokkenes |
Subject: |
[gnugo-devel] Re: arend_3_3.6: shrink size of local_owl_data |
Date: |
Thu, 23 May 2002 01:52:04 +0100 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i586-pc-linux-gnu) |
On Wed, 22 May 2002, address@hidden wrote:
>
>
> Dan wrote:
>
>> After this patch I get a compilation error because in
>> owl_make_domains because
>>
>> current_owl_data = owla;
>> other_owl_data = owlb;
>>
>> comes before the declarations:
>>
>> struct eye_data *black_eye = NULL;
>> struct eye_data *white_eye = NULL;
>>
>> If I switch those then it compiles.
>
> Hmm, I didn't catch this because I was using gcc 3.1 for compiling
> (which yields slightly faster code -- compilation takes longer
> however).
>
> It suspect that the option -Wp,lang-c89 should take care of forcing
> a failure here. However, I cannot find this option in either the
> documentation of gcc-2.95.3 nor 3.1 I can force gcc 3.1 to produce a
> warning there with -ansi -pedantic. But that causes tons of other
> warnings due to the variadic macros.
>
> I guess I will switch back to gcc 2.95.
Look into the -std option--it's all in the manual.
Cheers,
--
Gaute Strokkenes http://www.srcf.ucam.org/~gs234/
I just bought FLATBUSH from MICKEY MANTLE!