From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cbacc67cb7988a15 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-24 19:02:04 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usenet.ins.cwru.edu!news.ysu.edu!malgudi.oar.net!mercury.wright.edu!desire.wright.edu!sdawalt From: sdawalt@desire.wright.edu (Shane A. Dawalt, Network Engineer) Newsgroups: comp.unix.osf.osf1 Subject: Re: SUMMARY: perl-4.036 on OSF/1 V1.3 112 Message-ID: <1994Feb24.220204.19378@desire.wright.edu> Date: 24 Feb 94 22:02:04 EST References: Organization: Wright State University In article , HaymanR@icefog.uacn.alaska.edu (Randy M. Hayman) writes: > > Then, the make itself had a problem (warning): > .. > `sh cflags eval.o` eval.c > CCCMD = cc -c -std1 -D_BSD -DLANGUAGE_C -O2 -Olimit 2900 > /usr/lib/cmplrs/cc/cfe: Warning: ./handy.h: 28: Undefined the ANSI standard library defined macro NULL (4.1.2.1(9)) > /usr/lib/cmplrs/cc/cfe: Warning: eval.c, line 1674: Incompatible pointer type assignment (3.3.16.1, 3.5.4.1(21)) > value = (double) time(((long*)0 ) ); > -----------------------^ > > so, I decided to control-c outta this and fix it...(I hate these messages about > incompatible pointer types anyways) > > > icefog> diff eval.c eval.c.old > 1674,1675c1674 > < /* value = (double) time(Null(long*)); */ > < value = (double) time(Null(int *)); > --- >> value = (double) time(Null(long*)); > I believe I inserted 'std' as a CFLAG entry. Keeps the compiler happy. Until I found this switch in cc, I was having all sorts of trouble compiling gopher 2.10 client. If I can compile something on my Ultrix 4.2 box, I can normally get it to compile on the OSF/1 1.3 box by using the std flag. Shane(); +------------------------------------+------------------------------------+ | Shane A. Dawalt, Network Engineer : I cannot be held responsible for | | Wright State University : anything I write. While it is | | Dayton, OH 45435 : known my fingers can type | | sdawalt@desire.wright.edu : anything, what exactly controls | | 513.873.4089 : them is a medical mystery. | +------------------------------------+------------------------------------+