🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1185

(none)

#1185
From: chad hoffman
Date: Sat, 10 Oct 1992 19:53
21 lines
946 bytes
Subject: gcc-1.42 compilation error

I'm attempting to compile gnu finger-1.36 on an SGI Iris running
under Irix 4.0.1, and am using gcc-1.42. The error I get is:

util.c: In function strdup:
util.c:402 : argument 's' doesn't match function prototype

The section of code in util.c is:

char *
strdup(s)
char *s

I've had this problem before and have found that using the Iris's
standard C compiler doesn't produce this error.

Chad Hoffman
Biochemistry/Biophysics
Iowa State University
chad@helix1.chem.iastate.edu
Technical Details
Message-ID: <9210110553.AA00528@helix1.chem.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!helix1.chem.iastate.edu!chad

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!helix1.chem.iastate.edu!chad
From: chad@helix1.chem.iastate.edu (chad hoffman)
Subject: (none)
Message-ID: <9210110553.AA00528@helix1.chem.iastate.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 10 Oct 1992 19:53:17 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 24