Re: Stupid Compiler Tricks

From: Patrick Dughi (dughi@IMAXX.NET)
Date: 05/14/98


> What is happening is that I'm adding variables and code to an existing
> function (mobile_activity) which when compiled are completely ignored.
> Dong an "info locals" in gdb doesn't show my variables, and if I try to
> print them, I'm told there aren't any variables of that name in this
> context.  Strangely, the code shows up as expected when I "list" it, and
> if I pass the variables to functions, they're passed as 0.
>
> Any ideas about what's going on here?
>
        Sounds like the time that I compiled code as circle.new and ran
bin/circle -q 4000 for about 3 hours, trying to figure out why NO changes
went through.  Otherwise though, post code :)  Though I'm sure its right
(being you of course) I'll try to compile it myself :)

                                        PjD


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST