swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] gcc and messages to nil. I'm needing help


From: Paul Johnson
Subject: [Swarm-Support] gcc and messages to nil. I'm needing help
Date: Fri, 11 Aug 2006 15:26:03 -0500
User-agent: Thunderbird 1.5.0.5 (X11/20060808)

In the recent past, Swarm programs would stop with an error if a message was sent to nil. Now, In Fedora Core 4 and 5, gcc-4.X, the behavior of the compiler has been changed. I think now it matches the behavior described in the Objective-C book that Apple circulates, which holds that messages to nil do not produce a warning or error. This causes bad bad problems for me/us. One problem, which we discovered last month, is that even when Swarm's init fails to create lispArchiver and lispAppArchiver, the program continues and generates some bogus outcomes. Now I noticed while working on an FC4 system that an improperly created distribution was resulting in a nil, and then repeated calls for "getDoubleSample" were returning crap, but no warnings or errors.

So I wish I could make gcc behave like it did in the old days, so that a program would stop and tell us when a message is sent to a nil. And where in the code it happens.
pj

--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700



reply via email to

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