Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!europa.asd.contel.com!wlbr!news From: amc@wlv.imsd.contel.com (Allen M. Cohen) Newsgroups: comp.windows.x.motif Subject: FAQ 56 correction Keywords: FAQ Message-ID: <1991Jun26.002424.25342@wlbr.imsd.contel.com> Date: 26 Jun 91 00:24:24 GMT Sender: news@wlbr.imsd.contel.com (news) Distribution: usa Organization: Contel Federal Systems Lines: 15 Nntp-Posting-Host: wlv.imsd.contel.com I encountered an error in FAQ 56, when using gcc with -O; namely, Bool keep_grab = True; should be: static Bool keep_grab; keep_grab = True; or use "volatile". The problem is that keep_grab gets optimized out in the event processing loop. <> Allen M. Cohen Internet: amc@wlv.imsd.contel.com <> <> 1853 Stonesgate St. UUCP: elroy.Jpl.Nasa.Gov!agi0!allen <> <> Westlake Village, Ca. 91361 Telephone: (805) 498-9611 ext. 195 <> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>