gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] VC repair


From: Trevor Morris
Subject: Re: [gnugo-devel] VC repair
Date: Sun, 05 Jan 2003 15:30:31 -0500

According to Microsoft: 
<BEGIN Microsoft>
Compiler Error C2133
'identifier' : unknown size
An unsized array was declared as a member of a class, structure, union, or 
enumeration.
Unsized member arrays are not allowed when the /Za (ANSI) switch has been 
chosen.
....
<END Microsoft>

Now, it would be simple enough to remove the ANSI switch, but that seems like
not the right answer.

Perhaps this is simpler anyway:
http://www.public32.com/games/go/vcrepair_3_15.2

- re-arrange mkpat code generation for ANSI benefit.



At 08:45 PM 1/5/2003 +0100, Arend Bayer wrote:

>> It seems paul_3_15.4 breaks the VC build. Namely, VC doesn't like forward
>> declarations of arrays of unknown sizes. Declaring them 'extern' instead of
>> 'static' makes VC "happy" (oh well). I'm unsure this is the right thing to
>> do though.
>
>This causes gcc warnings when compiled with -pedantic. It correctly
>complains about the definition being static, whereas the forward
>declaration isn't.
>
>I am not sure about what to do either.
>
>Arend
>
>
>
>
>_______________________________________________
>gnugo-devel mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/gnugo-devel 






reply via email to

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