Re: Warnings compiling modules on test3-pre2

From: Chris Wedgwood (cw@f00f.org)
Date: Mon Jul 03 2000 - 17:48:44 EST


    Ugh. I use gcc 2.7.2.3.

It's not gcc version dependant (wellm shouldn't be).
    
    This has been discussed before - Jeff, what's the story here? Is
    
    static int __init foo_init (void) {}
    
    the correct way to declare a module destructor? Is there a
    standard, magical workaround to prevent the warning?

The test3-pre2 makefile now treats all warnings as errors, either
remove the -Werror or apply the attached patch (the relevant hunk in
the init.h code from jj).

  --cw



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:13 EST