Re: [Cygwin] Compiler bug?

From: George Greer (greerga@circlemud.org)
Date: 04/09/02


On Tue, 9 Apr 2002, Templar Viper wrote:

>I've encountered a weird problem in the cygwin compiler. I'm using cygwin
>on win 98, and am using circle with olc and dg_scripts. In the following
>function, I create the integer j, with value 0. When I later try to give
>it a value in the code later on, it just returns 0. Maybe it's just
>something that I did wrong.. maybe not. The code may seem a bit messy but
>i'm still working on that :)

The variable isn't static and you never enter both the case to set it and
the case to display it.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT