----------------------------------------------------------- RCS data: $Date: 2003/06/23 14:47:23 $ $Revision: 1.1.1.1 $ $Source: /cvsroot/miwm/miwm/miwm/notes.txt,v $ $Id: notes.txt,v 1.1.1.1 2003/06/23 14:47:23 bwise837 Exp $ $RCSfile: notes.txt,v $ ----------------------------------------------------------- Copyright by Ben Paul Wise. ----------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ----------------------------------------------------------- PROGRAMMING NOTES: (A) the sleep/timer stuff compiled under Linux, but I could not get rid of the 'incomplete type' errors under Solaris. So I finally commented it out. It was unused anyway. (B) The -Xmu library is needed for linking under Solaris. Under Linux, it is unneeded and harmless. (C) This will not run under SGI, because SGI does not initialize static data members of a class as the standard says: 'int Foo::stuff = 9;' at the top level is ignored at run time! NO Longer: latest Irix handles the static data members correctly. (D) I can not turn Client into a class, because the initialization is somehow different. As a struct, some default value is set well. As a class, it is set to garbage, and clients appear off screen, terminate when touched, and other maladies. (E) compiler under SGI much better at checking unreachable, set but not used, etc. also requires different compiler, ld options, etc. the config.sgi file takes this into account (F) Purify (tm) is very good at finding memory problems. If only I were so good at fixing them! The memory leak checker in my aaa toolkit works as well, and it is free. It keeps turning up errors in 'obliterateList' of a nodeList, 'remove' of a node, etc., so I had to change the 'assert' at the "Double Delete attmpted?" to just a warning. ----------------------------------------------------------- - Copyright 1997-2000 Ben Paul Wise. All rights reserved. - -----------------------------------------------------------