info-mtools
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mtools] Mtools 3.9.10 for VMS


From: Steven M. Schweda
Subject: Re: [mtools] Mtools 3.9.10 for VMS
Date: Fri, 30 Jun 2006 01:13:34 -0500 (CDT)

> cc  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc\" -DCPU_alphaev6 
> -DVENDOR_dec
> -DOS_osf5_1b -DOS_osf5 -DOS_osf  -g -fno-strict-aliasing -I.  -I.   -c llong.c
> cc: Warning: llong.c, line 18: In the initializer for max_off_t_seek, integer 
> ov
> erflow occurs in evaluating the expression
> "((mt_off_t)1<<(((sizeof(off_t)*8-1))
> <(sizeof(mt_off_t)*8-1)?((sizeof(off_t)*8-1)):(sizeof(mt_off_t)*8-1)))-1". 
> (into
> verfl)
> const mt_off_t max_off_t_seek = MAX_OFF_T_B(SEEK_BITS); /* SCSI */
> --------------------------------^
> 
> More "#pragma" directives could help here.  Perhaps changing "#ifdef
> __VMS" to "#ifdef __DECC" would quiet two compilers with one mess.

   It's true.  Changing "# ifdef __VMS" to "# ifdef __DECC" keeps
DEC/Compaq/HP C quiet on both VMS and Tru64 (and, I assume, Linux):

urtx# diff llong.c_older llong.c
16c16
< # ifdef __VMS
---
> # ifdef __DECC
18c18
< # endif /* def __VMS */
---
> # endif /* def __DECC */
22c22
< # ifdef __VMS
---
> # ifdef __DECC
24c24
< # endif /* def __VMS */
---
> # endif /* def __DECC */

------------------------------------------------------------------------

   Steven M. Schweda               address@hidden
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547
_______________________________________________
mtools mailing list
address@hidden
http://www.tux.org/mailman/listinfo/mtools


reply via email to

[Prev in Thread] Current Thread [Next in Thread]