Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!texbell!uhnix1!sugar!karl From: karl@sugar.hackercorp.com (Karl Lehenbauer) Newsgroups: comp.sys.amiga.tech Subject: Making Power Windows work with Manx 5.0a Message-ID: <5566@sugar.hackercorp.com> Date: 12 Apr 90 23:27:11 GMT Reply-To: karl@sugar.hackercorp.com (Karl Lehenbauer) Organization: Sugar Land Unix - Houston Lines: 17 I have abandoned using Power Windows in favor of Tcl for new development, but for those still developing with it or those needing to bring their Power Windows code up to Manx 5.0, there'll be a couple things you'll need to do: Compile the C source output by PW with "-wo" set (this keeps some ptr/int problems from ending the compile; the PW people should have used casts on some things) In an include file referenced by the PW-generated code, or via some other means, "#undef NULL" and "#define NULL 0". (the new Manx defines NULL as (void *)0, which causes some invalid-use-of-datatype errors because they used NULL for some byte values and such) -- -- uunet!sugar!karl "If you do everything, you'll win." -- LBJ -- Usenet access: (713) 438-5018