Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!decwrl!shelby!neon!Gang-of-Four!weening From: weening@Gang-of-Four.Stanford.EDU (Joe Weening) Newsgroups: comp.windows.x Subject: Re: X11R4 gcc-1.36 SunOS 4.0.3 puzzle Message-ID: Date: 8 Feb 90 08:24:51 GMT References: <1990Feb8.010833.20242@ucselx.sdsu.edu> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Computer Science Department, Stanford University Lines: 12 In-Reply-To: cbcscmrs@mx.csun.edu's message of 8 Feb 90 01:08:33 GMT In article <1990Feb8.010833.20242@ucselx.sdsu.edu> cbcscmrs@mx.csun.edu (Mike Stump) writes: puzzle will dump core if gcc-1.36 is used on a Sun3 running SunOS 4.0.3 To fix, use /bin/cc Reason: puzzle calls sscanf() with a constant string argument. Fix: use gcc -fwritable-strings. -- Joe Weening Computer Science Dept. weening@Gang-of-Four.Stanford.EDU Stanford University