This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: misc warnings patch (installed)


On Sun, May 21, 2000 at 11:33:30PM -0400, Michael Meissner wrote:
> On Sun, May 21, 2000 at 07:46:25PM -0700, Richard Henderson wrote:
> > On Sun, May 21, 2000 at 05:53:13PM -0700, Zack Weinberg wrote:
> > > Are you saying that "void" is recognized by K+R C in the context of
> > > return types?  I was under the impression it wasn't even a keyword.
> > 
> > "Late K&R" if you wish, but yes, every system under consideration.
> 
> Just to be pedantic, the only place you can safely use 'void' is as a function
> result type (void * was an invention of the original ISO community).

You learn something new every day...

I've applied this patch, which backs out the change.

zw

	* varasm.c (eh_frame_section): Revert change to argument list.

===================================================================
Index: varasm.c
--- varasm.c	2000/05/20 19:45:34	1.119
+++ varasm.c	2000/05/22 18:37:31
@@ -427,7 +427,7 @@ asm_output_aligned_bss (file, decl, name
 
 #ifdef EH_FRAME_SECTION_ASM_OP
 void
-eh_frame_section (void)
+eh_frame_section ()
 {
   if (in_section != in_eh_frame)
     {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]