Path: utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!gatech!psuvax1!vu-vlsi!dsinc!syd From: syd@dsinc.UUCP (Syd Weinstein) Newsgroups: comp.sources.bugs Subject: Re: trying to get perl running on hp9000 Message-ID: <423@dsinc.UUCP> Date: 3 Aug 88 02:06:13 GMT References: <2105@mhres.mh.nl> <12082@ncoast.UUCP> Reply-To: syd@dsinc.UUCP (Syd Weinstein) Organization: Datacomp Systems, Inc., Huntingdon Valley, PA 19006 Lines: 30 In article <12082@ncoast.UUCP> allbery@ncoast.UUCP (Brandon S. Allbery) writes: :As quoted from <2105@mhres.mh.nl> by jv@mhres.mh.nl (Johan Vromans): :| It seems that this version of the C-compiler does not handle the following :| construct correctly: :| :| (double) (d_var1 rel-op d_var2) :| :| whre rel-op is one of ==, !=, <, >, <= or >= . :+--------------- : :Gee, that sounds familiar! Plexus Sys3 3.31 cc has either the same or a :very similar bug. (To be specific, our cc seems to act as if == != < > >= :<= && || ! returned some kind of special type which is automatically :promoted to (int) if necessary, but never to (double) or any other type; :and the "if" and "while" statements not only expect this type, but they also :only cast from (int) properly if the value is 0 or 1! (Talk about screwy :compilers! :Does Plexus System V cc have that bug fixed, or should we contemplate :something else for ncoast? Perl works fine on Plexus System V, as we run it here. I guess they fixed that problem. Actually, Plexus didnt write their own compiler, but used the portable C compiler from AT&T. The Sys3 and Sys5 compilers are very different. Also, green hills C does fine on Perl. -- ===================================================================== Sydney S. Weinstein, CDP, CCP Datacomp Systems, Inc. Voice: (215) 947-9900 {allegra,bellcore,bpa,vu-vlsi}!dsinc!syd FAX: (215) 938-0235