Date: Sat, 7 Aug 2010 19:32:32 +0000 (UTC) From: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: Re: games/connect4 segfaults. Message-ID: <i3kccg$1mv2$1@lorvorc.mips.inka.de> References: <AANLkTinoWzD_ATmyq3RQhHhT7OKii9n%2BUOnk7N=B45HU@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David DEMELIER <demelier.david@gmail.com> wrote: > I just wanted to try games/connect4 but it segfaults here on FreeBSD > 8.1-RELEASE and amd64. > > It's a long backtrace so I think you should try it by yourself. Actually it's a short backtrace, but who needs it? Whenever you see these warnings... c4.c:840: warning: cast from pointer to integer of different size c4.c:840: warning: cast to pointer from integer of different size c4.c:843: warning: cast from pointer to integer of different size c4.c:843: warning: cast to pointer from integer of different size ... chances are, the code doesn't work on 64-bit platforms, and the compiler points you straight to the places that need to be fixed. -- Christian "naddy" Weisgerber naddy@mips.inka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?i3kccg$1mv2$1>