brw@hertz.njit.edu (Brian White) (06/14/91)
Machine(s): DECstation 5000 model 200, DECsystem 5500 OS: Ultrix 4.2 Compiler: OSF gcc version 1.39.3 Anyone know the magic incantation to get perl to pass _any_ of the first couple of tests in the suite? Specifically, the conditional operators test failed; after commenting that one out, the "for" test hung. I'm sure this is pilot error and am willing to take my lumps; any takers? Brian Brian White, System Manager New Jersey Institute of Technology brw@hertz.njit.edu brw@njit.edu
meissner@osf.org (Michael Meissner) (06/15/91)
In article <1991Jun13.190959.28428@njitgw.njit.edu> brw@hertz.njit.edu (Brian White) writes: | Machine(s): DECstation 5000 model 200, DECsystem 5500 | | OS: Ultrix 4.2 | | Compiler: OSF gcc version 1.39.3 | | Anyone know the magic incantation to get perl to pass _any_ of the first couple | of tests in the suite? Specifically, the conditional operators test failed; | after commenting that one out, the "for" test hung. I'm sure this is pilot | error and am willing to take my lumps; any takers? | | Brian | | Brian White, System Manager | New Jersey Institute of Technology | brw@hertz.njit.edu brw@njit.edu OSF gcc version 1.39.9 should be coming today or Monday (7 and 8 are already out, but they had some problems). The core problem is that DEC changed what #define symbols the include files test against in 4.2 for ANSI compatibility. If you want something immediately, there are a couple of workarounds: 1) Use the -traditional switch; (or) 2) Define the following macros: __ANSI_COMPAT, __LANGUAGE_C, __MIPSEL, __R3000, __SYSTYPE_BSD, __bsd4_2, __host_mips, __mips, __ultrix, and __unix; (or) 3) Go back to Ultrix 4.1 (just kidding); (or) 4) edit /usr/include/ansi_compat.h (also just kidding). -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 You are in a twisty little passage of standards, all conflicting.