*BSD News Article 66293


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!iol!gate.ohs.ie!usenet
From: steveo@gate.ohs.ie (Steve O'Hara-Smith)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Sys_errlist conflict with Top3-4 compile
Date: 16 Apr 1996 21:48:00 GMT
Organization: Steve O'Hara-Smith
Lines: 24
Sender: root@gate.ohs.ie (Steve O'Hara-Smith)
Message-ID: <4l14ig$2o5@gate.ohs.ie>
References: <4l0k4d$mb9@saluki-news.wham.siu.edu>
NNTP-Posting-Host: dialup-141.dublin.iol.ie
X-Newsreader: knews 0.9.6

In article <4l0k4d$mb9@saluki-news.wham.siu.edu>,
	jimd@dutton2.it.siu.edu (Jim Dutton) writes:
>In trying to compile Top-3.4 under FreeBSD V2.0.5, I get the following
>error:
>
>	/usr/bin/gcc -O -c utils.c
>	utils.c:326: conflicting types for `sys_errlist'
>	/usr/include/stdio.h:244: previous declaration of `sys_errlist'
>	### Error code 1
>
>

	I've had this sort of error lots of times porting odd bits of code
removing the declaration in the package being ported has _always_ worked.
If you get errors after that they are nothing to do with the sys_errlist
conflict and will need to be handled.

	I do find it annoying that a const violation is an error and not
a warning.

-------------------------------------------------------------------------------
Steve O'Hara-Smith
E-Mail: steveo@iol.ie