gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Conflicting declarations of variable joseki


From: Michael Tautschnig
Subject: [gnugo-devel] Conflicting declarations of variable joseki
Date: Fri, 21 Sep 2012 22:47:32 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

While compiling your package using our research compiler infrastructure it
became apparent that the variable joseki in patterns/joseki.c has conflicting
declarations:

- static struct corner_pattern joseki[1623];
- static struct corner_pattern joseki[] = { ... 1622 entries };

Note that the second declaration is not just an initialisation, but
re-declares the variable. This may result in undefined behaviour.

Best,
Michael

Attachment: pgpN4GOuJ4mCs.pgp
Description: PGP signature


reply via email to

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