🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42072

Re: string.h problems with gcc-2.7.1 running on hpux8.00

#42072
From: David D Kilzer
Date: Fri, 19 Jan 1996 00:00
32 lines
1821 bytes
bartk@odie.et.fnt.hvu.nl (Bart Korsten) writes:

> I just compiled the gcc-2.7.1 release on my hp9000/s800 running with
> hpux8.00.

> When compiling (any) source i get the error : 
> warning: conflicting types for built-in function 'memcmp'
> '                       '                        'strcpy'
>'                       '                         'strcmp'
> '                       '                        'memcpy'

> what did i do wrong ... ?

Did you get any errors when the compiler went through the fixing headers
stage?  If you were using the HP versions of grep & sed, you'll need to
get the GNU versions of sed and grep and compile and install those, then
rerun gcc (or at least the header stage of making gcc) so that these
files can get fixed.  (Make SURE that the GNU utilities are FIRST in
your path, too.)

If this will take too long to do, just edit the modified header file in
the GNU gcc include directory by hand so they DO agree.  :^)

Or you could get the gcc-lib package, though I don't think it's quite
complete, yet.

Dave
-- 
David D. Kilzer              \        Emergency Holographic Doctor:
ddkilzer@iastate.edu         /   ``Don't worry, I'm not going to kiss you.
Computer Engineer 5          \      I'm only adjusting the restraint.''
Iowa State University, Ames  /         _Star_Trek_Voyager:__Phage_
Technical Details
Message-ID: <ddkilzer.822027320@tbp.eng.iastate.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4d5mcd$a79@elektron.et.tudelft.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d34c717ce5ee752
X-Google-Attributes: gid11318c,public
From: ddkilzer@iastate.edu (David D Kilzer)
Subject: Re: string.h problems with gcc-2.7.1 running on hpux8.00
Date: 1996/01/19
Message-ID: <ddkilzer.822027320@tbp.eng.iastate.edu>
X-Deja-AN: 136082062
references: <4d5mcd$a79@elektron.et.tudelft.nl>
organization: Iowa State University, Ames, Iowa
newsgroups: gnu.gcc.help