public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: prototyping
@ 1997-08-17 21:55 H.J. Lu
  1997-08-17 22:18 ` prototyping Jeffrey A Law
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: H.J. Lu @ 1997-08-17 21:55 UTC (permalink / raw)
  To: egcs

> 
>   In message <m0x0C8V-0004ecC@ocean.lucon.org>you write:
>   > > 
>   > >   In message <m0x07ER-0004ecC@ocean.lucon.org>you write:
>   > >   > I am thinking the other way around since I have removed those
>   > >   > incomplete external function declarations in .c files, using the
>   > >   > ones in .h files instead. I will first send in patches for .h files,
>   > >   > then .c files.
>   > > That's just as good of a place to start.
>   > > 
>   > 
>   > It dosen't work very well.
> I don't see why.
> 
> Go into a .c file, remove all the prototypes for extern things and
> put them into an appropriate .h file.  Remove all other prototypes
> for those same things from other .c files.
> 

It is not that simple. gcc is not designed with prototyping in mind.
It is kind of screwed up in that regard. A simple example, try to
prototype expand_expr () and you will see what I mean. It is just
the beginning :-).

I will see what I can do.


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-08-18  1:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-17 21:55 prototyping H.J. Lu
1997-08-17 22:18 ` prototyping Jeffrey A Law
1997-08-17 22:21 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Alexandre Oliva
1997-08-17 23:29 ` f/zzz.o comparison failures Jeffrey A Law
1997-08-18  1:03 ` Test result for 970814 on native sparc-sun-solaris2.5.1 Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).