Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS

From: Adrian Bunk (bunk_at_stusta.de)
Date: 08/30/05

  • Next message: SR, ESC: "Re: OOPS in 2.6.13: jfsCommit"
    Date:	Tue, 30 Aug 2005 18:48:51 +0200
    To: Olaf Hering <olh@suse.de>
    
    

    On Tue, Aug 30, 2005 at 06:38:19PM +0200, Olaf Hering wrote:
    >
    > page_cache_release and release_pages will be undefined when compiling
    > arch/ppc/configs/common_defconfig, but not arch/i386/defconfig, with
    > CONFIG_SWAP=n

    There will be some compile errors in cases where compilation previously
    worked because the undefined function wasn't called due to gcc dead code
    elimination.

    We need to fix some code, but I'd strongly prefer this over the possible
    runtime errors -Werror-implicit-function-declaration prevents in other
    cases.

    cu
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: SR, ESC: "Re: OOPS in 2.6.13: jfsCommit"

    Relevant Pages

    • Re: [2.6 patch] let broken drivers depend on BROKEN{,ON_SMP}
      ... remember that some things might only give compile errors under ... > support, for example, so something that breaks when it's not ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS
      ... > new compile errors, it only moves compile errors from compile time to ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS
      ... >> new compile errors, it only moves compile errors from compile time to ... Since there are not many drivers using them, ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.13-rc3-mm3 question
      ... releasing a -mm kernel, but this doesn't catch every compile error. ... One of the purposes of -mm kernels is actually to find compile errors. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS
      ... >> compile error instead. ... >> worked because the undefined function wasn't called due to gcc dead code ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)