Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: sdawalt@desire.wright.edu (Shane A. Dawalt, Network Engineer)
Subject: Re: SUMMARY: perl-4.036 on OSF/1 V1.3 112
Date: 24 Feb 94 22:02:04 EST	[thread overview]
Message-ID: <1994Feb24.220204.19378@desire.wright.edu> (raw)
In-Reply-To: CLr7Gz.HDo@raven.alaska.edu

In article <CLr7Gz.HDo@raven.alaska.edu>, 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.       |
+------------------------------------+------------------------------------+


      reply	other threads:[~1994-02-25  3:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-24 20:22 perl-4.036 on OSF/1 V1.3 112 Randy M. Hayman
1994-02-25  0:17 ` SUMMARY: " Randy M. Hayman
1994-02-25  3:02   ` Shane A. Dawalt, Network Engineer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox