Article View: gnu.gcc.help
Article #50174getting ANSI prototypes for gcc 2.4.5
From: Mark Evenson
Date: Wed, 10 Nov 1993 20:25
Date: Wed, 10 Nov 1993 20:25
21 lines
1191 bytes
1191 bytes
when I compile with:
gcc -g -ansi -Wall foo.c
under sparc-sun-sunos4.1.3, I get warnings about implicit definitions of
functions.
I'm confused, so I just supply my own in an #include "ansihack.h". But I
would rather not do this.
Wasn't the 'fixincludes' pass in installing the compiler supposed to fix
this?
I don't have to explicity include the
${GNU_PREFIX}/lib/gcc-lib/sparc-sun-sunos4.1.3/2.4.5/include directory, do
I?
I can't see anything obvious in the gcc.info file, so can someone please
take a few lines and explain where gcc should be getting ANSI prototypes
from.
Technical Details
Message-ID:
<MARK.93Nov10152552@mark.mvision.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!psinntp!psinntp!netnews.eng.mvision.com!netnews!markShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3cd95749e36de244,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-10 14:08:21 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!psinntp!psinntp!netnews.eng.mvision.com!netnews!mark From: mark@mark.mvision.com (Mark Evenson) Subject: getting ANSI prototypes for gcc 2.4.5 Message-ID: <MARK.93Nov10152552@mark.mvision.com> Sender: news@mvision.com Organization: Market Vision Inc. Distribution: inet Date: Wed, 10 Nov 1993 20:25:52 GMT Lines: 22