Compile warnings on SGI Irix 6.2

Billinghurst, David David.Billinghurst at riotinto.com.au
Tue Dec 23 05:27:37 GMT 1997


I few weeks ago I compiles samba-1.9.18alpha11 on SGI Irix 6.2 with the
-fullwarn flag (below)
It is VERY picky, and threw up lots and lots of warnings.  They seem
"mostly harmless",
but there are some  64 bit issues that might cause problems on large
disks

I have fixed what seem like trivial problems, including:
   using the mode_t type where appropriate (mode_t is an unsigned long
for Irix 6.2 -n32)
   fixing missing prototypes

I am prepared to do the same for samba-1.9.18alpha13, and then look at a
couple of the non-trivial
issues, if the changes will be merged into the code tree. 

########### Makefile fragment for Irix 6.2
###############################

# FOR SGI IRIX 6.2 using the system compiler (*NOT* gcc), use this line
instead
# Contributed by David.Billinghurst at riotinto.com.au
# -fullwarn is very picky
# -woff suppresses warnings
#     1110: statement is unreachable
#     1174: declared but never referenced
#     1209: controlling expression is constant
#     1552: set but never used
# 
FLAGSM = -DSGI6 -DSHADOW_PWD -DHAVE_TIMEZONE -DFAST_SHARE_MODES
LIBSM = 
FLAGS1 = -O -n32 -g3 -fullwarn -woff 1110,1174,1209,1552

+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research and Technical Support
PO Box 316, Thomastown, Vic, Australia, 3074
Phone:	+61 3 9469 0642
FAX:	+61 3 9462 2700
Email:	David.Billinghurst at riotinto.com.au

It is always possible to aglutenate multiple separate problems
into a single complex interdependent solution. In most cases
this is a bad idea. - RFC1925


More information about the samba mailing list