[Olsr-dev] oonf: cmake/cc_flags.cmake typo in gcc flag -Wjump-misses-init
Henning Rogge
(spam-protected)
Thu May 14 14:43:06 CEST 2015
Hi,
thank you a lot finding this bug... fixed with commit
f0f1c89c435916564ff6f27e73676295ceea2732. :)
Henning
On Thu, May 14, 2015 at 1:35 PM, Vigneswaran R <(spam-protected)> wrote:
> Hi,
>
> The gcc flag '-Wjump-misses-init' has been mistyped as '-Wjump-missed-init'.
>
> Vignesh
>
> diff --git a/cmake/cc_flags.cmake b/cmake/cc_flags.cmake
> index 79a5193..db5142b 100644
> --- a/cmake/cc_flags.cmake
> +++ b/cmake/cc_flags.cmake
> @@ -147,7 +147,7 @@ add_compiler_flag(-Winit-self)
> add_compiler_flag(-Wsync-nand)
> add_compiler_flag(-Wundef)
> add_compiler_flag(-Wunused-parameter)
> -add_compiler_flag(-Wjump-missed-init)
> +add_compiler_flag(-Wjump-misses-init)
>
> # check for link time optimization
> # check_c_compiler_flag("-flto" test_lto)
>
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list