Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!gatech!gitpyr!djl From: djl@gitpyr.UUCP (Dave Lane) Newsgroups: net.unix-wizards Subject: Re: The incredible exploding C compiler. Message-ID: <1347@gitpyr.UUCP> Date: Thu, 6-Feb-86 10:02:34 EST Article-I.D.: gitpyr.1347 Posted: Thu Feb 6 10:02:34 1986 Date-Received: Fri, 7-Feb-86 21:11:22 EST References: <1377@sdcsvax.UUCP> Organization: Georgia Institute of Technology Lines: 17 Keywords: boom, blech, argh, barf Okay, I just spent a few hours fiddling with this exact same problem on one of our 3B2s. The problem lies with the fact that, as distributed, hack expects chars to be signed. There are comments in config.h about this. if chars on your machine are unsigned, as on the 3B2, then you have to change the typedef for schar (in config.h) to "short int" instead of "char". just in case you care, the message comes from /lib/comp (even the dlabel part) which is the workhorse part of the c compiler on the 3B2. Dave Lane -- Dave Lane, User Assistant, Office of Computing Services, Georgia Institute of Technology, Atlanta, Georgia 30332 ...!{akgua,allegra,amd,hplabs,ihnp4,masscomp}!gatech!gitpyr!djl ...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally,ut-ngp}!gatech!gitpyr!djl